A method for deriving optimal discriminating features indicative of a subject state when the subject listens to one of a set of musical pieces, comprising a step of extracting frequency features from the subjects EEG signal when the subject is in a first subject state and a second subject state, the frequency features being extracted from more than one frequency band in one set of time segments and identifying optimal discriminating features from the extracted frequency features, the optimal discriminating features indicative of characteristics of the EEG signal when the subject is in the first subject state and the second subject state, wherein one of the first subject state and the second subject state indicates that the subject likes a musical piece while the other state indicates that the subject does not like the musical piece.