sktime: [ENH] Adding `offset` argument to transformers that do not support negative values

Is your feature request related to a problem? Please describe. Many transformers do not support negative values (e.g. BoxCoxTransformer, LogTransformer)

Describe the solution you’d like Similar to what is done for ExponentTransformer, would it be possible to add an offset argument for such transformers?

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 15 (10 by maintainers)

Most upvoted comments

From design/conceptual perspective, I think having a OffsetTransformer look more reasonable, however I was just trying to think more from a user perspective. Having sth like OffsetTransformer(OptionalPassthrough(BoxCox())) is not so intuitive than having BoxCox(passthrough, offset) especially when it comes to tuning the params.