% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting_utils.R
\name{plot_scatter_predictions}
\alias{plot_scatter_predictions}
\title{Plotting Observed vs Predictions}
\usage{
plot_scatter_predictions(analysis_object)
}
\arguments{
\item{analysis_object}{Fitted analysis_object with 'fine_tuning()'.}
}
\value{
analysis_object
}
\description{
The \strong{plot_scatter_predictions()} function generates scatter plots with
45-degree reference lines comparing observed values (vertical axis) against
model predictions (horizontal axis) for training and test data. Enables
visual assessment of prediction accuracy through distance from the reference
line, identification of systematic bias patterns, detection of
heteroscedastic prediction errors, and quantification of generalization
performance gaps between training and test sets.
}
\examples{
# Note: For obtaining the observed vs. predicted values plot the user needs
# to complete till fine_tuning( ) function of the MLwrap pipeline.
# See the full pipeline example under table_best_hyperparameters()
# Final call signature:
# plot_scatter_predictions(wrap_object)
}
\seealso{
\code{\link{table_best_hyperparameters}}
}
