Class DataframeEvaluationOutlierDetection.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeEvaluationOutlierDetection.Builder>
co.elastic.clients.elasticsearch.ml.DataframeEvaluationOutlierDetection.Builder
- All Implemented Interfaces:
- WithJson<DataframeEvaluationOutlierDetection.Builder>,- ObjectBuilder<DataframeEvaluationOutlierDetection>
- Enclosing class:
- DataframeEvaluationOutlierDetection
public static class DataframeEvaluationOutlierDetection.Builder
extends WithJsonObjectBuilderBase<DataframeEvaluationOutlierDetection.Builder>
implements ObjectBuilder<DataframeEvaluationOutlierDetection>
Builder for 
DataframeEvaluationOutlierDetection.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionactualField(String value) Required - The field of the index which contains the ground truth.build()Builds aDataframeEvaluationOutlierDetection.Specifies the metrics that are used for the evaluation.metrics(Function<DataframeEvaluationOutlierDetectionMetrics.Builder, ObjectBuilder<DataframeEvaluationOutlierDetectionMetrics>> fn) Specifies the metrics that are used for the evaluation.predictedProbabilityField(String value) Required - The field of the index that defines the probability of whether the item belongs to the class in question or not.self()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
actualFieldRequired - The field of the index which contains the ground truth. The data type of this field can be boolean or integer. If the data type is integer, the value has to be either 0 (false) or 1 (true).API name: actual_field
- 
predictedProbabilityFieldRequired - The field of the index that defines the probability of whether the item belongs to the class in question or not. It’s the field that contains the results of the analysis.API name: predicted_probability_field
- 
metricspublic final DataframeEvaluationOutlierDetection.Builder metrics(@Nullable DataframeEvaluationOutlierDetectionMetrics value) Specifies the metrics that are used for the evaluation.API name: metrics
- 
metricspublic final DataframeEvaluationOutlierDetection.Builder metrics(Function<DataframeEvaluationOutlierDetectionMetrics.Builder, ObjectBuilder<DataframeEvaluationOutlierDetectionMetrics>> fn) Specifies the metrics that are used for the evaluation.API name: metrics
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<DataframeEvaluationOutlierDetection.Builder>
 
- 
buildBuilds aDataframeEvaluationOutlierDetection.- Specified by:
- buildin interface- ObjectBuilder<DataframeEvaluationOutlierDetection>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-