Class DataframeEvaluationMetrics
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationMetrics
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
DataframeEvaluationClassificationMetrics
,DataframeEvaluationOutlierDetectionMetrics
public abstract class DataframeEvaluationMetrics extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
DataframeEvaluationMetrics.AbstractBuilder<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataframeEvaluationMetrics(DataframeEvaluationMetrics.AbstractBuilder<?> builder)
-
Method Summary
Modifier and Type Method Description DataframeEvaluationClassificationMetricsAucRoc
aucRoc()
The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.java.util.Map<java.lang.String,JsonData>
precision()
Precision of predictions (per-class and average).java.util.Map<java.lang.String,JsonData>
recall()
Recall of predictions (per-class and average).void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static <BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
voidsetupDataframeEvaluationMetricsDeserializer(ObjectDeserializer<BuilderT> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupDataframeEvaluationMetricsDeserializer
protected static <BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>> void setupDataframeEvaluationMetricsDeserializer(ObjectDeserializer<BuilderT> op)
-