Module org.elasticsearch.xcore
Class EvaluationFields
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.evaluation.EvaluationFields
Encapsulates fields needed by evaluation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseField -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the field containing the actual valueReturns the field containing the predicted class name valueReturns the field containing the predicted valueReturns the field containing the predicted probability value in [0.0, 1.0]Returns the field containing the array of top classesinthashCode()booleanReturns whether thepredictedProbabilityFieldshould be treated as nested (e.g.: when used in exists queries).
-
Field Details
-
ACTUAL_FIELD
public static final org.elasticsearch.xcontent.ParseField ACTUAL_FIELD -
PREDICTED_FIELD
public static final org.elasticsearch.xcontent.ParseField PREDICTED_FIELD -
TOP_CLASSES_FIELD
public static final org.elasticsearch.xcontent.ParseField TOP_CLASSES_FIELD -
PREDICTED_CLASS_FIELD
public static final org.elasticsearch.xcontent.ParseField PREDICTED_CLASS_FIELD -
PREDICTED_PROBABILITY_FIELD
public static final org.elasticsearch.xcontent.ParseField PREDICTED_PROBABILITY_FIELD
-
-
Constructor Details
-
EvaluationFields
-
-
Method Details
-
getActualField
Returns the field containing the actual value -
getPredictedField
Returns the field containing the predicted value -
getTopClassesField
Returns the field containing the array of top classes -
getPredictedClassField
Returns the field containing the predicted class name value -
getPredictedProbabilityField
Returns the field containing the predicted probability value in [0.0, 1.0] -
isPredictedProbabilityFieldNested
public boolean isPredictedProbabilityFieldNested()Returns whether thepredictedProbabilityFieldshould be treated as nested (e.g.: when used in exists queries). -
listPotentiallyRequiredFields
-
equals
-
hashCode
public int hashCode()
-