Class DataframeEvaluationRegression
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationRegression
- All Implemented Interfaces:
DataframeEvaluationVariant
,JsonpSerializable
@JsonpDeserializable public class DataframeEvaluationRegression extends java.lang.Object implements DataframeEvaluationVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataframeEvaluationRegression.Builder
Builder forDataframeEvaluationRegression
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeEvaluationRegression>
_DESERIALIZER
Json deserializer forDataframeEvaluationRegression
-
Method Summary
Modifier and Type Method Description DataframeEvaluation.Kind
_dataframeEvaluationKind()
DataframeEvaluation variant kind.java.lang.String
actualField()
Required - The field of the index which contains the ground truth.DataframeEvaluationRegressionMetrics
metrics()
Specifies the metrics that are used for the evaluation.static DataframeEvaluationRegression
of(java.util.function.Function<DataframeEvaluationRegression.Builder,ObjectBuilder<DataframeEvaluationRegression>> fn)
java.lang.String
predictedField()
Required - The field in the index that contains the predicted value, in other words the results of the regression analysis.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDataframeEvaluationRegressionDeserializer(ObjectDeserializer<DataframeEvaluationRegression.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.ml.DataframeEvaluationVariant
_toDataframeEvaluation
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeEvaluationRegression
-
-
Method Details
-
of
public static DataframeEvaluationRegression of(java.util.function.Function<DataframeEvaluationRegression.Builder,ObjectBuilder<DataframeEvaluationRegression>> fn) -
_dataframeEvaluationKind
DataframeEvaluation variant kind.- Specified by:
_dataframeEvaluationKind
in interfaceDataframeEvaluationVariant
-
actualField
public final java.lang.String actualField()Required - The field of the index which contains the ground truth. The data type of this field must be numerical.API name:
actual_field
-
predictedField
public final java.lang.String predictedField()Required - The field in the index that contains the predicted value, in other words the results of the regression analysis.API name:
predicted_field
-
metrics
Specifies the metrics that are used for the evaluation. For more information on mse, msle, and huber, consult the Jupyter notebook on regression loss functions.API name:
metrics
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupDataframeEvaluationRegressionDeserializer
protected static void setupDataframeEvaluationRegressionDeserializer(ObjectDeserializer<DataframeEvaluationRegression.Builder> op)
-