Class DataframeEvaluationMetrics.AbstractBuilder<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationMetrics.AbstractBuilder<BuilderT>
- Direct Known Subclasses:
DataframeEvaluationClassificationMetrics.Builder,DataframeEvaluationOutlierDetectionMetrics.Builder
- Enclosing class:
- DataframeEvaluationMetrics
protected abstract static class DataframeEvaluationMetrics.AbstractBuilder<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuilder() -
Method Summary
Modifier and Type Method Description BuilderTaucRoc(DataframeEvaluationClassificationMetricsAucRoc value)The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.BuilderTaucRoc(java.util.function.Function<DataframeEvaluationClassificationMetricsAucRoc.Builder,ObjectBuilder<DataframeEvaluationClassificationMetricsAucRoc>> fn)The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.BuilderTprecision(java.util.Map<java.lang.String,JsonData> value)Precision of predictions (per-class and average).BuilderTputPrecision(java.lang.String key, JsonData value)Add a key/value toprecision(Map), creating the map if needed.BuilderTputRecall(java.lang.String key, JsonData value)Add a key/value torecall(Map), creating the map if needed.BuilderTrecall(java.util.Map<java.lang.String,JsonData> value)Recall of predictions (per-class and average).protected abstract BuilderTself()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
aucRoc
The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve. It is calculated for a specific class (provided as "class_name") treated as positive.API name:
auc_roc -
aucRoc
public BuilderT aucRoc(java.util.function.Function<DataframeEvaluationClassificationMetricsAucRoc.Builder,ObjectBuilder<DataframeEvaluationClassificationMetricsAucRoc>> fn)The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve. It is calculated for a specific class (provided as "class_name") treated as positive.API name:
auc_roc -
precision
Precision of predictions (per-class and average).API name:
precision -
putPrecision
Add a key/value toprecision(Map), creating the map if needed. -
recall
Recall of predictions (per-class and average).API name:
recall -
putRecall
Add a key/value torecall(Map), creating the map if needed. -
self
-