Learn R Programming

MLwrap (version 0.3.0)

plot_pr_curve: Plotting Precision-Recall Curve

Description

The plot_pr_curve() function generates Precision-Recall curve tracing the relationship between precision and recall across all classification probability thresholds. Particularly informative for imbalanced datasets where ROC curves may be misleading, as PR curves remain sensitive to class distribution changes and provide intuitive performance assessment when one class is substantially rarer than the other.

Usage

plot_pr_curve(analysis_object)

Value

analysis_object

Arguments

analysis_object

Fitted analysis_object with 'fine_tuning()'.

See Also

plot_calibration_curve

Examples

Run this code
# See the full pipeline example under plot_calibration_curve()
# Final call signature:
# plot_pr_curve(wrap_object)

Run the code above in your browser using DataLab