
cc.mallet.optimize.InvalidOptimizableException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mallet Show documentation
Show all versions of mallet Show documentation
MALLET is a Java-based package for statistical natural language processing,
document classification, clustering, topic modeling, information extraction,
and other machine learning applications to text.
/* Copyright (C) 2006 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://mallet.cs.umass.edu/
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensource.org. For further
information, see the file `LICENSE' included with this distribution. */
package cc.mallet.optimize;
/**
* 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
* @link{edu.umass.cs.mallet.base.maximize.tests.TestMaximizable}.
*
* Created: Feb 1, 2006
*
* @author © 2015 - 2025 Weber Informatics LLC | Privacy Policy