Learn R Programming

easyml (version 0.1.0)

measure_auc_score: Measure area under the curve.

Description

Given the ground truth (correct) target values and the estimated target values, calculates the the AUC metric.

Usage

measure_auc_score(y_true, y_pred)

Arguments

y_true

A numeric vector; the ground truth (correct) target values.

y_pred

A numeric vector; the estimated target values.

Value

A numeric vector of length one; the AUC metric.

See Also

Other measure: measure_correlation_score, measure_mse_score, measure_r2_score