View source: R/helpers_pycox.R
pycox_prepare_train_data | R Documentation |
Utility function to prepare data for training in a Pycox model. Generally used internally only.
pycox_prepare_train_data(
x_train,
y_train,
frac = 0,
standardize_time = FALSE,
log_duration = FALSE,
with_mean = TRUE,
with_std = TRUE,
discretise = FALSE,
cuts = 10L,
cutpoints = NULL,
scheme = c("equidistant", "quantiles"),
cut_min = 0L,
model = c("coxtime", "deepsurv", "deephit", "loghaz", "pchazard")
)
x_train |
|
y_train |
|
frac |
|
standardize_time |
|
log_duration |
|
with_mean |
|
with_std |
|
discretise |
|
cuts |
|
cutpoints |
|
scheme |
|
cut_min |
|
model |
|
No return value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.