.check_survival_time_plausibility | R Documentation |
This function checks whether non-positive outcome time is present in the data. This may produce unexpected results for some packages. For example, glmnet will not train if an instance has a survival time of 0 or lower.
.check_survival_time_plausibility(
data,
outcome_type,
outcome_column,
check_stringency = "strict"
)
data |
Data set as loaded using the |
outcome_type |
(recommended) Type of outcome found in the outcome column. The outcome type determines many aspects of the overall process, e.g. the available feature selection methods and learners, but also the type of assessments that can be conducted to evaluate the resulting models. Implemented outcome types are:
If not provided, the algorithm will attempt to obtain outcome_type from contents of the outcome column. This may lead to unexpected results, and we therefore advise to provide this information manually. Note that |
outcome_column |
(recommended) Name of the column containing the
outcome of interest. May be identified from a formula, if a formula is
provided as an argument. Otherwise an error is raised. Note that |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.