Class DataframeClassificationSummary
java.lang.Object
co.elastic.clients.elasticsearch.ml.evaluate_data_frame.DataframeClassificationSummary
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class DataframeClassificationSummary
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataframeClassificationSummary>
Json deserializer forDataframeClassificationSummary
-
Method Summary
Modifier and TypeMethodDescriptionaccuracy()
Accuracy of predictions (per-class and overall).aucRoc()
The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.Multiclass confusion matrix.of
(Function<DataframeClassificationSummary.Builder, ObjectBuilder<DataframeClassificationSummary>> fn) Precision of predictions (per-class and average).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 void
setupDataframeClassificationSummaryDeserializer
(ObjectDeserializer<DataframeClassificationSummary.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeClassificationSummary
-
-
Method Details
-
of
-
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
-
accuracy
Accuracy of predictions (per-class and overall).API name:
accuracy
-
multiclassConfusionMatrix
@Nullable public final DataframeClassificationSummaryMulticlassConfusionMatrix multiclassConfusionMatrix()Multiclass confusion matrix.API name:
multiclass_confusion_matrix
-
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
-
setupDataframeClassificationSummaryDeserializer
protected static void setupDataframeClassificationSummaryDeserializer(ObjectDeserializer<DataframeClassificationSummary.Builder> op)
-