Time Series Forecasting, Fourier, Ensemble Method, Data Science, Signal Processing.
it by the time features corresponding to the 4-quarter seasonal component: spec4_regress = spec4_regress / spec4_regress.mean() season_columns = ['s(1,4)', 's(2,4)', 's(3,4)', 's(4,4)'] for c in season_columns: X[c] = X[c] * spec4_regress print(X) const trend trend_squared s(1,4) s(2,4) s(3,4)