Class AucRocMetric.AucRocPoint
java.lang.Object
org.elasticsearch.client.ml.dataframe.evaluation.softclassification.AucRocMetric.AucRocPoint
- All Implemented Interfaces:
ToXContent
,ToXContentObject
- Enclosing class:
- AucRocMetric
public static final class AucRocMetric.AucRocPoint extends java.lang.Object implements ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AucRocPoint(double tpr, double fpr, double threshold)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
static AucRocMetric.AucRocPoint
fromXContent(XContentParser parser)
double
getFalsePositiveRate()
double
getThreshold()
double
getTruePositiveRate()
int
hashCode()
java.lang.String
toString()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Constructor Details
-
AucRocPoint
public AucRocPoint(double tpr, double fpr, double threshold)
-
-
Method Details
-
fromXContent
-
getTruePositiveRate
public double getTruePositiveRate() -
getFalsePositiveRate
public double getFalsePositiveRate() -
getThreshold
public double getThreshold() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-