Class DataframeAnalysisClassification
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalysisBase
co.elastic.clients.elasticsearch.ml.DataframeAnalysisClassification
- All Implemented Interfaces:
DataframeAnalysisVariant,JsonpSerializable
@JsonpDeserializable
public class DataframeAnalysisClassification
extends DataframeAnalysisBase
implements DataframeAnalysisVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ml.DataframeAnalysisBase
DataframeAnalysisBase.AbstractBuilder<BuilderT extends DataframeAnalysisBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataframeAnalysisClassification>Json deserializer forDataframeAnalysisClassification -
Method Summary
Modifier and TypeMethodDescriptionDataframeAnalysis variant kind.final StringAPI name:class_assignment_objectivefinal IntegerDefines the number of categories for which the predicted probabilities are reported.of(Function<DataframeAnalysisClassification.Builder, ObjectBuilder<DataframeAnalysisClassification>> fn) protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupDataframeAnalysisClassificationDeserializer(ObjectDeserializer<DataframeAnalysisClassification.Builder> op) Methods inherited from class co.elastic.clients.elasticsearch.ml.DataframeAnalysisBase
alpha, dependentVariable, downsampleFactor, earlyStoppingEnabled, eta, etaGrowthRatePerTree, featureBagFraction, featureProcessors, gamma, lambda, maxOptimizationRoundsPerHyperparameter, maxTrees, numTopFeatureImportanceValues, predictionFieldName, randomizeSeed, serialize, setupDataframeAnalysisBaseDeserializer, softTreeDepthLimit, softTreeDepthTolerance, toString, trainingPercentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ml.DataframeAnalysisVariant
_toDataframeAnalysis
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeAnalysisClassification
-
-
Method Details
-
of
-
_dataframeAnalysisKind
DataframeAnalysis variant kind.- Specified by:
_dataframeAnalysisKindin interfaceDataframeAnalysisVariant
-
classAssignmentObjective
API name:class_assignment_objective -
numTopClasses
Defines 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 -
serializeInternal
- Overrides:
serializeInternalin classDataframeAnalysisBase
-
setupDataframeAnalysisClassificationDeserializer
protected static void setupDataframeAnalysisClassificationDeserializer(ObjectDeserializer<DataframeAnalysisClassification.Builder> op)
-