print {dnn} | R Documentation |
print a summary of fitted deep learning model object
Description
print is used to provide a short summary of outputs from deepAFT
, deepSurv
, deepGLM
, and dNNmodel
.
Usage
## S3 method for class 'deepAFT'
print(x, ...)
## S3 method for class 'summary.deepAFT'
print(x, ...)
## S3 method for class 'deepAFT'
summary(object, ...)
## S3 method for class 'dNNmodel'
print(x, ...)
## S3 method for class 'dNNmodel'
summary(object, ...)
Arguments
x |
a class returned from deepAFT, deepSurv, deepGLM model fit or a dNNmodel |
object |
a class of deepAFT object |
... |
other options used in print() |
Details
print.deepAFT is called to print object or summary of object from the deep learning AFT models deepAFT
.
summary(fit) provides detail summary of ‘deepAFT’ model fit, including predictors,
baseline survival function for T0=T/exp(mu), and martingale residuals for the fitted model.
print.dNNmodel is called to print object or summary of object from the dNNmodel.
The default method, print.default has its own help page. Use methods("print") to get all the methods for the print generic.
Value
An object of class "summary.deepAFT" is returned. The object contains the following list components:
location |
location parameter exp(mu), to predice the mean value of survival time. |
sfit |
survfit object of the baselie survival function of T0=T/exp(mu). |
cindex |
Concordance index of the fitted deepAFT model. |
resid |
martingle residuals of the fitted deepAFT model. |
method |
the model used to fit the deepAFT model. |
Author(s)
Bingshu E. Chen
See Also
The default method for print print.default
. Other methods include
survreg
,
deepAFT
,
summary