mlr-org / mlr3

mlr3: Machine Learning in R - next generation
https://mlr3.mlr-org.com
GNU Lesser General Public License v3.0
914 stars 84 forks source link

fallback learner should maybe be a warning #972

Open sebffischer opened 7 months ago

sebffischer commented 7 months ago

Currently, the fallback learner log info is only shown during debug mode:

https://github.com/mlr-org/mlr3/blob/dc2a983fb5b59dd0a009727b193227857cb7b9ea/R/worker.R#L94-L102

maybe this should be a warning?

mb706 commented 3 months ago

Maybe relates more to the 'encapsulate' machinery than the fallback learner -- what to do if something that was encapsulated fails? Or is there a way for the fallback learner to be invoked without the encapsulation noticing?