Saunder January 24, 2011 10:39 book
108 Music Emotion Recognition
classifiers can be employed to measure the strength of an emotion class in association
with the music piece under classification. Based on the measurement, the user knows
how likely a music piece belongs to an emotion class. In this way, the classification
result is less deterministic and more acceptable to users.
The idea of applying fuzzy classifiers to the categorical approach to MER is first
proposed in , which represents one of the first attempts to take the subjective na-
ture of human perception into consideration for MER. This chapter provides the de-
tails of this fuzzy approach. Another approach that utilizes the probabilistic estimate
of support vector machine (SVM)  to make soft assignment of classification re-
sult is later proposed in . This prediction result of the probabilistic approach is
the probability distribution of a music piece over the Hevner’s eight emotion classes,
which is called the emotion histogram.Asdescribed in Chapter 9, the idea of making
soft predictions has also been applied to the dimensional approach to MER.
6.2 Fuzzy Classiﬁcation
Compared with traditional classifiers that only assign one class to a test sample, a
fuzzy classifier assigns a fuzzy vector that indicates the relative strength of each class.
For example, assuming our emotion taxonomy consists of four emotion classes, a
fuzzy vector of [0.10.00.80.1]
indicates a fairly strong emotion strength for the
third class, while [0.10.40.40.1]
shows an ambiguity between the second and
the third classes. The ambiguity that fuzzy vectors carry is very important because
emotion perception is intrinsically subjective.
Many algorithms have been developed for fuzzy classification. Below we describe
two of the most popular algorithms, fuzzy k-nearest neighbor and fuzzy nearest-mean.
6.2.1 Fuzzy k-NN Classiﬁer
The (crisp) k-nearest neighbor (k-NN) classifier is commonly used in pattern recog-
nition . A test sample is assigned to the class that represents the majority of
class labels of the k-nearest neighbors of the test sample, where the distance between
samples is measured in the feature space. However, only a class label is assigned to
the test sample. There is no indication of its strength of membership in that class.
Fuzzy k-NN classifier , a combination of fuzzy logic and k-NN classifier,
is designed to solve the above problem. It contains two steps: fuzzy labeling that
computes the fuzzy vectors of training samples (done in model training) and fuzzy
classification that computes the fuzzy vectors of test samples (done in testing).
In fuzzy labeling,wecompute µ
, the fuzzy vector of a training sample.
Several methods have been developed to compute the fuzzy vector [115,165]. These
methods can be generally described by the following formula:
(1 − β), if c = v
(1 − β), otherwise