powered by
Pretty prints a fitted `survdnn` model. Displays the formula, network architecture, training configuration, and final training loss.
# S3 method for survdnn print(x, ...)
The model object, invisibly.
An object of class `"survdnn"`, returned by [survdnn()].
Ignored (for future compatibility).
library(survival) data(veteran, package = "survival") mod <- survdnn(Surv(time, status) ~ age + karno + celltype, data = veteran, epochs = 20, verbose = FALSE) print(mod)
Run the code above in your browser using DataLab