Class TrainedModelConfigMetadata.Builder
- All Implemented Interfaces:
- WithJson<TrainedModelConfigMetadata.Builder>,- ObjectBuilder<TrainedModelConfigMetadata>
- Enclosing class:
- TrainedModelConfigMetadata
TrainedModelConfigMetadata.- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
modelAliasesAPI name:model_aliasesAdds all elements of listtomodelAliases.
- 
modelAliasesAPI name:model_aliasesAdds one or more values to modelAliases.
- 
featureImportanceBaselineAn 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.
- 
featureImportanceBaselineAn 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.
- 
hyperparametersList 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.
- 
hyperparameterspublic 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.
- 
hyperparameterspublic 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.
- 
totalFeatureImportancepublic 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.
- 
totalFeatureImportancepublic 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.
- 
totalFeatureImportancepublic 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 class- WithJsonObjectBuilderBase<TrainedModelConfigMetadata.Builder>
 
- 
buildBuilds aTrainedModelConfigMetadata.- Specified by:
- buildin interface- ObjectBuilder<TrainedModelConfigMetadata>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-