Skip to content

Conversation

ngupta23
Copy link
Collaborator

@ngupta23 ngupta23 commented Oct 8, 2021

Related Issuse or bug

Describe the changes you've made

Added option to enforce use of models that have a prediction interval only.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Unit tests added/updated

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • Any dependent changes have been merged and published in downstream modules.

@ngupta23 ngupta23 added the time_series Topics related to the time series label Oct 8, 2021
@ngupta23 ngupta23 added this to the Time Series Beta Release milestone Oct 8, 2021
@@ -234,6 +234,12 @@ def __init__(self, globals_dict: dict) -> None:

from sktime.forecasting.naive import NaiveForecaster # type: ignore

dummy = NaiveForecaster()
Copy link
Member

Choose a reason for hiding this comment

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

Considering that this code block is reused many times, can we make it a function/method?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done. Please check

@ngupta23 ngupta23 requested a review from Yard1 October 8, 2021 22:34
Copy link
Member

@Yard1 Yard1 left a comment

Choose a reason for hiding this comment

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

Thanks!

@ngupta23 ngupta23 merged commit 813df5f into time_series Oct 8, 2021
@ngupta23 ngupta23 deleted the ts_enforce_pi branch October 9, 2021 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
time_series Topics related to the time series
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Time Series] Limit models to only those that have a prediction interval
2 participants