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)
From design/conceptual perspective, I think having a
OffsetTransformerlook more reasonable, however I was just trying to think more from a user perspective. Having sth likeOffsetTransformer(OptionalPassthrough(BoxCox()))is not so intuitive than havingBoxCox(passthrough, offset)especially when it comes to tuning the params.