Class AucRocMetric
java.lang.Object
org.elasticsearch.client.ml.dataframe.evaluation.outlierdetection.AucRocMetric
- All Implemented Interfaces:
EvaluationMetric,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
Area under the curve (AUC) of the receiver operating characteristic (ROC).
The ROC curve is a plot of the TPR (true positive rate) against
the FPR (false positive rate) over a varying threshold.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.client.ml.dataframe.evaluation.EvaluationMetric
EvaluationMetric.ResultNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseFieldstatic Stringstatic org.elasticsearch.common.xcontent.ConstructingObjectParser<AucRocMetric,Void>Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AucRocMetricfromXContent(org.elasticsearch.common.xcontent.XContentParser parser)getName()Returns the name of the metricinthashCode()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)static AucRocMetricMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
- See Also:
- Constant Field Values
-
INCLUDE_CURVE
public static final org.elasticsearch.common.xcontent.ParseField INCLUDE_CURVE -
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<AucRocMetric,Void> PARSER
-
-
Constructor Details
-
AucRocMetric
-
-
Method Details
-
fromXContent
-
withCurve
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
IOException
-
getName
Description copied from interface:EvaluationMetricReturns the name of the metric- Specified by:
getNamein interfaceEvaluationMetric
-
equals
-
hashCode
public int hashCode()
-