business-science / pytimetk

Time series easier, faster, more fun. Pytimetk.
https://business-science.github.io/pytimetk/
MIT License
696 stars 60 forks source link

Time Series Cross Validation #291

Open mdancho84 opened 6 months ago

mdancho84 commented 6 months ago

Add time series cross validation. https://github.com/FBruzzesi/timebasedcv

mdancho84 commented 6 months ago

https://github.com/FBruzzesi/timebasedcv/issues/41

joaopcnogueira commented 1 week ago

Hi! I am using a lot pytimetk in one of my current project, even rewrote the entire codebase with it and it is really saving me a lot! Thank you!

Also, today I am trying to implement time series cross validation and found out that pytimetk also provides this, which is really nice. But, in my case I have a frequency of month (MS), which it seems is not supported yet.

Is there actually any work around to make it works?

mdancho84 commented 1 week ago

Excellent! Glad you are enjoying it.

We are working on support for month, quarter and year frequency.

Until then you should be able to use "days" and specify in terms of number of days (by multiplying by 30).

joaopcnogueira commented 1 week ago

Nice, thank you very much!