public abstract class DoubleParameter extends Parameter
Parameter.ParameterHolder, Parameter.WarmParameter
Constructor and Description |
---|
DoubleParameter() |
Modifier and Type | Method and Description |
---|---|
Distribution |
getGuess(DataSet data)
This method allows one to obtain a distribution that represents a
reasonable "guess" at the range of values that would work for this
parameter.
|
abstract double |
getValue()
Returns the current value for the parameter.
|
String |
getValueString()
Returns a string indicating the value currently held by the Parameter
|
abstract boolean |
setValue(double val)
Sets the value for this parameter.
|
equals, getASCIIName, getName, getParamsFromMethods, hashCode, isWarmParameter, preferredLowToHigh, requiresRetrain, toParameterMap, toString
public abstract double getValue()
public abstract boolean setValue(double val)
public Distribution getGuess(DataSet data)
ClassificationDataSet
or RegressionDataSet
, the method may choose to assume that the
value is being guessed for the specified task and change its behaviornull
if
guessing is not supported.data
- the data with which we want a reasonable guess for this
parameterpublic String getValueString()
Parameter
getValueString
in class Parameter
Copyright © 2017. All rights reserved.