public class ParamGrid extends Object
Constructor and Description |
---|
ParamGrid() |
Modifier and Type | Method and Description |
---|---|
ParamGrid |
addHyperParam(String paramName,
DoubleConsumer setter,
Double[] params)
Adds a grid for the specific hyper parameter.
|
HyperParameterTuningStrategy |
getHyperParameterTuningStrategy()
Returns the Hyper-parameter tuning strategy.
|
String |
getParamNameByIndex(int idx)
Returns the name of hyper-parameter by the given index.
|
List<Double[]> |
getParamRawData()
Prepare data for hyper-parameter tuning.
|
Map<Integer,Double[]> |
getParamValuesByParamIdx() |
DoubleConsumer |
getSetterByIndex(int idx)
Returns setter for parameter with the given index.
|
ParamGrid |
withParameterSearchStrategy(HyperParameterTuningStrategy paramSearchStgy)
Set up the hyperparameter searching strategy.
|
public ParamGrid addHyperParam(String paramName, DoubleConsumer setter, Double[] params)
paramName
- The parameter name.setter
- The method reference to trainer or preprocessor trainer setter.params
- The array of the given hyper parameter values.public ParamGrid withParameterSearchStrategy(HyperParameterTuningStrategy paramSearchStgy)
paramSearchStgy
- Parameter search strategy.public HyperParameterTuningStrategy getHyperParameterTuningStrategy()
public DoubleConsumer getSetterByIndex(int idx)
public String getParamNameByIndex(int idx)
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024