View source: R/helpers_pycox.R
predict.pycox | R Documentation |
Predicted values from a fitted pycox ANN.
## S3 method for class 'pycox'
predict(
object,
newdata,
batch_size = 256L,
num_workers = 0L,
interpolate = FALSE,
inter_scheme = c("const_hazard", "const_pdf"),
sub = 10L,
type = c("survival", "risk", "all"),
...
)
object |
|
newdata |
|
batch_size |
|
num_workers |
|
interpolate |
|
inter_scheme |
|
sub |
|
type |
( |
... |
|
A numeric
if type = "risk"
, a matrix
if type = "survival"
where
entries are survival probabilities with rows of observations and columns are time-points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.