Repository navigation
ENH: State space: Exact diffuse initialization - #4418
Conversation
c31b206 to
2112708
Compare
|
This pull request introduces 3 alerts and fixes 2 when merging 2112708 into 5a01211 - view on lgtm.com new alerts:
fixed alerts:
Comment posted by lgtm.com |
|
Just for general information, my current plan for this (and my other outstanding) PRs:
I think that this will put us in a good place for moving ahead on a number of fronts, including especially figuring out what to do with #3884. I think that with the new features from the above PRs, we will be able to move forward on a middle ground between full deprecation of ARIMA and the current situation where those models aren't maintained. Of course we'll see how things go. |
2112708 to
7887bf7
Compare
|
Rebased after merging the updated frequency-domain seasonals in |
|
This pull request fixes 2 alerts when merging 7887bf7 into 7cbaa2e - view on lgtm.com fixed alerts:
Comment posted by lgtm.com |
|
@ChadFulton do you want/need any help with your plan? I am interested in this feature and can pitch in if useful. Maybe starting in on
? |
Thanks! That would be great. The main issue is going to be that it's a little tricky figuring out what we tested against, what the other software supports, and how they set things up. One issue is that there are not many packages that have full support for this functionality, so it can be hard to find packages to test against. I think most of our tests are against Stata and KFAS, which both fortunately support exact diffuse initialization, but unfortunately both have caveats (see below) so we need to be a little bit careful. Here's my understanding of the status of other packages:
|
|
This pull request fixes 2 alerts when merging ef29cf9 into 7cbaa2e - view on lgtm.com fixed alerts:
Comment posted by lgtm.com |
|
My current plan is to merge this (i.e. not #4042 first since there's really no reason to do that) as soon as possible, since it is green on all scipy >= 0.18. However, I guess before we do that we should drop the CI lines for scipy < 0.18 so that master isn't permanently broken. |
ef29cf9 to
37267cc
Compare
|
Rebased. Assuming this comes back green, I will merge it (unless there are concerns). Although this PR adds the functionality, its scope is still pretty limited since no model actually uses the exact diffuse method yet. A couple of notes:
|
|
This pull request fixes 2 alerts when merging 37267cc into d465ebc - view on lgtm.com fixed alerts:
Comment posted by lgtm.com |
|
sounds good to me I would like to plan for a release in (close to) half a year. Changes that will be merged soon, then still get some time in master to figure out and fix some problems that show up after the merges. I will open an issue about conditional compilation for a possible 0.9.1 Question for 0.10 after removing compilation conditional on scipy: |
|
travis failure is unrelated doc build issue appveyor errors look serious, each exits in a different test
|
|
Uh oh
…On Fri, May 18, 2018 at 10:42 AM Josef Perktold ***@***.***> wrote:
travis failure is unrelated doc build issue
CondaHTTPError: HTTP 502 BAD GATEWAY for url <
https://conda.anaconda.org/r/linux-64/r-r6-2.2.2-mro343_0.tar.bz2>
appveyor errors look serious, each exits in a different test
statsmodels\tsa\statespace\tests\test_structural.py ...........Command
exited with code -1073741819
statsmodels\tsa\statespace\tests\test_sarimax.py ....................... [ 72%]
........................................................................ [ 73%]
.................................................Command exited with code -1073741819
statsmodels\tsa\statespace\tests\test_dynamic_factor.py ................ [ 64%]
...................................s..Command exited with code -1073741819
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4418 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARJIFw_lBJcvtVYtWYcapj3DWkUOYGFks5tzt2_gaJpZM4TEUlN>
.
|
|
I restarted the doc build which is now green, but it looks like pandas_datareader.fred is incompatible with pandas which causes errors in the notebook builds |
This is a bummer. I see that the prescient @bashtage already fixed this in pandas-datareader master (pydata/pandas-datareader/pull/520). What is the best option for handling this? @bashtage are you planning to release a 0.6.1 for this error, or just release a 0.7.0? And is there a timeline? |
|
We don't need to use the latest pandas for the doc build, we can just stick with a previous version of pandas that works |
Oh, good point. I'll make a PR now to change the docbuild pandas to 0.22 |
|
This pull request fixes 2 alerts when merging 00e6891 into d465ebc - view on lgtm.com fixed alerts:
Comment posted by lgtm.com |
But the good news is I can replicate it on Windows, so will be able to track it down and fix it. |
Yes, I think so, since we have in the Cython files e.g. cimport scipy.linalg.cython_blas as blas
cimport scipy.linalg.cython_lapack as lapack |
|
If scipy is a build requirement, then it still needs to be added to the setup.py. If the analogy to numpy is correct, then we need to add |
00e6891 to
7a42e22
Compare
|
This pull request fixes 2 alerts when merging 7a42e22 into 6611e87 - view on lgtm.com fixed alerts:
Comment posted by lgtm.com |
|
Pretty sure that fixed the Appveyor problems. I've also added scipy to If green, will merge... |
|
This pull request fixes 2 alerts when merging ca0b973 into 6611e87 - view on lgtm.com fixed alerts:
Comment posted by lgtm.com |
|
Is green, am merging. |
This adds exact diffuse initialization for filtering and smoothing for state space models.
This PR follows on top of #4042 (I don't know if it will be possible to merge #4042 first, but hopefully we can).
I haven't actually set
SARIMAXorUnobservedComponentsto use the exact diffuse method yet, but that would be pretty trivial given #4042, although I guess we might want to have the approximate diffuse method deprecated for a release cycle. The main work will be going through the tests, since some of them will likely fail with the exact method.