Given the ground truth (correct) target values and the estimated target values will plot an ROC curve.
plot_roc_curve(y_true, y_pred)
y_true | Ground truth (correct) target values. |
---|---|
y_pred | Estimated target values. |
A ggplot object. This plot may be rendered by outputting it to the command line or modified using ggplot semantics.
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