Sktime: Implement multi-output reduction strategy for ReducedRegressionForecaster

Created on 28 Sep 2020  路  7Comments  路  Source: alan-turing-institute/sktime

We currently support the following strategies for reduction from forecasting to regression (see this file):

  • [x] direct
  • [x] recursive
  • [ ] dirrec (see #226)
  • [ ] multi-output (see #440)

For an overview of forecasting strategies for multi-step forecasting horizons see this paper. This issue is about the multi-output strategy. Some models can directly predict multiple outputs, see e.g. LinearRegression:

import numpy as np
from sklearn.linear_model import LinearRegression

y = np.random.normal(size=(10, 3))  # target has multiple columns
X = np.random.normal(size=(10, 5))

estimator = LinearRegression()
estimator.fit(X, y)
y_pred = estimator.predict(X)  # we predict multiple columns
print(y_pred.shape)
>>> (10, 3)

We need to enable the multi-output prediction strategy by adding a "multioutput" option to the "strategy" kwarg in the ReducedRegressionForecaster.

We could check the estimator by checking if it inherits from scikit-learn's MultiOutputMixin.

feature request good first issue implementing algorithms

All 7 comments

I would be happy to contribute this, can I pick it up?

Hi @NikeNano yes thanks! No-one is currently working on this particular issue, but note that there is ongoing development for the dirrect and extending the existing strategies to multivariate versions.

But this issues seems to be sufficiently separated to start working on it. Let me know if you need any help or have any questions!

Thank you @mloning, I will start to work on it tomorrow. Will get back to you if I have any questions.

@mloning is it possible to get access to the article, the link is not working for me due to : AccessDeniedAccess denied

@NikeNano I've fixed the link!

I will not have time to work on this in the near future, so if any one like to pick it up feel free to do so.

@mloning Can you assign me to this issue?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KoolSkotcheCoding picture KoolSkotcheCoding  路  3Comments

adelphi207831197 picture adelphi207831197  路  6Comments

mloning picture mloning  路  9Comments

mloning picture mloning  路  10Comments

mloning picture mloning  路  4Comments