Learn R Programming

easyml (version 0.1.0)

plot_roc_curve: Plot ROC Curve.

Description

Given the ground truth (correct) target values and the estimated target values will plot an ROC curve.

Usage

plot_roc_curve(y_true, y_pred)

Arguments

y_true

Ground truth (correct) target values.

y_pred

Estimated target values.

Value

A ggplot object. This plot may be rendered by outputting it to the command line or modified using ggplot semantics.

See Also

Other plot: plot_coefficients_processed, plot_model_performance_binomial_auc_score, plot_model_performance_gaussian_correlation_score, plot_model_performance_gaussian_mse_score, plot_model_performance_gaussian_r2_score, plot_model_performance_histogram, plot_predictions_binomial, plot_predictions_gaussian, plot_variable_importances_processed