EEG-based emotion recognition using a temporal-difference minimizing neural network