Class ConfusionMatrixThreshold
java.lang.Object
co.elastic.clients.elasticsearch.ml.evaluate_data_frame.ConfusionMatrixThreshold
- All Implemented Interfaces:
- JsonpSerializable
@JsonpDeserializable
public class ConfusionMatrixThreshold
extends Object
implements JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ConfusionMatrixThreshold>Json deserializer forConfusionMatrixThreshold
- 
Method SummaryModifier and TypeMethodDescriptionfinal intRequired - False Negativefinal intRequired - False Positivestatic ConfusionMatrixThresholdvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final intRequired - True Negativefinal intRequired - True Positive
- 
Field Details- 
_DESERIALIZERJson deserializer forConfusionMatrixThreshold
 
- 
- 
Method Details- 
ofpublic static ConfusionMatrixThreshold of(Function<ConfusionMatrixThreshold.Builder, ObjectBuilder<ConfusionMatrixThreshold>> fn) 
- 
truePositivepublic final int truePositive()Required - True PositiveAPI name: tp
- 
falsePositivepublic final int falsePositive()Required - False PositiveAPI name: fp
- 
trueNegativepublic final int trueNegative()Required - True NegativeAPI name: tn
- 
falseNegativepublic final int falseNegative()Required - False NegativeAPI name: fn
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupConfusionMatrixThresholdDeserializerprotected static void setupConfusionMatrixThresholdDeserializer(ObjectDeserializer<ConfusionMatrixThreshold.Builder> op) 
 
-