Class AreaUnderCurve
Object
org.apache.spark.mllib.evaluation.AreaUnderCurve
Computes the area under the curve (AUC) using the trapezoidal rule.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AreaUnderCurve
public AreaUnderCurve()
-
-
Method Details
-
of
Returns the area under the given curve.- Parameters:
curve
- an RDD of ordered 2D points stored in pairs representing a curve- Returns:
- (undocumented)
-
of
Returns the area under the given curve.- Parameters:
curve
- an iterator over ordered 2D points stored in pairs representing a curve- Returns:
- (undocumented)
-