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 protected
AbstractBuilder()
-
Method Summary
Modifier and Type Method Description BuilderT
aucRoc(DataframeEvaluationClassificationMetricsAucRoc value)
The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.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.BuilderT
precision(java.util.Map<java.lang.String,JsonData> value)
Precision of predictions (per-class and average).BuilderT
putPrecision(java.lang.String key, JsonData value)
Add a key/value toprecision(Map)
, creating the map if needed.BuilderT
putRecall(java.lang.String key, JsonData value)
Add a key/value torecall(Map)
, creating the map if needed.BuilderT
recall(java.util.Map<java.lang.String,JsonData> value)
Recall of predictions (per-class and average).protected abstract BuilderT
self()
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
-