Search code examples
pythonsktime

ImportError: cannot import name 'ReducedRegressionForecaster' from 'sktime.forecasting.compose'


from sktime.forecasting.compose import ReducedRegressionForecaster

Solution

  • Thats because that doesn't exist.

    https://github.com/alan-turing-institute/sktime/blob/master/sktime/forecasting/compose/__init__.py

    That's not exported by the library. Perhaps you wanted RegressionForcaster or RecursiveRegressionForecaster