public class TrainingParameter extends Object
| Constructor and Description |
|---|
TrainingParameter(String name,
double defaultValue,
double upperBound,
double lowerBound)
Creates a new training parameter with the given values and actual value
as default value.
|
TrainingParameter(String name,
double value,
double defaultValue,
double lowerBound,
double upperBound)
Creates a new training parameter with the given values.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDefaultValue()
Returns the default value of this parameter.
|
double |
getLowerBound()
Returns the lower bound of this parameter.
|
String |
getName()
Returns the name of this parameter.
|
double |
getUpperBound()
Returns the upper bound of this parameter.
|
double |
getValue()
Returns the actual value of this parameter.
|
TrainingParameter |
instantiate(double value)
Instantiates a new parameter with the given value.
|
TrainingParameter |
instantiateWithDefaultValue()
Instantiates a new parameter with the default value.
|
String |
toString() |
public TrainingParameter(String name, double defaultValue, double upperBound, double lowerBound)
name - The identifier of the parameter.defaultValue - The default value of the parameter.upperBound - The upper bound of the parameter.lowerBound - The lower bound of the parameter.public TrainingParameter(String name, double value, double defaultValue, double lowerBound, double upperBound)
name - The identifier of the parameter.value - The actual value of the parameter.defaultValue - The default value of the parameter.lowerBound - The lower bound of the parameter.upperBound - The upper bound of the parameter.public TrainingParameter instantiate(double value)
value - some valuepublic TrainingParameter instantiateWithDefaultValue()
public String getName()
public double getValue()
public double getDefaultValue()
public double getLowerBound()
public double getUpperBound()
Copyright © 2018. All rights reserved.