mlr3
mlr3 copied to clipboard
Private field for default parameters
I suggest that Learner should have a private field .default_params
where the default parameters are stored.
This has the advantage that:
- When calling
$reset()
the parameters can also be reset, something I would expect from a method that is calledreset
- We could automatically list the default parameters in the learner description, currently this has to be done manually which is error-prone