Class DataframeEvaluationRegressionMetrics.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeEvaluationRegressionMetrics.Builder>
co.elastic.clients.elasticsearch.ml.DataframeEvaluationRegressionMetrics.Builder
- All Implemented Interfaces:
WithJson<DataframeEvaluationRegressionMetrics.Builder>,ObjectBuilder<DataframeEvaluationRegressionMetrics>
- Enclosing class:
- DataframeEvaluationRegressionMetrics
public static class DataframeEvaluationRegressionMetrics.Builder
extends WithJsonObjectBuilderBase<DataframeEvaluationRegressionMetrics.Builder>
implements ObjectBuilder<DataframeEvaluationRegressionMetrics>
Builder for
DataframeEvaluationRegressionMetrics.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDataframeEvaluationRegressionMetrics.Pseudo Huber loss function.huber(Function<DataframeEvaluationRegressionMetricsHuber.Builder, ObjectBuilder<DataframeEvaluationRegressionMetricsHuber>> fn) Pseudo Huber loss function.Average squared difference between the predicted values and the actual (ground truth) value.Average squared difference between the predicted values and the actual (ground truth) value.Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.msle(Function<DataframeEvaluationRegressionMetricsMsle.Builder, ObjectBuilder<DataframeEvaluationRegressionMetricsMsle>> fn) Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.Proportion of the variance in the dependent variable that is predictable from the independent variables.Proportion of the variance in the dependent variable that is predictable from the independent variables.self()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
-
Builder
public Builder()
-
-
Method Details
-
mse
Average squared difference between the predicted values and the actual (ground truth) value. For more information, read this wiki article.API name:
mseAdds all entries of
maptomse. -
mse
Average squared difference between the predicted values and the actual (ground truth) value. For more information, read this wiki article.API name:
mseAdds an entry to
mse. -
msle
public final DataframeEvaluationRegressionMetrics.Builder msle(@Nullable DataframeEvaluationRegressionMetricsMsle value) Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.API name:
msle -
msle
public final DataframeEvaluationRegressionMetrics.Builder msle(Function<DataframeEvaluationRegressionMetricsMsle.Builder, ObjectBuilder<DataframeEvaluationRegressionMetricsMsle>> fn) Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.API name:
msle -
huber
public final DataframeEvaluationRegressionMetrics.Builder huber(@Nullable DataframeEvaluationRegressionMetricsHuber value) Pseudo Huber loss function.API name:
huber -
huber
public final DataframeEvaluationRegressionMetrics.Builder huber(Function<DataframeEvaluationRegressionMetricsHuber.Builder, ObjectBuilder<DataframeEvaluationRegressionMetricsHuber>> fn) Pseudo Huber loss function.API name:
huber -
rSquared
Proportion of the variance in the dependent variable that is predictable from the independent variables.API name:
r_squaredAdds all entries of
maptorSquared. -
rSquared
Proportion of the variance in the dependent variable that is predictable from the independent variables.API name:
r_squaredAdds an entry to
rSquared. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DataframeEvaluationRegressionMetrics.Builder>
-
build
Builds aDataframeEvaluationRegressionMetrics.- Specified by:
buildin interfaceObjectBuilder<DataframeEvaluationRegressionMetrics>- Throws:
NullPointerException- if some of the required fields are null.
-