Class DataframeEvaluationRegression
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeEvaluationRegression
- All Implemented Interfaces:
DataframeEvaluationVariant,JsonpSerializable,UnionVariant
@JsonpDeserializable public final class DataframeEvaluationRegression extends java.lang.Object implements DataframeEvaluationVariant, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataframeEvaluationRegression.BuilderBuilder forDataframeEvaluationRegression. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeEvaluationRegression>_DESERIALIZERJson deserializer forDataframeEvaluationRegression -
Constructor Summary
Constructors Constructor Description DataframeEvaluationRegression(DataframeEvaluationRegression.Builder builder)DataframeEvaluationRegression(java.util.function.Function<DataframeEvaluationRegression.Builder,DataframeEvaluationRegression.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.String_variantType()DataframeEvaluationvariant typejava.lang.StringactualField()Required - The field of the index which contains the ground truth.DataframeEvaluationRegressionMetricsmetrics()Specifies the metrics that are used for the evaluation.java.lang.StringpredictedField()Required - The field in the index that contains the predicted value, in other words the results of the regression analysis.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDataframeEvaluationRegressionDeserializer(DelegatingDeserializer<DataframeEvaluationRegression.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ml.DataframeEvaluationVariant
_toDataframeEvaluation
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeEvaluationRegression
-
-
Constructor Details
-
DataframeEvaluationRegression
-
DataframeEvaluationRegression
public DataframeEvaluationRegression(java.util.function.Function<DataframeEvaluationRegression.Builder,DataframeEvaluationRegression.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()DataframeEvaluationvariant type- Specified by:
_variantTypein interfaceUnionVariant
-
actualField
public 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 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDataframeEvaluationRegressionDeserializer
protected static void setupDataframeEvaluationRegressionDeserializer(DelegatingDeserializer<DataframeEvaluationRegression.Builder> op)
-