Description Usage Arguments Examples
xgboost
functions expect a certain type of label
vector for certain problem types. For survival models, xgboost
labels should be time-to-event values with negative times
indicating censored observations and postive times indicating
events.
1 |
time |
a numeric vector with time-to-event values. |
status |
a numeric vector of 0s and 1s, where 0 indicates censoring and 1 indicates that the event occurred. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.