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 classDataframeEvaluationOutlierDetection.BuilderBuilder forDataframeEvaluationOutlierDetection. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeEvaluationOutlierDetection>_DESERIALIZERJson 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()DataframeEvaluationvariant typejava.lang.StringactualField()Required - The field of the index which contains the ground truth.DataframeEvaluationOutlierDetectionMetricsmetrics()Specifies the metrics that are used for the evaluation.java.lang.StringpredictedProbabilityField()Required - The field of the index that defines the probability of whether the item belongs to the class in question or not.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDataframeEvaluationOutlierDetectionDeserializer(DelegatingDeserializer<DataframeEvaluationOutlierDetection.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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()DataframeEvaluationvariant type- Specified by:
_variantTypein 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDataframeEvaluationOutlierDetectionDeserializer
protected static void setupDataframeEvaluationOutlierDetectionDeserializer(DelegatingDeserializer<DataframeEvaluationOutlierDetection.Builder> op)
-