Class TrainedModelConfigMetadata.Builder
- All Implemented Interfaces:
WithJson<TrainedModelConfigMetadata.Builder>,ObjectBuilder<TrainedModelConfigMetadata>
- Enclosing class:
- TrainedModelConfigMetadata
TrainedModelConfigMetadata.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTrainedModelConfigMetadata.featureImportanceBaseline(String key, String value) An object that contains the baseline for feature importance values.An object that contains the baseline for feature importance values.hyperparameters(Hyperparameter value, Hyperparameter... values) List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.hyperparameters(List<Hyperparameter> list) List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.modelAliases(String value, String... values) API name:model_aliasesmodelAliases(List<String> list) API name:model_aliasesprotected TrainedModelConfigMetadata.Builderself()totalFeatureImportance(TotalFeatureImportance value, TotalFeatureImportance... values) An array of the total feature importance for each feature used from the training data set.totalFeatureImportance(Function<TotalFeatureImportance.Builder, ObjectBuilder<TotalFeatureImportance>> fn) An array of the total feature importance for each feature used from the training data set.An array of the total feature importance for each feature used from the training data set.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelAliases
API name:model_aliasesAdds all elements of
listtomodelAliases. -
modelAliases
API name:model_aliasesAdds one or more values to
modelAliases. -
featureImportanceBaseline
An object that contains the baseline for feature importance values. For regression analysis, it is a single value. For classification analysis, there is a value for each class.API name:
feature_importance_baselineAdds all entries of
maptofeatureImportanceBaseline. -
featureImportanceBaseline
An object that contains the baseline for feature importance values. For regression analysis, it is a single value. For classification analysis, there is a value for each class.API name:
feature_importance_baselineAdds an entry to
featureImportanceBaseline. -
hyperparameters
List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.API name:
hyperparametersAdds all elements of
listtohyperparameters. -
hyperparameters
public final TrainedModelConfigMetadata.Builder hyperparameters(Hyperparameter value, Hyperparameter... values) List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.API name:
hyperparametersAdds one or more values to
hyperparameters. -
hyperparameters
public final TrainedModelConfigMetadata.Builder hyperparameters(Function<Hyperparameter.Builder, ObjectBuilder<Hyperparameter>> fn) List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.API name:
hyperparametersAdds a value to
hyperparametersusing a builder lambda. -
totalFeatureImportance
public final TrainedModelConfigMetadata.Builder totalFeatureImportance(List<TotalFeatureImportance> list) An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.API name:
total_feature_importanceAdds all elements of
listtototalFeatureImportance. -
totalFeatureImportance
public final TrainedModelConfigMetadata.Builder totalFeatureImportance(TotalFeatureImportance value, TotalFeatureImportance... values) An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.API name:
total_feature_importanceAdds one or more values to
totalFeatureImportance. -
totalFeatureImportance
public final TrainedModelConfigMetadata.Builder totalFeatureImportance(Function<TotalFeatureImportance.Builder, ObjectBuilder<TotalFeatureImportance>> fn) An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.API name:
total_feature_importanceAdds a value to
totalFeatureImportanceusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TrainedModelConfigMetadata.Builder>
-
build
Builds aTrainedModelConfigMetadata.- Specified by:
buildin interfaceObjectBuilder<TrainedModelConfigMetadata>- Throws:
NullPointerException- if some of the required fields are null.
-