time-series-forecasting-rnn-tensorflow icon indicating copy to clipboard operation
time-series-forecasting-rnn-tensorflow copied to clipboard

"Predicted" and "Actual" labels on the final chart are inversed

Open dmitryaleks opened this issue 6 years ago • 0 comments

In train_predict.py there is a mix up with labels. What should be "Actual" is shown as "Predicted" and vice versa:

        # Plot graph: predicted VS actual
        plt.subplot(111)
        plt.plot(predicted_raw, label='Actual')
        plt.plot(y_test_raw, label='Predicted')
        plt.legend()
        plt.show()

dmitryaleks avatar Jan 02 '19 09:01 dmitryaleks