public class ConvergenceCriterion extends Enum
| Modifier and Type | Field and Description |
|---|---|
static ConvergenceCriterion |
gradient
Gradient norm is less than predefined threshold
|
static ConvergenceCriterion |
gradientRelative
Relative (normalized) gradient norm is less than predefined threshold
|
static ConvergenceCriterion |
likelihood
Likelihood value change is less than predefined threshold
|
static ConvergenceCriterion |
likelihoodRelative
Relative (normalized) likelihood value change is less than predefined threshold
|
static ConvergenceCriterion |
parameterRelative
Parameters vector change is less than predefined threshold
|
| Modifier and Type | Method and Description |
|---|---|
static ConvergenceCriterion |
getInstance(int id)
Returns enumeration element corresponding to the specified identifier.
|
static ConvergenceCriterion |
getInstance(java.lang.String name)
Returns enumeration element corresponding to the specified name.
|
static ConvergenceCriterion[] |
list()
Returns the array of this enumeration elements.
|
static java.lang.String[] |
listNames()
Returns the names of this enumeration elements.
|
public static final ConvergenceCriterion gradient
public static final ConvergenceCriterion gradientRelative
public static final ConvergenceCriterion likelihood
public static final ConvergenceCriterion likelihoodRelative
public static final ConvergenceCriterion parameterRelative
public static java.lang.String[] listNames()
public static ConvergenceCriterion[] list()
public static ConvergenceCriterion getInstance(java.lang.String name)
name - the name of the element.NoSuchElementException - if such element does not exist.public static ConvergenceCriterion getInstance(int id)
id - the identifier of the element.NoSuchElementException - if such element does not exist.