Class DataframeEvaluationRegressionMetrics
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationRegressionMetrics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class DataframeEvaluationRegressionMetrics extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataframeEvaluationRegressionMetrics.BuilderBuilder forDataframeEvaluationRegressionMetrics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeEvaluationRegressionMetrics>_DESERIALIZERJson deserializer forDataframeEvaluationRegressionMetrics -
Constructor Summary
Constructors Constructor Description DataframeEvaluationRegressionMetrics(DataframeEvaluationRegressionMetrics.Builder builder)DataframeEvaluationRegressionMetrics(java.util.function.Function<DataframeEvaluationRegressionMetrics.Builder,DataframeEvaluationRegressionMetrics.Builder> fn) -
Method Summary
Modifier and Type Method Description DataframeEvaluationRegressionMetricsHuberhuber()Pseudo Huber loss function.java.util.Map<java.lang.String,JsonData>mse()Average squared difference between the predicted values and the actual (ground truth) value.DataframeEvaluationRegressionMetricsMslemsle()Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.java.util.Map<java.lang.String,JsonData>rSquared()Proportion of the variance in the dependent variable that is predictable from the independent variables.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDataframeEvaluationRegressionMetricsDeserializer(DelegatingDeserializer<DataframeEvaluationRegressionMetrics.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeEvaluationRegressionMetrics
-
-
Constructor Details
-
DataframeEvaluationRegressionMetrics
-
DataframeEvaluationRegressionMetrics
public DataframeEvaluationRegressionMetrics(java.util.function.Function<DataframeEvaluationRegressionMetrics.Builder,DataframeEvaluationRegressionMetrics.Builder> fn)
-
-
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:
mse -
msle
Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.API name:
msle -
huber
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_squared -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDataframeEvaluationRegressionMetricsDeserializer
protected static void setupDataframeEvaluationRegressionMetricsDeserializer(DelegatingDeserializer<DataframeEvaluationRegressionMetrics.Builder> op)
-