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
protected abstract static class DataframeEvaluationMetrics.AbstractBuilder<BuilderT extends DataframeEvaluationMetrics.AbstractBuilder<BuilderT>> extends WithJsonObjectBuilderBase<BuilderT>
-
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.lang.String key, JsonData value)Precision of predictions (per-class and average).BuilderTprecision(java.util.Map<java.lang.String,JsonData> map)Precision of predictions (per-class and average).BuilderTrecall(java.lang.String key, JsonData value)Recall of predictions (per-class and average).BuilderTrecall(java.util.Map<java.lang.String,JsonData> map)Recall 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, _mapPutAllMethods 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 final 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:
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>>
-