Time Series Forecasting, Fourier, Ensemble Method, Data Science, Signal Processing.
we will extend that trend into validation / testing with model.predict(): envelope_features = DeterministicProcess(index=X.index, constant=True, order=2).in_sample() spec4_train = compute_spectrum(df['production'].loc[index_train], max_period=4) spec4_train spec4_model = LinearRegression()