Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If my dataset is not a time series with uniform intervals, will the models still be effective? #1219

Closed
eotich32 opened this issue Nov 27, 2024 · 3 comments

Comments

@eotich32
Copy link

For instance, if my data looks like :

ds y
2024-10-01 y1
2024-10-02 y2
2024-10-05 y3
2024-10-14 y4
2024-10-16 y5
2024-10-19 y6
....

@marcopeix
Copy link
Contributor

Hello! The main problem will be in setting the correct frequency to create the dates, as we only support valid pandas or polars offset alias. In this case, I suggest you use integers instead of dates and specify freq=1. The model will still work, since internally, it tries to map an input sequence to an output sequence.

Let me know if that answers your question!

@eotich32
Copy link
Author

Hello! The main problem will be in setting the correct frequency to create the dates, as we only support valid pandas or polars offset alias. In this case, I suggest you use integers instead of dates and specify freq=1. The model will still work, since internally, it tries to map an input sequence to an output sequence.

Let me know if that answers your question!

It's great, this method solve my problem, thank you!

@marcopeix
Copy link
Contributor

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants