Icon

Energy Demand Prediction - Deployment

Simple auto-regressive model to predict a time series

- Simple means just raw data: no seasonality correction, stationarity assumption
- Auto means usage of past of the same time series for prediction. No other exogenous time series/data used.
- Regressive refers to the model: either a linear or a polynomial regression

Annotations and comments
  • Deployment: Simple auto-regressive model to predict a time series
  • We have new data up to now of energy consumption for groups of customers. We want to predict the next hours of energy consumption values. We apply the previously trained regression model to the last 10 hour values to predict the 11th value; then we use this 11th predicted value to shape the past 10 value for the next prediction and we predict the 12th value; and so on ...
  • Con modelli salvati dal training: Regressione Lineare o Polinomiale
  • Loop per creare il nuovo passato
  • Preparazione dei Dati
  • Pulizia
  • leggi i dati di deployment
  • Estrarre una delle time series
  • togliamo time series per non confonderci
  • rimuovere time series (-10)
  • tenere solo prediction
  • chiamarla "time series"
  • Costruisce il passato da x(t) a: x(t), x(t-1), x(t-2), ..., x(t-lag) lag =10
  • teniamo solo l'ultima riga di dati la più recente
  • per data crescente
  • datetime to datetime type

Nodes

Extensions

Links