Repository navigation
ENH: Add innovations algorithm - #5042
Conversation
|
looks good based on a quick skimming |
|
sorry, pushed the wrong button (not enough coffee yet |
| pandas.WidePanel) | ||
|
|
||
| try: | ||
| import pandas.testing as testing |
There was a problem hiding this comment.
What is the version number cutoff at which this becomes unnecessary?
|
0.20
…On Tue, Aug 28, 2018, 22:26 jbrockmendel ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In statsmodels/compat/pandas.py
<#5042 (comment)>
:
> @@ -29,3 +29,12 @@ def sort_values(df, *args, **kwargs):
data_klasses = (pandas.Series, pandas.DataFrame, pandas.Panel,
pandas.WidePanel)
+
+try:
+ import pandas.testing as testing
What is the version number cutoff at which this becomes unnecessary?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5042 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFU5RZLBRTjFAO8Tbsaj6I3eswMOHVtIks5uVbV_gaJpZM4WPPko>
.
|
abdcfbe to
3f6e785
Compare
Codecov Report
@@ Coverage Diff @@
## master #5042 +/- ##
==========================================
+ Coverage 81.42% 81.48% +0.06%
==========================================
Files 581 581
Lines 90273 90685 +412
Branches 10099 10247 +148
==========================================
+ Hits 73508 73899 +391
- Misses 14479 14489 +10
- Partials 2286 2297 +11
Continue to review full report at Codecov.
|
e6dc1fb to
5c2cead
Compare
|
This LGTM except for the now-needed rebase. |
5c2cead to
9652f91
Compare
9652f91 to
a043a40
Compare
| expected = [endog[0]] | ||
| for i in range(1, 4): | ||
| expected.append(endog[i] + theta[i, 0] * expected[-1]) | ||
| print(expected) |
|
separated into two commits looks good/useful LGTM, AFAICS |
Add innovations algorithm to convert acov to MA Add filter to filter innovations usign output of ia
Add pandas testing to compat
a043a40 to
75f857d
Compare
|
print is finally gone. |
|
It is not that bad for fairly long time series - I tested numba and it could be trivially sped up by a factor of 250-400 with a simple @numba.jit. |
|
I think we should add numba as optional requirement with several cases to gain experience with it in 0.11, it's a bit late for 0.10. |
|
merge when green (ETA 12 to 13 hours, i.e. not today) |
|
@josef-pkt green. |
|
@bashtage Thank you |
Add innovations algorithm to convert acov to MA
Add filter to filter innovations usign output of ia