https://github.com/nixtla logo
i

Isaac

08/09/2023, 5:10 PM
Is there documentation for all the possible lag transforms and target transforms we can do?
👍 1
j

José Morales

08/10/2023, 3:17 AM
Hey. The only implemented target transforms are the differences and the local standard scaler and they're not documented. You can also define your own, you can find an example on how to do it on the end to end tutorial. I'll also add a guide soon with a class that will take an sklearn transformer to easily apply global transformations like log, boxcox, etc. For lag transforms all the functions in the window ops library work and you can also define your own, they can be any function that takes an array and returns an array of the same length which can be jit compiled with numba. I'll also add a guide with some examples soon. Sorry for the lack of documentation, we'll work on addressing this this month
i

Isaac

08/10/2023, 5:20 PM
Thank you. I think it's a great package, and some additional documentation and tutorials would go a long way.
j

José Morales

08/17/2023, 10:33 PM
Hi. We just added this guide on target transformations, hope you find it useful
🙌 1
i

Isaac

09/05/2023, 4:08 PM
The guide is terrific! Thanks for putting it together.
🙌 1
Are you recommending against using the window_ops functions now? Or does this guide address new use cases?
j

José Morales

09/05/2023, 4:39 PM
The window_ops are for lag_transforms and this guide focuses on target_transforms. They're a bit different because the lag_transforms use transformations that get updated with new data whilst the target_transforms use transformations where some parameters are learned to perform the transformation and then have to be inverted
👍 1
i

Isaac

09/05/2023, 4:44 PM
Will you be working on a guide for lag transforms as well?
j

José Morales

09/05/2023, 5:14 PM
Sure. What do you think should be covered?
i

Isaac

09/05/2023, 5:17 PM
1. The different lag transforms available - rolling, expanding, ewm, etc. 2. How lag transforms are applied 3. Local vs. global transformations 4. How to build your own local and global transformations