Class DataframeEvaluationOutlierDetection
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationOutlierDetection
- All Implemented Interfaces:
DataframeEvaluationVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class DataframeEvaluationOutlierDetection extends java.lang.Object implements DataframeEvaluationVariant, JsonpSerializable
-
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
-
Constructor Summary
Constructors Constructor Description DataframeEvaluationOutlierDetection(DataframeEvaluationOutlierDetection.Builder builder)
DataframeEvaluationOutlierDetection(java.util.function.Function<DataframeEvaluationOutlierDetection.Builder,DataframeEvaluationOutlierDetection.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
DataframeEvaluation
variant typejava.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.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(DelegatingDeserializer<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
-
-
Constructor Details
-
DataframeEvaluationOutlierDetection
-
DataframeEvaluationOutlierDetection
public DataframeEvaluationOutlierDetection(java.util.function.Function<DataframeEvaluationOutlierDetection.Builder,DataframeEvaluationOutlierDetection.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()DataframeEvaluation
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
actualField
public 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 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(DelegatingDeserializer<DataframeEvaluationOutlierDetection.Builder> op)
-