Using Keras and Tensorflow to predicted future daily sales.
A Daily Sales Forecast using Keras with Tensorflow is performed. The model take into account Day of the Week, Day of the Month, Week of the Month, Week of the Year, Year of the Month and could be easily improved using Holidays. Accuracy obtained over 92%. The current NN model has proved to improve performance over ARIMA models.
5 layers:
- Input layer: 300 relu neurons with no dropout
- 1st hidden layer: 90 relu neurons with 20% dropout
- 2nd hidden layer: 30 relu neurons with 20% dropout
- 3rd hidden layer: 7 relu neurons with 20% dropout
- Output layer: 1 linear relu
optimizer used: adam loss measured using mean squared error
- 5000 epochs using batch size 100
Accuracy : 0.92
Accuracy (Train): 0.95
Accuracy (Test): 0.92
Accuracy (Production): 0.90