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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTThe AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.final BuilderTaucRoc(Function<DataframeEvaluationClassificationMetricsAucRoc.Builder, ObjectBuilder<DataframeEvaluationClassificationMetricsAucRoc>> fn) The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.final BuilderTPrecision of predictions (per-class and average).final BuilderTPrecision of predictions (per-class and average).final BuilderTRecall of predictions (per-class and average).final BuilderTRecall of predictions (per-class and average).protected abstract BuilderTself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
precisionAdds all entries of
maptoprecision. -
precision
Precision of predictions (per-class and average).API name:
precisionAdds an entry to
precision. -
recall
Recall of predictions (per-class and average).API name:
recallAdds all entries of
maptorecall. -
recall
Recall of predictions (per-class and average).API name:
recallAdds an entry to
recall. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>>
-