mlr-org / mlr3

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

BREAKING CHANGE: encapsulation is not automatically activated when a fallback is set #1155

Closed be-marc closed 2 months ago

berndbischl commented 2 months ago

i guess we converge to merging encapsulate and "fallback"

this would mean

learner$encapsulate(type, fallback) type: sets enc for both train+pred fallback: sets the FB, NULL must is possible if enc is in {callr, evalualte}, FB must be set if enc = "none", FB must be NULL

learner$fallback stays, but only as a READ ONLY AB.

be-marc commented 2 months ago

Closed by #1171