[BUG] ImportError: cannot import name 'ReducedRegressionForecaster' from 'sktime.forecasting.compose'
See original GitHub issueDescribe the bug Trying to run the first code cell of https://github.com/alan-turing-institute/sktime/blob/master/examples/01_forecasting.ipynb in jupyter lab results in error.
ImportError Traceback (most recent call last)
<ipython-input-1-64cd8edf30ed> in <module>
7 from sktime.forecasting.arima import ARIMA, AutoARIMA
8 from sktime.forecasting.base import ForecastingHorizon
----> 9 from sktime.forecasting.compose import (
10 EnsembleForecaster,
11 ReducedRegressionForecaster,
ImportError: cannot import name 'ReducedRegressionForecaster' from 'sktime.forecasting.compose' (.../env/lib/python3.8/site-packages/sktime/forecasting/compose/__init__.py)
To Reproduce
- pip install sktime matplotlib jupyterlab pmdarima
- jupyter lab
- run the first cell
Expected behavior The code cell runs without errors.
Versions python 3.8.6
System: python: 3.8.6 (default, Dec 25 2020, 15:27:37) [Clang 11.0.0 (clang-1100.0.33.17)] executable: …/env/bin/python machine: macOS-10.15.7-x86_64-i386-64bit
Python dependencies: pip: 21.0.1 setuptools: 49.2.1 sklearn: 0.24.1 sktime: 0.5.3 statsmodels: 0.12.2 numpy: 1.20.1 scipy: 1.6.0 Cython: 0.29.17 pandas: 1.2.2 matplotlib: 3.3.4 joblib: 1.0.1 numba: 0.52.0 pmdarima: 1.8.0 tsfresh: None
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
cannot import name 'ReducedRegressionForecaster' from ' ...
Trying to run the first code cell of https://github.com/alan-turing-institute/sktime/blob/master/examples/01_forecasting.ipynb in jupyter lab ...
Read more >cannot import name 'ReducedRegressionForecaster' from ' ...
python - ImportError: cannot import name 'ReducedRegressionForecaster' from 'sktime. forecasting. compose' - Stack Overflow. Stack Overflow for ...
Read more >Forecasting with sktime
Set-up instructions: this notebook give a tutorial on the forecasting learning task supported by sktime . On binder, this should run out-of-the-box.
Read more >ForecastingPipeline — sktime documentation
ForecastingPipeline is only applying the given transformers to X. The forecaster can ... from sktime.forecasting.compose import ForecastingPipeline >>> from ...
Read more >Changelog — sktime documentation
[BUG] decouple forecasting pipeline module from registry (#3799) @fkiraly ... The name of the test test_methods_do_not_change_state will change to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please run
git checkout v0.5.2
- the main branch (master) is ahead of the release.Fixed this with
pip install -e '.[all_extras]'
instead of simplepip install -e .