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 classDataframeEvaluationMetrics.AbstractBuilder<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>> -
Constructor Summary
Constructors Modifier Constructor Description protectedDataframeEvaluationMetrics(DataframeEvaluationMetrics.AbstractBuilder<?> builder) -
Method Summary
Modifier and Type Method Description DataframeEvaluationClassificationMetricsAucRocaucRoc()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).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>>
voidsetupDataframeEvaluationMetricsDeserializer(ObjectDeserializer<BuilderT> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDataframeEvaluationMetricsDeserializer
protected static <BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>> void setupDataframeEvaluationMetricsDeserializer(ObjectDeserializer<BuilderT> op)
-