Class DataframeEvaluationClassificationMetricsAucRoc.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationClassificationMetricsAucRoc.Builder
- All Implemented Interfaces:
ObjectBuilder<DataframeEvaluationClassificationMetricsAucRoc>
- Enclosing class:
- DataframeEvaluationClassificationMetricsAucRoc
public static class DataframeEvaluationClassificationMetricsAucRoc.Builder extends java.lang.Object implements ObjectBuilder<DataframeEvaluationClassificationMetricsAucRoc>
Builder for
DataframeEvaluationClassificationMetricsAucRoc
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DataframeEvaluationClassificationMetricsAucRoc
build()
DataframeEvaluationClassificationMetricsAucRoc.Builder
className(java.lang.String value)
Name of the only class that is treated as positive during AUC ROC calculation.DataframeEvaluationClassificationMetricsAucRoc.Builder
includeCurve(java.lang.Boolean value)
Whether or not the curve should be returned in addition to the score.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
className
public DataframeEvaluationClassificationMetricsAucRoc.Builder className(@Nullable java.lang.String value)Name of the only class that is treated as positive during AUC ROC calculation. Other classes are treated as negative ("one-vs-all" strategy). All the evaluated documents must have class_name in the list of their top classes.API name:
class_name
-
includeCurve
public DataframeEvaluationClassificationMetricsAucRoc.Builder includeCurve(@Nullable java.lang.Boolean value)Whether or not the curve should be returned in addition to the score. Default value is false.API name:
include_curve
-
build
- Specified by:
build
in interfaceObjectBuilder<DataframeEvaluationClassificationMetricsAucRoc>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-