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

rmm.inference() frequency error #6

Open
danboardman2 opened this issue May 19, 2022 · 3 comments
Open

rmm.inference() frequency error #6

danboardman2 opened this issue May 19, 2022 · 3 comments

Comments

@danboardman2
Copy link

Running '3.8.8' in jupyter notebook, code from Starter notebook/starter_example.ipynb) produces the following error:

ValueError: Pandas DataFrame or Series has a DatetimeIndex with no set frequency, but STS requires regularly spaced observations. Consider using tfp.sts.regularize_series to infer a frequency and build a regularly spaced series (by marking unobserved steps as missing observations).

Same error occurs when running rmm.inference() on other datasets.

@danboardman2
Copy link
Author

numpy==1.21.4
pandas==1.3.5
dtw-python==1.1.6
tfcausalimpact==0.0.5

@rj678
Copy link
Owner

rj678 commented May 21, 2022

thank you for posting this - unfortunately, I'm unable to develop or maintain this repo anymore - I'll add a note on the README, sorry about this and good luck!

@rj678 rj678 pinned this issue Sep 5, 2022
@rj678 rj678 unpinned this issue Sep 5, 2022
@rj678
Copy link
Owner

rj678 commented Sep 5, 2022

hi @danboardman2 - sorry for the delayed response on this - this issue relates to an older version of tfcausalimpact - I've updated the version in the setup file, and will push it to master soon - could you update the version of tfcausalimpact and check again please - you can find more details here:

WillianFuks/tfcausalimpact#26

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