% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting_utils.R
\name{plot_distribution_by_class}
\alias{plot_distribution_by_class}
\title{Plotting Output Distribution By Class}
\usage{
plot_distribution_by_class(analysis_object)
}
\arguments{
\item{analysis_object}{Fitted analysis_object with 'fine_tuning()'.}
}
\value{
analysis_object
}
\description{
The \strong{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.
}
\examples{
# 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)
}
\seealso{
\code{\link{plot_calibration_curve}}
}
