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

add frequency validation and futr_df debugging methods #833

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

jmoralez
Copy link
Member

@jmoralez jmoralez commented Nov 30, 2023

Adds a frequency validation that makes sure the times and frequency match (e.g. both ints, timestamps + pandas or polars offset).
Also adds the following methods:

  • NeuralForecast.make_future_dataframe: provides the expected combinations of ids and dates to serve as a base when providing futr_df.
  • NeuralForecast.get_missing_future: takes the futr_df and returns which combinations are missing for easier debugging.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez jmoralez marked this pull request as ready for review December 1, 2023 00:16
@jmoralez jmoralez requested a review from cchallu December 1, 2023 00:16
Copy link
Contributor

@cchallu cchallu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome features :)

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

Successfully merging this pull request may close these issues.

2 participants