Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added multivariate TransformedTargetForecaster, ForecastingPipeline, BaseGridSearch, MultiplexForecaster #1376

Merged
merged 124 commits into from Oct 23, 2021
Merged

Conversation

aiwalter
Copy link
Contributor

@aiwalter aiwalter commented Sep 2, 2021

Reference Issues/PRs

#1364
#220

What does this implement/fix? Explain your changes.

  • Accept isinstance(y, pd.DataFrame) in TransformedTargetForecaster
  • Accept isinstance(y, pd.DataFrame) in BaseGridSearch
  • Accept isinstance(y, pd.DataFrame) in ForecastingPipeline
  • Accept isinstance(y, pd.DataFrame) in MultiplexForecaster

Any other comments?

Waiting for #1301 to be merged, tests will fail before.

PR checklist

For all contributions
  • I've added myself to the list of contributors.
  • Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
  • I've added unit tests and made sure they pass locally.
For new estimators
  • I've added the estimator to the online documentation.
  • I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

thayeylolu and others added 30 commits July 27, 2021 14:40
@aiwalter aiwalter closed this Oct 12, 2021
@aiwalter aiwalter reopened this Oct 12, 2021
Copy link
Contributor

@mloning mloning left a comment

Choose a reason for hiding this comment

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

Hi @aiwalter - looks good! Left a few comments to clarify a few points.

sktime/forecasting/compose/_pipeline.py Outdated Show resolved Hide resolved
sktime/forecasting/compose/_pipeline.py Outdated Show resolved Hide resolved
sktime/forecasting/compose/tests/test_pipeline.py Outdated Show resolved Hide resolved
sktime/forecasting/model_selection/_tune.py Show resolved Hide resolved
sktime/forecasting/naive.py Show resolved Hide resolved
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 good to me overall.

the one point which I would consider a blocker is the change to NaiveForecaster which @mloning mentions, should go in the private version to keep the logic in one place.

sktime/forecasting/tests/test_all_forecasters.py Outdated Show resolved Hide resolved
sktime/forecasting/model_selection/_tune.py Outdated Show resolved Hide resolved
@fkiraly
Copy link
Collaborator

fkiraly commented Oct 17, 2021

@aiwalter, I'll approve if @mloning is happy how you handled _NaiveForecaster.

@aiwalter
Copy link
Contributor Author

Can we get this in @fkiraly @mloning

@fkiraly
Copy link
Collaborator

fkiraly commented Oct 18, 2021

Can we get this in @fkiraly @mloning

I'd like to see @mloning's request resolved, then yes.

@aiwalter
Copy link
Contributor Author

seems Markus is busy these days, if he doesnt accept the solution, I could still do that differently in a separate PR in case he has a better idea.

@fkiraly
Copy link
Collaborator

fkiraly commented Oct 23, 2021

seems Markus is busy these days, if he doesnt accept the solution, I could still do that differently in a separate PR in case he has a better idea.

Fine with me - in my opinion, the open point was addressed, you've moved the in-sample index treatment into _NaiveForecaster.

@fkiraly fkiraly merged commit a2d77aa into sktime:main Oct 23, 2021
@aiwalter aiwalter deleted the multivariate_pipeline branch October 23, 2021 11:26
@mloning
Copy link
Contributor

mloning commented Oct 23, 2021

Yes makes sense, thanks @aiwalter and @fkiraly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:forecasting forecasting module: forecasting, incl probabilistic and hierarchical forecasting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants