MP
- type of model parameters objectpublic static class GridSearch.SimpleParametersBuilderFactory.SimpleParamsBuilder<MP extends Model.Parameters> extends java.lang.Object implements ModelParametersBuilderFactory.ModelParametersBuilder<MP>
GBMModel.GBMParameters params =
new SimpleParamsBuilder(initialParams)
.set("_ntrees", 30).set("_learn_rate", 0.01).build()
Constructor and Description |
---|
GridSearch.SimpleParametersBuilderFactory.SimpleParamsBuilder(MP initialParams) |
Modifier and Type | Method and Description |
---|---|
MP |
build() |
ModelParametersBuilderFactory.ModelParametersBuilder<MP> |
set(java.lang.String name,
java.lang.Object value) |
public GridSearch.SimpleParametersBuilderFactory.SimpleParamsBuilder(MP initialParams)
public ModelParametersBuilderFactory.ModelParametersBuilder<MP> set(java.lang.String name, java.lang.Object value)
set
in interface ModelParametersBuilderFactory.ModelParametersBuilder<MP extends Model.Parameters>
public MP build()
build
in interface ModelParametersBuilderFactory.ModelParametersBuilder<MP extends Model.Parameters>