Class DataframeAnalysisClassification.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ml.DataframeAnalysisBase.AbstractBuilder<DataframeAnalysisClassification.Builder>
co.elastic.clients.elasticsearch.ml.DataframeAnalysisClassification.Builder
- All Implemented Interfaces:
- WithJson<DataframeAnalysisClassification.Builder>,- ObjectBuilder<DataframeAnalysisClassification>
- Enclosing class:
- DataframeAnalysisClassification
public static class DataframeAnalysisClassification.Builder
extends DataframeAnalysisBase.AbstractBuilder<DataframeAnalysisClassification.Builder>
implements ObjectBuilder<DataframeAnalysisClassification>
Builder for 
DataframeAnalysisClassification.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aDataframeAnalysisClassification.classAssignmentObjective(String value) API name:class_assignment_objectivenumTopClasses(Integer value) Defines the number of categories for which the predicted probabilities are reported.protected DataframeAnalysisClassification.Builderself()Methods inherited from class co.elastic.clients.elasticsearch.ml.DataframeAnalysisBase.AbstractBuilderalpha, dependentVariable, downsampleFactor, earlyStoppingEnabled, eta, etaGrowthRatePerTree, featureBagFraction, featureProcessors, featureProcessors, featureProcessors, featureProcessors, gamma, lambda, maxOptimizationRoundsPerHyperparameter, maxTrees, numTopFeatureImportanceValues, predictionFieldName, randomizeSeed, softTreeDepthLimit, softTreeDepthTolerance, trainingPercentMethods 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- 
classAssignmentObjectivepublic final DataframeAnalysisClassification.Builder classAssignmentObjective(@Nullable String value) API name:class_assignment_objective
- 
numTopClassesDefines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method,num_top_classesmust be set to -1 or a value greater than or equal to the total number of categories.API name: num_top_classes
- 
self- Specified by:
- selfin class- DataframeAnalysisBase.AbstractBuilder<DataframeAnalysisClassification.Builder>
 
- 
buildBuilds aDataframeAnalysisClassification.- Specified by:
- buildin interface- ObjectBuilder<DataframeAnalysisClassification>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-