Class DataframeClassificationSummaryRecall.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.evaluate_data_frame.DataframeClassificationSummaryRecall.Builder
- All Implemented Interfaces:
ObjectBuilder<DataframeClassificationSummaryRecall>
- Enclosing class:
- DataframeClassificationSummaryRecall
public static class DataframeClassificationSummaryRecall.Builder extends java.lang.Object implements ObjectBuilder<DataframeClassificationSummaryRecall>
Builder for
DataframeClassificationSummaryRecall
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
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
-
classes
public DataframeClassificationSummaryRecall.Builder classes(java.util.List<DataframeEvaluationClass> value)API name:classes
-
classes
API name:classes
-
addClasses
Add a value toclasses(List)
, creating the list if needed. 4 -
classes
public DataframeClassificationSummaryRecall.Builder classes(java.util.function.Function<DataframeEvaluationClass.Builder,ObjectBuilder<DataframeEvaluationClass>> fn)Setclasses(List)
to a singleton list. -
addClasses
public DataframeClassificationSummaryRecall.Builder addClasses(java.util.function.Function<DataframeEvaluationClass.Builder,ObjectBuilder<DataframeEvaluationClass>> fn)Add a value toclasses(List)
, creating the list if needed. 5 -
avgRecall
API name:avg_recall
-
build
Builds aDataframeClassificationSummaryRecall
.- Specified by:
build
in interfaceObjectBuilder<DataframeClassificationSummaryRecall>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-