Package cc.mallet.optimize
Class InvalidOptimizableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- cc.mallet.optimize.OptimizationException
-
- cc.mallet.optimize.InvalidOptimizableException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidOptimizableException extends OptimizationException
Exception thrown by optimization algorithms, when the problem is usually due to a problem with the given Maximizable instance.If the optimizer throws this in your code, usually there are two possible causes: (a) you are computing the gradients approximately, (b) your value function and gradient do not match (this can be checking using
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidOptimizableException()
InvalidOptimizableException(java.lang.String message)
InvalidOptimizableException(java.lang.String message, java.lang.Throwable cause)
InvalidOptimizableException(java.lang.Throwable cause)
-
-
-
Constructor Detail
-
InvalidOptimizableException
public InvalidOptimizableException()
-
InvalidOptimizableException
public InvalidOptimizableException(java.lang.String message)
-
InvalidOptimizableException
public InvalidOptimizableException(java.lang.String message, java.lang.Throwable cause)
-
InvalidOptimizableException
public InvalidOptimizableException(java.lang.Throwable cause)
-
-