Learn R Programming

MLwrap (version 0.3.0)

plot_distribution_by_class: Plotting Output Distribution By Class

Description

The plot_distribution_by_class() function visualizes kernel density estimates or histograms of predicted probability distributions stratified by true class labels. Enables assessment of class separability through probability overlap quantification and identification of prediction probability ranges where different classes exhibit substantial overlap, indicating classification ambiguity regions.

Usage

plot_distribution_by_class(analysis_object)

Value

analysis_object

Arguments

analysis_object

Fitted analysis_object with 'fine_tuning()'.

See Also

plot_calibration_curve

Examples

Run this code
# Note: For obtaining the distribution by class plot the user needs to
# complete till fine_tuning( ) function of the MLwrap pipeline
# and only with categorical outcome.
# See the full pipeline example under plot_calibration_curve()
# Final call signature:
# plot_distribution_by_class(wrap_object)

Run the code above in your browser using DataLab