Class DataframeEvaluationOutlierDetection
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationOutlierDetection
- All Implemented Interfaces:
DataframeEvaluationVariant
,JsonpSerializable
@JsonpDeserializable public class DataframeEvaluationOutlierDetection extends java.lang.Object implements DataframeEvaluationVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataframeEvaluationOutlierDetection.Builder
Builder forDataframeEvaluationOutlierDetection
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeEvaluationOutlierDetection>
_DESERIALIZER
Json deserializer forDataframeEvaluationOutlierDetection
-
Method Summary
Modifier and Type Method Description DataframeEvaluation.Kind
_dataframeEvaluationKind()
DataframeEvaluation variant kind.java.lang.String
actualField()
Required - The field of the index which contains the ground truth.DataframeEvaluationOutlierDetectionMetrics
metrics()
Specifies the metrics that are used for the evaluation.static DataframeEvaluationOutlierDetection
of(java.util.function.Function<DataframeEvaluationOutlierDetection.Builder,ObjectBuilder<DataframeEvaluationOutlierDetection>> fn)
java.lang.String
predictedProbabilityField()
Required - The field of the index that defines the probability of whether the item belongs to the class in question or not.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
setupDataframeEvaluationOutlierDetectionDeserializer(ObjectDeserializer<DataframeEvaluationOutlierDetection.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.ml.DataframeEvaluationVariant
_toDataframeEvaluation
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeEvaluationOutlierDetection
-
-
Method Details
-
of
public static DataframeEvaluationOutlierDetection of(java.util.function.Function<DataframeEvaluationOutlierDetection.Builder,ObjectBuilder<DataframeEvaluationOutlierDetection>> fn) -
_dataframeEvaluationKind
DataframeEvaluation variant kind.- Specified by:
_dataframeEvaluationKind
in interfaceDataframeEvaluationVariant
-
actualField
public final java.lang.String actualField()Required - The field of the index which contains the ground truth. The data type of this field can be boolean or integer. If the data type is integer, the value has to be either 0 (false) or 1 (true).API name:
actual_field
-
predictedProbabilityField
public final java.lang.String predictedProbabilityField()Required - The field of the index that defines the probability of whether the item belongs to the class in question or not. It’s the field that contains the results of the analysis.API name:
predicted_probability_field
-
metrics
Specifies the metrics that are used for the evaluation.API name:
metrics
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupDataframeEvaluationOutlierDetectionDeserializer
protected static void setupDataframeEvaluationOutlierDetectionDeserializer(ObjectDeserializer<DataframeEvaluationOutlierDetection.Builder> op)
-