Package ai.extend.types
Class EvaluationSetRunFieldMetric
- java.lang.Object
-
- ai.extend.types.EvaluationSetRunFieldMetric
-
public final class EvaluationSetRunFieldMetric extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvaluationSetRunFieldMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluationSetRunFieldMetric.Builderbuilder()booleanequals(java.lang.Object other)java.util.Optional<java.lang.Double>getAccuracy()java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Double>getCountAccurate()java.util.Optional<java.lang.Double>getCountExpected()java.util.Optional<java.lang.Double>getCountPresent()java.util.Optional<java.lang.Double>getCountTotal()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getCountTotal
public java.util.Optional<java.lang.Double> getCountTotal()
- Returns:
- The number of runs that included this field in the schema.
-
getCountPresent
public java.util.Optional<java.lang.Double> getCountPresent()
- Returns:
- The number of runs where the model produced a non-null value for this field.
-
getCountExpected
public java.util.Optional<java.lang.Double> getCountExpected()
- Returns:
- The number of runs where an expected value was provided.
-
getCountAccurate
public java.util.Optional<java.lang.Double> getCountAccurate()
- Returns:
- The number of runs where the extracted value matched the expected value.
-
getAccuracy
public java.util.Optional<java.lang.Double> getAccuracy()
- Returns:
- Accuracy for this field, computed as
countAccurate / countExpected. Omitted whencountExpectedis0.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static EvaluationSetRunFieldMetric.Builder builder()
-
-