Time Series Forecasting, Fourier, Ensemble Method, Data Science, Signal Processing.
literally the same thing as one-hot encoding, but with P-1 columns instead (drop one column): dummy encoding You could also try to remove the bias term, or use a regularized model, or use gradient descent. In practice, test the model’s performance and make the right decision. Fourier series vs