Learn R Programming

survdnn (version 0.7.5)

plot_loss: 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, ...)

Value

A `ggplot` object.

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.