print.survdnn {survdnn} | R Documentation |
Print a survdnn Model
Description
Pretty prints a fitted 'survdnn' model. Displays the formula, network architecture, training configuration, and final training loss.
Usage
## S3 method for class 'survdnn'
print(x, ...)
Arguments
x |
An object of class '"survdnn"', returned by [survdnn()]. |
... |
Ignored (for future compatibility). |
Value
The model object, invisibly.
Examples
library(survival)
data(veteran, package = "survival")
mod <- survdnn(Surv(time, status) ~
age + karno + celltype, data = veteran, epochs = 20, verbose = FALSE)
print(mod)
[Package survdnn version 0.6.0 Index]