Closed bblodfon closed 1 year ago
FindCorrelation filter should support also survival tasks (easy to fix), see below:
FindCorrelation
library(mlr3proba) #> Loading required package: mlr3 library(mlr3filters) library(mlr3pipelines) task = tsk('lung') pre = po('encode', method = 'treatment') %>>% po('imputelearner', lrn('regr.rpart')) task = pre$train(task)[[1]] flt('find_correlation')$calculate(task) #> Error: Filter 'find_correlation' does not support the type 'surv' of task 'lung'
Created on 2023-02-24 with reprex v2.0.2
fixed in https://github.com/mlr-org/mlr3filters/pull/152
FindCorrelation
filter should support also survival tasks (easy to fix), see below:Created on 2023-02-24 with reprex v2.0.2