Class DataframeEvaluationMetrics
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationMetrics
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
DataframeEvaluationClassificationMetrics,DataframeEvaluationOutlierDetectionMetrics
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDataframeEvaluationMetrics.AbstractBuilder<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionaucRoc()The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.Precision of predictions (per-class and average).recall()Recall of predictions (per-class and average).voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
voidtoString()
-
Constructor Details
-
DataframeEvaluationMetrics
-
-
Method Details
-
aucRoc
The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve. It is calculated for a specific class (provided as "class_name") treated as positive.API name:
auc_roc -
precision
Precision of predictions (per-class and average).API name:
precision -
recall
Recall of predictions (per-class and average).API name:
recall -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataframeEvaluationMetricsDeserializer
protected static <BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>> void setupDataframeEvaluationMetricsDeserializer(ObjectDeserializer<BuilderT> op)
-