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 classDataframeEvaluationRegression.BuilderBuilder forDataframeEvaluationRegression. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeEvaluationRegression>_DESERIALIZERJson deserializer forDataframeEvaluationRegression -
Method Summary
Modifier and Type Method Description DataframeEvaluation.Kind_dataframeEvaluationKind()DataframeEvaluation variant kind.java.lang.StringactualField()Required - The field of the index which contains the ground truth.DataframeEvaluationRegressionMetricsmetrics()Specifies the metrics that are used for the evaluation.static DataframeEvaluationRegressionof(java.util.function.Function<DataframeEvaluationRegression.Builder,ObjectBuilder<DataframeEvaluationRegression>> fn)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(ObjectDeserializer<DataframeEvaluationRegression.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
_dataframeEvaluationKindin 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDataframeEvaluationRegressionDeserializer
protected static void setupDataframeEvaluationRegressionDeserializer(ObjectDeserializer<DataframeEvaluationRegression.Builder> op)
-