Data Science, Machine Learning, Time Series Analysis, Analytics, Linear Regression.
extends to the first and last 6 months price_decomp = sm.tsa.seasonal_decompose(price_time, model = 'additive', extrapolate_trend=6) price_decomp.plot(); Time-series decomposition — Image by Author Through a simple moving average, we already saw the trend of our time-series data. Meanwhile, by