mlr3 icon indicating copy to clipboard operation
mlr3 copied to clipboard

Private field for default parameters

Open sebffischer opened this issue 2 years ago • 0 comments

I suggest that Learner should have a private field .default_params where the default parameters are stored. This has the advantage that:

  1. When calling $reset() the parameters can also be reset, something I would expect from a method that is called reset
  2. We could automatically list the default parameters in the learner description, currently this has to be done manually which is error-prone

sebffischer avatar May 11 '22 14:05 sebffischer