Class DataframeEvaluationMetrics.AbstractBuilder<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ml.DataframeEvaluationMetrics.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
DataframeEvaluationClassificationMetrics.Builder
,DataframeEvaluationOutlierDetectionMetrics.Builder
- Enclosing class:
- DataframeEvaluationMetrics
public abstract static class DataframeEvaluationMetrics.AbstractBuilder<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderT
The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.final BuilderT
aucRoc
(Function<DataframeEvaluationClassificationMetricsAucRoc.Builder, ObjectBuilder<DataframeEvaluationClassificationMetricsAucRoc>> fn) The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.final BuilderT
Precision of predictions (per-class and average).final BuilderT
Precision of predictions (per-class and average).final BuilderT
Recall of predictions (per-class and average).final BuilderT
Recall of predictions (per-class and average).protected abstract BuilderT
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public 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 final BuilderT aucRoc(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
Adds all entries of
map
toprecision
. -
precision
Precision of predictions (per-class and average).API name:
precision
Adds an entry to
precision
. -
recall
Recall of predictions (per-class and average).API name:
recall
Adds all entries of
map
torecall
. -
recall
Recall of predictions (per-class and average).API name:
recall
Adds an entry to
recall
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
-