plot_loss: Plot Training Loss for a survdnn Model

View source: R/plot_loss.R

plot_lossR Documentation

Plot Training Loss for a survdnn Model

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).

Usage

plot_loss(object, smooth = FALSE, log_y = FALSE, ...)

Arguments

object

A fitted 'survdnn' model.

smooth

Logical; if 'TRUE', overlays a smoothed loess curve.

log_y

Logical; if 'TRUE', uses a log10 y-scale.

...

Reserved for future use.

Value

A 'ggplot' object.


survdnn documentation built on Jan. 8, 2026, 9:07 a.m.