Skip to content

mlr3pipelines 0.9.0

Latest

Choose a tag to compare

@mb706 mb706 released this 09 Aug 14:41
· 62 commits to master since this release
30cf196
  • Breaking change: Removed initialization of PipeOpImputeConstant's constant hyperparameter since it was incompatible with other defaults and would lead to not recommended usage (creating an empty level).
  • Removed compatibility for old paradox versions pre-1.0.0.
  • Added empty_level_control argument to PipeOpImpute allowing control over edge cases for factor/ordered columns.
  • Set new construction argument empty_level_control to "param" for PipeOpImputeOOR and to "always" for PipeOpImputeConstant.
  • Untrained PipeOps that take NULL as input during training now automatically perform training during prediction.
  • PipeOpImputeConstant, PipeOpImputeMode, PipeOpImputeOOR, and PipeOpImputeLearner can now handle factor or ordered features with zero levels.
  • PipeOpImputeConstant now gives a more informative error message if check_levels is TRUE and a new level would be created through imputation.
  • Fix: PipeOpImputeOOR now imputes ".MISSING" for factor/ordered features with only NAs instead of sampling from the feature's levels.
  • Fix: PipeOpImputeLearner no longer adds "factor" or "ordered" levels for these feature types arbitrarily and instead updates levels correctly in certain edge-cases.
  • Fixed the error message for unexpected Multiplicities in the input and output type checking during PipeOps training and prediction.
  • Fixed a grammatical error in PipeOp's error message wrapper: now correctly says "This happened in ...".