Skip to content

src/forecasting/baseline.py NaiveMovingAverage - magic number 5 replaced with self.window#37

Open
bobo-jamson wants to merge 1 commit into
PacktPublishing:mainfrom
bobo-jamson:patch-1
Open

src/forecasting/baseline.py NaiveMovingAverage - magic number 5 replaced with self.window#37
bobo-jamson wants to merge 1 commit into
PacktPublishing:mainfrom
bobo-jamson:patch-1

Conversation

@bobo-jamson

Copy link
Copy Markdown

Although it's not used in the predict, it seems that self._fitted_values was always using a window size of 5 rather than a user specified one. Really minor change that stood out to me while reading the code.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant