Committed by
GitHub
Update predict.py. The prediction model is optimized to a time series model, whi…
…ch significantly improves the modeling fitness. In the original method, only linear regression is used to perform simple trend extrapolation, which leads to insufficient prediction accuracy. This optimization adopts time series model, and uses the auto_arima method of pmdarima to automatically select appropriate model parameters (including p, d, q and seasonal parameters) according to historical data. It significantly improves the suitability of the model in time series modeling. In this way, the model can better capture the trend and periodicity of the data, and predict the future heat more reasonable and accurate.
Showing
1 changed file
with
53 additions
and
31 deletions
-
Please register or login to post a comment