Mlp, Time Series Forecasting, Data Science, Machine Learning, TensorFlow.
pandas Series index = np.arange(len(Y_valid)) plt.figure(figsize=(15, 6)) plt.plot(index, Y_valid, label='Actual Sales') plt.plot(index, prediction, label='Predicted Sales', linestyle='--') plt.title('Comparison of Actual and Predicted Sales') plt.xlabel('Index') plt.ylabel('Sales') plt.legend()