Class DataframeRegressionSummary.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeRegressionSummary.Builder>
co.elastic.clients.elasticsearch.ml.evaluate_data_frame.DataframeRegressionSummary.Builder
- All Implemented Interfaces:
- WithJson<DataframeRegressionSummary.Builder>,- ObjectBuilder<DataframeRegressionSummary>
- Enclosing class:
- DataframeRegressionSummary
public static class DataframeRegressionSummary.Builder
extends WithJsonObjectBuilderBase<DataframeRegressionSummary.Builder>
implements ObjectBuilder<DataframeRegressionSummary>
Builder for 
DataframeRegressionSummary.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aDataframeRegressionSummary.huber(DataframeEvaluationValue value) Pseudo Huber loss function.Pseudo Huber loss function.mse(DataframeEvaluationValue value) 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.msle(DataframeEvaluationValue value) Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.rSquared(DataframeEvaluationValue 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.protected DataframeRegressionSummary.Builderself()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- 
huberPseudo Huber loss function.API name: huber
- 
huberpublic final DataframeRegressionSummary.Builder huber(Function<DataframeEvaluationValue.Builder, ObjectBuilder<DataframeEvaluationValue>> fn) Pseudo Huber loss function.API name: huber
- 
mseAverage squared difference between the predicted values and the actual (ground truth) value.API name: mse
- 
msepublic final DataframeRegressionSummary.Builder mse(Function<DataframeEvaluationValue.Builder, ObjectBuilder<DataframeEvaluationValue>> fn) Average squared difference between the predicted values and the actual (ground truth) value.API name: mse
- 
msleAverage squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.API name: msle
- 
mslepublic final DataframeRegressionSummary.Builder msle(Function<DataframeEvaluationValue.Builder, ObjectBuilder<DataframeEvaluationValue>> fn) Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.API name: msle
- 
rSquaredProportion of the variance in the dependent variable that is predictable from the independent variables.API name: r_squared
- 
rSquaredpublic final DataframeRegressionSummary.Builder rSquared(Function<DataframeEvaluationValue.Builder, ObjectBuilder<DataframeEvaluationValue>> fn) Proportion of the variance in the dependent variable that is predictable from the independent variables.API name: r_squared
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<DataframeRegressionSummary.Builder>
 
- 
buildBuilds aDataframeRegressionSummary.- Specified by:
- buildin interface- ObjectBuilder<DataframeRegressionSummary>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-