Releases: mlr-org/mlr3proba
Releases · mlr-org/mlr3proba
mlr3proba 0.4.3
- Massive speed-up in distrcompositor PipeOp/pipeline
- More informative error given if
$distr
called for a learner that does not support this return type - Fix massive bottleneck in scoring rule measures
- Add Density coercions
as_task_dens
andas_prediction_dens
- Measures now use parameter sets like learners. This streamlines the interface but unfortunately means ids can no longer be set dynamically.
- Add parameters
t_max
andp_max
to Graf, Schmid and Integrated Log-loss as an alternative totimes
.t_max
is equivalent totimes = seq(t_max)
andp_max
is the proportion of censoring to integrate up to in the dataset. - Fix bug in Rcpp code that was causing erroneous values for calculating the cindex in datasets greater than 20,000 observations.
mlr3proba 0.4.2
- Patch for linux
mlr3proba 0.4.1
- Remove
mlr3extralearners
from Suggests - Add
response
toas_prediction_surv
- Now exported a couple cpp functions and
assert_surv
mlr3
is now inDepends
notimports
distr
predictions are now internally stored as matrices to significantly reduce prediction object sizes- Tasks now support strata property
mlr3proba 0.4.0
- Deprecated measures from 0.2.0 have now been deleted.
- IPCW measures such as
surv.graf
,surv.schmid
, andsurv.intlogloss
now allow training data to be passed to the score function withtask
andtrain_set
to allow the censoring distribution to be estimated on the training data. This is automatically applied for resample and benchmark results. - IPCW measures such as
surv.graf
,surv.schmid
, andsurv.intlogloss
now include a parameterproper
to determine what weighting scheme should be applied by the estimated censoring distribution, The current method (Graf, 1999)proper = FALSE
, weights observations either by their event time or 'current' time depending if they're dead or not, the new methodproper = TRUE
weights observations by event time. Theproper = TRUE
method is strictly proper when censoring and survival times are independent and G is estimated on large enough data. Theproper = FALSE
method is never proper. The default is currentlyproper = FALSE
to enable backward compatibility, this will be changed toproper = TRUE
in v0.6.0. - The
rm_cens
parameter insurv.logloss
has been deprecated in favour ofIPCW
.rm_cens
will be removed in v0.6.0. Ifrm_cens
orIPCW
areTRUE
then censored observations are removed and the score is weighted by an estimate of the censoring distribution at individual event times. Otherwise ifrm_cens
andIPCW
areFALSE
then no deletion or weighting takes place. TheIPCW = TRUE
method is strictly proper when censoring and survival times are independent and G is estimated on large enough data. Theipcw = FALSE
method is never proper. - Add
surv.dcalib
for the D-Calibration measure from Haider et al. (2020).
mlr3proba 0.3.2
- Patched bug causing
"interval2"
task type not to work - Fixed bug causing pipelines not to function correctly in
$aggregate
mlr3proba 0.3.1
mlr3proba 0.3.1
- Reverted removal of
"interval2"
mlr3proba 0.3.0
- Commonly used survival quantities have been added as active bindings to
TaskSurv
includingtimes
(observed survival times),status
(observed survival indicator),unique_times
(set of sorted unique outcome times),unique_event_times
(set of sorted unique failure times),risk_set
(set of observations alive 'just before' a given time) "interval2"
censoring type has been removed fromTaskSurv
as this is covered by the other types- Default values have now been given to the
time
andevent
arguments inTaskSurv
PredictionDens
can now includedistr
return type (equivalent tolearner$model
)
mlr3proba 0.2.6
- Minor internal fixes
mlr3proba 0.2.5
PipeOpCrankCompositor
updated to fix bottleneck in computation viamean
. NowInf
orNA
is replaced by0
forresponse
and imputed with the median forcrank
- Bug in
distr
predict types fixed that lead to fitting degenerate distributions and returning incorrect values for mean survival time andcrank
mlr3proba 0.2.4
- CRITICAL BUG FIX -
compose_crank
was previously returning ranks with the reverse ordering so that higher ranks implied higher risk not lower.
mlr3proba 0.2.3
mlr3proba 0.2.3
- All learners that previously lived in the mlr3learners organisation are now in the mlr3extralearners repository.
- Fixed bottleneck in
MeasureSurvLogloss
- Bugfix in
MeasureSurvCalibrationAlpha
- Patch for valgrind
TaskDens
now inherits fromTaskUnsupervised
which meanstarget
/truth
has been removed. No specification of atarget
column is required, instead a one-column matrix-like object or numeric vector should be passed to the taskbackend
and the density will be estimated for this column, or two columns and one set asweight
.- Fixed bug in
load_eruption
to fix name of data columns - Added calibration plot for comparing average predicted survival distribution to Kaplan-Meier to mlr3viz
- Removed unneccessary
pracma
dependency in learners - Fix in
PipeOpDistrCompositor
, previously base distribution was only using the first predicted distribution, now the baseline is taken by averaging over all predictions with uniform weights
mlr3proba 0.2.2
- Default kernel for
LearnerDensityKDE
is nowEpan
to reduce imports - Minor internal patches for mlr3 0.6.0
- Bug fix in
MeasureSurvCalibrationBeta
now returnsNA
not error iflp
predict type not available