loss_adapt_mlr3proba | R Documentation |
This function allows for usage of standardized measures from the mlr3proba package with survex
.
loss_adapt_mlr3proba(measure, reverse = FALSE, ...)
measure |
|
reverse |
|
... |
|
a function with standardized parameters (y_true
, risk
, surv
, times
) that can be used to calculate loss
if(FALSE){
measure <- msr("surv.calib_beta")
mlr_measure <- loss_adapt_mlr3proba(measure)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.