case classAUC(metric: AUCMetric, samples: Int = 100) extends Aggregator[Prediction[Boolean, Double], MetricCurve, Double] with Product with Serializable
Compute the "Area Under the Curve" for a collection of predictions. Uses the Trapezoid method to
compute the area.
Internally a linspace is defined using the given number of samples. Each point in the
linspace represents a threshold which is used to build a confusion matrix.
The area is then defined on this list of confusion matrices.
AUCMetric which is given to the aggregate selects the function to apply on
the confusion matrix prior to the AUC calculation.
metric
Which function to apply on the confusion matrix.
samples
Number of samples to use for the curve definition.
Linear Supertypes
Serializable, Product, Equals, Aggregator[Prediction[Boolean, Double], MetricCurve, Double], Serializable, AnyRef, Any
Compute the "Area Under the Curve" for a collection of predictions. Uses the Trapezoid method to compute the area.
Internally a linspace is defined using the given number of samples. Each point in the linspace represents a threshold which is used to build a confusion matrix. The area is then defined on this list of confusion matrices.
AUCMetric which is given to the aggregate selects the function to apply on the confusion matrix prior to the AUC calculation.
Which function to apply on the confusion matrix.
Number of samples to use for the curve definition.