% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_loss.R
\name{plot_loss}
\alias{plot_loss}
\title{Plot Training Loss for a survdnn Model}
\usage{
plot_loss(object, smooth = FALSE, log_y = FALSE, ...)
}
\arguments{
\item{object}{A fitted `survdnn` model.}

\item{smooth}{Logical; if `TRUE`, overlays a smoothed loess curve.}

\item{log_y}{Logical; if `TRUE`, uses a log10 y-scale.}

\item{...}{Reserved for future use.}
}
\value{
A `ggplot` object.
}
\description{
Visualize the evolution of the training loss across epochs for a fitted
`survdnn` model. Helps inspect convergence, instability, or callback effects
(e.g., early stopping).
}
