Package ai.extend.types
Class EvaluationSetRunFieldMetric.Builder
- java.lang.Object
-
- ai.extend.types.EvaluationSetRunFieldMetric.Builder
-
- Enclosing class:
- EvaluationSetRunFieldMetric
public static final class EvaluationSetRunFieldMetric.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationSetRunFieldMetric.Builderaccuracy(java.lang.Double accuracy)EvaluationSetRunFieldMetric.Builderaccuracy(java.util.Optional<java.lang.Double> accuracy)Accuracy for this field, computed ascountAccurate / countExpected.EvaluationSetRunFieldMetricbuild()EvaluationSetRunFieldMetric.BuildercountAccurate(java.lang.Double countAccurate)EvaluationSetRunFieldMetric.BuildercountAccurate(java.util.Optional<java.lang.Double> countAccurate)The number of runs where the extracted value matched the expected value.EvaluationSetRunFieldMetric.BuildercountExpected(java.lang.Double countExpected)EvaluationSetRunFieldMetric.BuildercountExpected(java.util.Optional<java.lang.Double> countExpected)The number of runs where an expected value was provided.EvaluationSetRunFieldMetric.BuildercountPresent(java.lang.Double countPresent)EvaluationSetRunFieldMetric.BuildercountPresent(java.util.Optional<java.lang.Double> countPresent)The number of runs where the model produced a non-null value for this field.EvaluationSetRunFieldMetric.BuildercountTotal(java.lang.Double countTotal)EvaluationSetRunFieldMetric.BuildercountTotal(java.util.Optional<java.lang.Double> countTotal)The number of runs that included this field in the schema.EvaluationSetRunFieldMetric.Builderfrom(EvaluationSetRunFieldMetric other)
-
-
-
Method Detail
-
from
public EvaluationSetRunFieldMetric.Builder from(EvaluationSetRunFieldMetric other)
-
countTotal
public EvaluationSetRunFieldMetric.Builder countTotal(java.util.Optional<java.lang.Double> countTotal)
The number of runs that included this field in the schema.
-
countTotal
public EvaluationSetRunFieldMetric.Builder countTotal(java.lang.Double countTotal)
-
countPresent
public EvaluationSetRunFieldMetric.Builder countPresent(java.util.Optional<java.lang.Double> countPresent)
The number of runs where the model produced a non-null value for this field.
-
countPresent
public EvaluationSetRunFieldMetric.Builder countPresent(java.lang.Double countPresent)
-
countExpected
public EvaluationSetRunFieldMetric.Builder countExpected(java.util.Optional<java.lang.Double> countExpected)
The number of runs where an expected value was provided.
-
countExpected
public EvaluationSetRunFieldMetric.Builder countExpected(java.lang.Double countExpected)
-
countAccurate
public EvaluationSetRunFieldMetric.Builder countAccurate(java.util.Optional<java.lang.Double> countAccurate)
The number of runs where the extracted value matched the expected value.
-
countAccurate
public EvaluationSetRunFieldMetric.Builder countAccurate(java.lang.Double countAccurate)
-
accuracy
public EvaluationSetRunFieldMetric.Builder accuracy(java.util.Optional<java.lang.Double> accuracy)
Accuracy for this field, computed as
countAccurate / countExpected. Omitted whencountExpectedis0.
-
accuracy
public EvaluationSetRunFieldMetric.Builder accuracy(java.lang.Double accuracy)
-
build
public EvaluationSetRunFieldMetric build()
-
-