loss_adapt_mlr3proba {survex} | R Documentation |
Adapt mlr3proba measures for use with survex
Description
This function allows for usage of standardized measures from the mlr3proba package with survex
.
Usage
loss_adapt_mlr3proba(measure, reverse = FALSE, ...)
Arguments
measure |
|
reverse |
|
... |
|
Value
a function with standardized parameters (y_true
, risk
, surv
, times
) that can be used to calculate loss
Examples
if(FALSE){
measure <- msr("surv.calib_beta")
mlr_measure <- loss_adapt_mlr3proba(measure)
}
[Package survex version 1.2.0 Index]