Releases: mlr-org/mlr3pipelines
Releases · mlr-org/mlr3pipelines
mlr3pipelines 0.9.0
- Breaking change: Removed initialization of
PipeOpImputeConstant'sconstanthyperparameter since it was incompatible with other defaults and would lead to not recommended usage (creating an empty level). - Removed compatibility for old
paradoxversions pre-1.0.0. - Added
empty_level_controlargument toPipeOpImputeallowing control over edge cases forfactor/orderedcolumns. - Set new construction argument
empty_level_controlto"param"forPipeOpImputeOORand to"always"forPipeOpImputeConstant. - Untrained
PipeOps that takeNULLas input during training now automatically perform training during prediction. PipeOpImputeConstant,PipeOpImputeMode,PipeOpImputeOOR, andPipeOpImputeLearnercan now handlefactorororderedfeatures with zero levels.PipeOpImputeConstantnow gives a more informative error message ifcheck_levelsisTRUEand a new level would be created through imputation.- Fix:
PipeOpImputeOORnow imputes".MISSING"forfactor/orderedfeatures with onlyNAs instead of sampling from the feature's levels. - Fix:
PipeOpImputeLearnerno 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 ...".
mlr3pipelines 0.8.0
- Added missing error for predicting with untrained
PipeOps /Graphs. - Fix: Corrected typo in the hyperparameter name
use_parallelofPipeOpVtreat. - Fix: Do not overwrite initial hyperparameter settings of
bbotk::OptimizerBatchNLoptrinLearnerClassifAvg/LearnerRegrAvg's internaloptimize_weights_learneravgfunction. - Added new convenience function
preproc()for easier training of or prediction withPipeOps orGraphs. - Fix:
PipeOpVtreat,PipeOpEncodeImpact, andPipeOpEncodeLmernow accept the more preciseTaskSupervisedinstead ofTaskas input for training and prediction. - Docs: Added missing documentation for the
task_typeof the input and output channels ofPipeOps that inherit fromPipeOpTaskPreprocand set a non-defaulttask_type. - Fix:
PipeOpEncodeLmer,PipeOpADAS,PipeOpBLSmote,PipeOpSmote, andPipeOpSmoteNCno longer throw an error in case of empty target levels during training. - Fix:
PipeOpClassBalancingnow handles unseen target levels by ignoring them during upsampling instead of producingNAs.
mlr3pipelines 0.7.2
- New parameter
no_collapse_above_absoluteforPipeOpCollapseFactors/po("collapse_factors"). - Fix:
PipeOpCollapseFactorsnow correctly collapses levels of ordered factors. - Fix:
LearnerClassifAvgandLearnerRegrAvghyperparameters get the"required"tag. - New parameter
use_groups(defaultTRUE) forPipeOpSubsamplingto respect grouping (changed default behaviour for grouped data) - New parameter
new_role_directforPipeOpColRoles/po("colroles")to change column roles by role instead of by column. - Dictionary sugar functions
po()/pos()/ppl()/ppls()now make suggestions for entries in bothmlr_pipeopsas well asmlr_graphswhen an object by the given name could not be found in the respective dictionary. - New PipeOp
PipeOpDecode/po("decode")to reverse one-hot or treatment encoding. - Fix: Columns that are
featureand something else no longer lose the other column role during training or predicting ofPipeOps inheriting fromPipeOpTaskPreproc. - Fix: Made tests for
PipeOpBLSmotedeterministic. - Fix: Corrected hash calculation for
PipeOpFilter. - New PipeOps
PipeOpEncodePLQuantilesandPipeOpEncodePLTreethat implement piecewise linear encoding with two different binning methods. - Compatibility with new
R6release. - Docs: Performed cleanup and standardization.
- Docs: Performed cleanup of reference index page on website.
- Docs: Fixed parsing of examples on website for
PipeOpNMFandPipeOpLearnerPICVPlus. - Fix:
PipeOpTargetMutateandPipeOpTargetTrafoScaleRangeno longer drop unseen factor levels of features or targets during train and predict. - Simplified parameter checks and added internal type checking for
PipeOpTargetMutate.
mlr3pipelines 0.7.1
- Compatibility fix for upcoming
mlr3 - New down-sampling PipeOps for inbalanced data:
PipeOpTomek/po("tomek")andPipeOpNearmiss/po("nearmiss") - New PipeOp
PipeOpLearnerPICVPlus / po("learner_pi_cvplus") - New PipeOp for Quantile Regression
PipeOpLearnerQuantiles/po(learner_quantiles) GraphLearnerhas new active bindings/methods as shortcuts for active bindings/methods of the underlyingGraph:
$pipeops,$edges,$pipeops_param_set, and$pipeops_param_set_valuesas well as$ids()and$plot().
mlr3pipelines 0.7.0
- New PipeOp
PipeOpRowApply/po("rowapply") - Empty
PipeOpIDs now explicitly forbidden. - Bugfix:
Graph$tran()/Graph$predict()withsingle_input = FALSEnow correctly handlesPipeOps with multiple inputs. GraphLearner$base_learner()now works withPipeOpBranch, and is generally more robust.GraphLearnernow supports$importance,$selected_features(),$oob_error(), and$loglik().
These are computed from the underlyingLearner.GraphLearner$impute_selected_featuresoption added:
$selected_features()is reported even if the underlying base learner does not report it; in this case, the full feature set as seen by that learner is returned.GraphLearner$predict_typehandling more robust now.PipeOpThresholdandPipeOpTuneThresholdnow have the$predict_type"prob".
They can be set to"response", in which case the probability predictions are discarded, potentially saving memory.- Bugfix for handling multiplicities in PipeOps with vararg channels.
- Bugfix:
PipeOpImputeOORnow retains the.MISSINGlevel in factors during prediction that were imputed during training, but had no missing values during prediction. as_data_table(po())now works even when somePipeOps can not be constructed.
For thesePipeOps,NAis reported in most columns.- Compatibility with upcoming
mlr3release. - New PipeOps for handling inbalanced data:
PipeOpADAS/po("adas"),PipeOpBLSmote/po("blsmote")andPipeOpSmoteNC/po("smotenc")
mlr3pipelines 0.6.0
- Compatibility with new
bbotkrelease. - Added marshaling support to
GraphLearner - Support internal tuning and validation
mlr3pipelines 0.1.2
- Work with new mlr3 version 0.1.5 (handling of character columns changed)
mlr3pipelines 0.1.1
- Better html graphics for linear Graphs
- New PipeOps:
- PipeOpEncodeImpact
- Changed PipeOp Behaviour:
- PipeOpEncode: handle NAs
mlr3pipelines 0.1.0
Initial upload to CRAN.