public abstract class IntParameter extends Parameter
Parameter.ParameterHolder, Parameter.WarmParameter
Constructor and Description |
---|
IntParameter() |
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 int |
getValue()
Returns the current value for the parameter.
|
String |
getValueString()
Returns a string indicating the value currently held by the Parameter
|
abstract boolean |
setValue(int val)
Sets the value for this parameter.
|
equals, getASCIIName, getName, getParamsFromMethods, hashCode, isWarmParameter, preferredLowToHigh, requiresRetrain, toParameterMap, toString
public abstract int getValue()
public abstract boolean setValue(int 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.