I am unable to import Naive Moving Average as i run the following code
from src.forecasting.baselines import NaiveMovingAverage
I am getting the following error:
ImportError Traceback (most recent call last)
Cell In[25], line 1
----> 1 from src.forecasting.baselines import NaiveMovingAverage
File ~\OneDrive\Desktop\thesis\book_reading\Modern-Time-Series-Forecasting\src\forecasting\baselines.py:2
1 import numpy as np
----> 2 from darts.models.forecasting.forecasting_model import LocalForecastingModel
3 from darts import TimeSeries
6 class NaiveMovingAverage(LocalForecastingModel):
ImportError: cannot import name 'LocalForecastingModel' from 'darts.models.forecasting.forecasting_model'
I am unable to import Naive Moving Average as i run the following code
from src.forecasting.baselines import NaiveMovingAverage
I am getting the following error:
ImportError Traceback (most recent call last)
Cell In[25], line 1
----> 1 from src.forecasting.baselines import NaiveMovingAverage
File ~\OneDrive\Desktop\thesis\book_reading\Modern-Time-Series-Forecasting\src\forecasting\baselines.py:2
1 import numpy as np
----> 2 from darts.models.forecasting.forecasting_model import LocalForecastingModel
3 from darts import TimeSeries
6 class NaiveMovingAverage(LocalForecastingModel):
ImportError: cannot import name 'LocalForecastingModel' from 'darts.models.forecasting.forecasting_model'