Skip to content

ENH: Holt winters (#3817) rebased - #4176

Merged
josef-pkt merged 31 commits into
statsmodels:masterfrom
josef-pkt:holt_winters_rebased
Dec 22, 2017
Merged

josef-pkt merged 31 commits into
statsmodels:masterfrom
josef-pkt:holt_winters_rebased

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

this is a rebase of #3817 with a few squashed commits to avoid notebook output in repo

1) Stripped all the functions out of the main fucntion
2) Typos etc
3) Tried to find source of backwards compatability issues
4) Changed names of parameters and functions as per request
fixed up test
removed the static methods
autpep8 without aggressive
tried to sort out imports causing cyclic alert
Added missing docstrings
changed m to seasonal_length
Fixed boxcox to work with a passed in float lambda
@coveralls

coveralls commented Dec 21, 2017 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.08%) to 82.087% when pulling bc355cd on josef-pkt:holt_winters_rebased into 3f9c351 on statsmodels:master.

@codecov-io

codecov-io commented Dec 21, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #4176 into master will increase coverage by 0.09%.
The diff coverage is 96.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4176      +/-   ##
==========================================
+ Coverage   79.38%   79.48%   +0.09%     
==========================================
  Files         556      558       +2     
  Lines       82992    83455     +463     
  Branches     9473     9538      +65     
==========================================
+ Hits        65886    66331     +445     
- Misses      14937    14950      +13     
- Partials     2169     2174       +5
Impacted Files Coverage Δ
statsmodels/tsa/api.py 100% <100%> (ø) ⬆️
statsmodels/tsa/tests/test_holtwinters.py 100% <100%> (ø)
statsmodels/tsa/holtwinters.py 95.08% <95.08%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 561310b...a2d0e09. Read the comment docs.

@josef-pkt

Copy link
Copy Markdown
Member Author

This pull request introduces 4 alerts - view on lgtm.com

new alerts:

  • 2 for Module-level cyclic import
  • 2 for Potentially uninitialized local variable

Comment posted by lgtm.com

@josef-pkt

Copy link
Copy Markdown
Member Author

all green
LGTM alerts are not problems.

@josef-pkt josef-pkt added this to the 0.9 milestone Dec 22, 2017
@josef-pkt
josef-pkt force-pushed the holt_winters_rebased branch from a47d799 to a2d0e09 Compare December 22, 2017 03:32
@josef-pkt

Copy link
Copy Markdown
Member Author

notebook in PR runs without exceptions, and looks good (just skimming this time)
brief check of docstrings also looks good

small reformatting in last commit

merge when green

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.08%) to 82.084% when pulling a2d0e09 on josef-pkt:holt_winters_rebased into 561310b on statsmodels:master.

1 similar comment
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.08%) to 82.084% when pulling a2d0e09 on josef-pkt:holt_winters_rebased into 561310b on statsmodels:master.

@josef-pkt

Copy link
Copy Markdown
Member Author

This pull request introduces 4 alerts - view on lgtm.com

new alerts:

  • 2 for Module-level cyclic import
  • 2 for Potentially uninitialized local variable

Comment posted by lgtm.com

@josef-pkt
josef-pkt merged commit de9a7da into statsmodels:master Dec 22, 2017
@josef-pkt josef-pkt mentioned this pull request Apr 9, 2018
@josef-pkt josef-pkt modified the milestone: 0.9 Apr 15, 2018
@josef-pkt
josef-pkt deleted the holt_winters_rebased branch April 18, 2018 14:23
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.

4 participants