Skip to content

Refactors polynomial trend forecaster#1003

Merged
fkiraly merged 8 commits intosktime:mainfrom
thayeylolu:refactor-polynomial-forecaster
Jun 24, 2021
Merged

Refactors polynomial trend forecaster#1003
fkiraly merged 8 commits intosktime:mainfrom
thayeylolu:refactor-polynomial-forecaster

Conversation

@thayeylolu
Copy link
Collaborator

Reference : #955

We need to slowly re-factor all forecasters to be compliant with the new interface (see PR #912). i.e., no overrides of fit etc and descendant classes only implementing core logic, while the BaseForecaster implements check etc logic.

Currently this is running due to various downwards compatibility workarounds, which should be removed once all forecasters are ready (in "no-override" state)

The forecasters that still need a downstream refactor are:

  • PolynomialForecaster

@thayeylolu thayeylolu requested a review from mloning as a code owner June 21, 2021 11:45
@thayeylolu thayeylolu marked this pull request as draft June 21, 2021 11:45
@fkiraly fkiraly self-requested a review June 22, 2021 11:41
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

This is a full refactor and well done, but I think we can easily also address #1013 in this PR, by removing the superfluous error right with it.

@thayeylolu thayeylolu marked this pull request as ready for review June 23, 2021 06:57
@thayeylolu thayeylolu requested a review from fkiraly June 23, 2021 14:20
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ready to go, let's just wait for the checks to finish.

@thayeylolu
Copy link
Collaborator Author

@mloning this is ready for review :)

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

Successfully merging this pull request may close these issues.

3 participants