scieee AI-readable full text Open interactive document viewer

Shape Descriptors for classification of functional data

Epifanio, Irene

Abstract

Curve discrimination is an important task in engineering and other sciences. We propose several shape descriptors for classifying functional data, inspired by form anal- ysis from the image analysis eld: statistical moments, coe cients of the components of independent component analysis (ICA) and two mathematical morphology descrip- tors (morphological covariance and spatial size distributions). They are applied to three problems: an arti cial problem, a speech recognition problem and a biomechan- ical application. Shape descriptors are compared with other methods in the literature, obtaining better or similar performances

Full text

Shape Descriptors for Classification of Functional Data Irene Epifanio Departament de Matem`atiques Universitat Jaume I 12071-Castell´o, Spain. E-mail: [email protected]. February 8, 2008 Abstract Curve discrimination is an important task in engineering and other sciences. We propose several shape descriptors for classifying functional data, inspired by form analysis from the image analysis field: statistical moments, coefficients of the components of independent component analysis (ICA) and two mathematical morphology descriptors (morphological covariance and spatial size distributions). They are applied to three problems: an artificial problem, a speech recognition problem and a biomechanical application. Shape descriptors are compared with other methods in the literature, obtaining better or similar performances. Keywords: Curve discrimination; statistical moment; independent component analysis; spatial size distribution; morphological covariance 1 Introduction Technological advances have permitted the acquisition of functional data or curves. Functional data analysis (FDA) provides statistical procedures for functional observations. 1 Ramsay and Silverman (2005) give an excellent overview. Ferraty and Vieu (2006) provide a complementary and very interesting view on nonparametric methods for functional data. The field of FDA is quite new and there is still a lot of work to be done, but several applications in different fields have been developed in recent years (Ramsay and Silverman, 2002). Furthermore, the software that the authors used is available on the website for these books. In this paper, we focus on the curve discrimination problem, that is the objects to classify are functional observations. We have Kdifferent types of curve and the aim is to classify a new function as one of the Ktypes. A biomechanical application has partially motivated this paper: the functional assessment of lumbago. We analyze the ground force recordings in the sit-to-stand (STS) movement for three groups: patients, controls and pretenders. The objective is to classify a new observation into one of these three classes. Curve discrimination arises in many contexts and is an important problem. A clear example is signal discrimination, which has been considered in several papers involving, for instance, the use of high-resolution radar returns for target detection (Hall et al., 2001) or the recognition of speech signals (Hastie et al., 1995; Glendinning and Fleet, 2004). Other interesting applications include medical diagnosis from EEG measurements from multiple scalp sites (Anderson et al., 1998), the automatic classification of rivet defects using eddy currents (Lingvall and Stepinski, 2000), gait analysis (Huang, 2001) and chemometric applications such as the prediction of the fat content of a meat sample based on the nearinfrared absorbance spectrum (Ferraty and Vieu, 2003) or a polymer discrimination problem (Naya et al., 2004). When we have many highly correlated predictors such as those obtained by discretizing a function, classical tools such as Fisher’s linear discriminant analysis (LDA) can fail. Different solutions have been proposed. For example, Hastie et al. (1995) overcame this problem by a regularized version of LDA called penalized discriminant analysis (PDA), Marx and Eilers (1999) proposed a generalized linear regression approach and Ferraty and Vieu (2003) 2 proposed a nonparametric tool, calculating the posterior probability of belonging to a given class of functions by using a consistent kernel estimator. When only fragments of the curves are observed, the technique introduced by James and Hastie (2001) can be used. Recent advances in functional data classification appear in the following papers. These papers are closely related to the method proposed as they all involve a type of preprocessing (sometimes implicit) of the functional data. Rossi and Conan-Guez (2005) and Conan- Guez and Rossi (2004) proposed the use of neural networks for nonlinear regression and classification of functional data (see also Rossi et al. (2005)); James and Silverman (2005) studied a non linear regression model for functional descriptors (see also James (2002) for some simpler and earlier extensions of the linear functional model by the same author); Biau et al. (2005) studied k-nearest neighbor classifiers for functional data and provided very interesting theoretical results (see also the ongoing work by Berlinet et al. (2005) and related theoretical work by Fromont and Tuleau (2006)); Rossi and Villa (2006) used Support Vector Machines (SVM) for functional data classification; Ferr´e and Villa (2005) studied a preprocessing approach in which functional data are described via a projection on an optimal basis (in the sense of the inverse regression approach), and subsequently submitted to a neural network for further processing (Ferr´e and Villa, 2006). Finally, a different approach is introduced by L´opez-Pintado and Romo (2006), where robust procedures based on the concept of depth to classify curves were proposed. One of the main objectives of the statistics of shapes and forms is to study how they can be described for the purposes of classification or clustering (Stoyan and Stoyan, 1994). According to Stoyan and Stoyan (1994), shapes can be described by three kinds of tools: firstly, set descriptors and mathematical morphology tools; secondly, using landmarks or specific features; and thirdly, employing a function describing the contours. In form analysis, it is usual to analyze binary images and these figures can be well characterized by their contours. Typical boundary descriptors in image analysis are Fourier descriptors and statistical moments (Gonz´alez et al., 2004). Furthermore, as univariate functional data can be 3 seen as a one-dimensional (1-D) image, we can use 1-D mathematical morphology tools for describing and discriminating according to its shape. As landmark identification is usually done manually, we will not consider that tool in this paper. In short, we will employ three kinds of shape (or form) descriptors for discriminating: 1) Statistical moments; 2) Coefficients of an appropriate basis function system; and 3) Shape descriptors based on mathematical morphology. The paper is organized as follows. Shape descriptors are introduced in Section 2, where the methodology is also explained. In Section 3 the proposed methods are applied to three problems: an artificial problem, a speech recognition problem and a biomechanical application. Shape descriptors are compared with some standard methods and more recent techniques. These examples illustrate the good behavior of our descriptors, which provide better or similar performances. Finally, some conclusions are given in Section 4. 2 Methodology: shape descriptors and classification procedures Let x1, ..., xnbe a collection of ncurves defined on the interval [a, b]. It is always assumed that functions satisfy reasonable smoothness conditions and are square integrable functions on this interval. However, in practice the curves are not observed continuously but in a finite set of points. In supervised curve classification, given a learning sample containing observed curves with known class memberships {1, ..., K}, our problem is to predict the membership group of new curves. Curves are described by means of different shape features: a feature vector. We calculate these features for curves in the training and test sets. A suitable classifier is then used to assign curves in the test set to a class. If the original membership of each test sample is known, the quality of the classifier can be assessed in terms of the percentage of correct (or incorrect) classifications. 4 In short, a shape feature vector is associated with each curve (feature extraction stage) and this finite-dimensional vector is employed in the classification stage. We transform each observed curve into an appropriate vector of characteristics that describes our data better. This kind of preprocessing is a powerful method for improving the performance of a learning algorithm, instead of using the raw features (see section on Feature Extraction in Hastie et al. (2001, pp. 126-127)). For the classification stage, we use classical classifiers (Ripley, 1996): quadratic or linear discriminant analysis, depending on which provides better results in each case. Although more sophisticated classifiers could be used in the classification stage, we have chosen those classical classifiers since we are mainly interested in the feature extraction stage. Note that if ideal discriminant features are extracted (each class is represented by a region of the feature space which is well separated from the regions representative of other classes), the task of the classifier should be trivial. The methods employed to extract the feature vectors describing the shape of the curves are presented in the following sections. Statistical moments are introduced in Section 2.1. Section 2.2 considers the coefficients of an appropriate basis function system, while two mathematical morphology descriptors (morphological covariance and spatial size distributions) are presented in Section 2.3. More details about the appropriate selection of the parameters for each method will be given in Section 3. 2.1 Statistical moments If our functions were density functions (they could be made positive and normalized to unit area), moments would be directly related to the shape of the functions. It is well-known that the first moment indicates the location, the second moment measures the spread of the curve about the mean, the third moment measures its symmetry with reference to the mean and the fourth moment measures the kurtosis. In image analysis, statistical moments have been widely (and successfully) used for boundary descriptions (Gonz´alez et al., 2004). Our descriptors are based on this idea, but we do not normalize our functions. If we 5 had normalized the functions, we would have lost information about the function values, and therefore about the size. With normalization, the scale information is not preserved and only the shape is considered. Let xbe a curve defined on the interval [0,1]. If defined on [a, b], this can be easily affine-transformed to the unit interval. In practice, the curve is observed in mequi-spaced points {x(tk); k= 1, ..., m}, with t1= 1/m and tm= 1. Although xis not a density curve, we can extrapolate moment definitions on this curve and, abusing the language, we also call them moments. The non-central moment of order rof xcan be computed as: mr= m X k=1 tr k·x(tk).(1) Note that as the curve is not normalized, the moment of order zero can be useful. Furthermore, the unit interval has been considered because otherwise the values could increase greatly when exponentiated, as the curve is not normalized. Also note that Eq. 1 can be seen as an approximation of R1 0trx(t)dt. In this paper, the truncated monomial basis tr is used because of its simplicity, interpretability and the good results obtained in pattern recognition. Another basis with other properties can be chosen. For example, Legendre moments are well established orthogonal moments. See Shutler (2002) for a good compendium on statistical moments. The curve can be described by a vector of its moments, which is used in the classification stage. The number of moments used, that is to say the length of the feature vector, is selected by Monte Carlo cross-validation (MC CV) (Burman, 1989), i.e. repeated random splits of the data set into a training and a validation set. The data are partitioned 50 times into disjoint train and validation subsets, where the validation subset is 62.5% or 50% of the overall data, depending on the specific example. The key distinction between MC CV and v-fold cross-validation is that in MC CV the different validation subsets are chosen randomly and need not be disjoint. We compute the results for a different number 6 of moments and we choose the length for which the best results are obtained. Afterwards, performance is assessed by another application of MC CV on newly generated data. 2.2 Coefficients of independent component analysis (ICA) components In shape analysis, it is quite common to select the Fourier basis and use the basis coefficients as shape descriptors since there are good numerical methods and programs for its calculation and a non-mathematical interpretation of some coefficients is frequently possible (Stoyan and Stoyan, 1994). The Fourier basis is especially useful for an extremely stable function, with no strong local features and the same curvature order everywhere (Ramsay and Silverman, 2005), which could make them inappropriate for our functional data. We consider a more sophisticated basis system, adapted to our data: ICA. A good reference on ICA is Hyv¨arinen et al. (2001). Let us briefly recall the definition of ICA. Assume that we observe nlinear mixtures x1(t), ..., xn(t) of nindependent components sj(t), xi(t) = n X j=1 aijsj(t),for all i. (2) In practice, we have discretized curves ({xi(tk); k= 1, ..., m}), therefore we can consider the m×ndata matrix X={xi(tk)}to be a linear combination of independent components, i.e. X=SA, where columns of Scontain the independent components and Ais a linear mixing matrix. ICA attempts to un-mix the data by estimating an un-mixing matrix W where XW =S. Under this generative model the measured signals in Xwill tend to be more Gaussian than the source components (in S) due to the Central Limit Theorem. Thus, in order to extract the independent components/sources, we search for an un-mixing matrix Wthat maximizes the nongaussianity of the sources. We could use principal component analysis (PCA) as in Hall et al. (2001) and Ferraty and 7 Vieu (2003). However, ICA has recently been shown to be a potentially powerful method for analyzing signals (Back and Weigend, 1997; Hastie et al., 2001; Hyv¨arinen et al., 2001). In comparison with PCA, ICA allows the underlying structure of the data to be more readily observed. PCA is a purely second-order statistical method, whereas ICA requires the use of higher-order statistics. Therefore, ICA can be seen as an extension to PCA. Furthermore, ICA can be considered a variant of projection pursuit (Hastie et al., 2001). Projection pursuit is a technique for finding interesting projections of multidimensional data. ICA has also been successfully used for feature extraction and image analysis (Hyv¨arinen et al., 2001). In fact, the basis functions obtained when ICA is applied to images are spatially localized and selective for orientation and spatial frequency (scale) and are therefore similar to basis functions of multiscale wavelet representations (Olshausen and Field, 1996; Bell and Sejnowski, 1997). We compute ICA for functions in the training set. The coefficients in this base (S) for functions in the test set can be easily obtained by least squares fitting (Ramsay and Silverman, 2005). If y={y(tk)}m k=1 is a discretized function in the test set, its coefficients are: (STS)−1STy. These coefficients constitute the feature vector used in the classification stage. Note that we assume that all functions are observed at the same points, which is a normal situation. In any case, this is not a restrictive issue since we can always fit a basis and estimate the functions at the desired points. When applying ICA to real data, before the application of the ICA algorithm, it is useful to preprocess the data (Hyv¨arinen et al., 2001). When dealing with signals, as in our case, filtering (smoothing) of the data is useful for reducing noise. Another very useful thing to do is to previously reduce the dimension of the data by PCA, thus reducing noise and preventing overlearning. Therefore we compute the PCA first, retaining a certain number of components, and then estimate the same number of independent components as the PCA reduced dimension. 8 The number of independent components used is also selected by MC CV. 2.3 Mathematical morphology descriptors Mathematical morphology is a theory for the analysis of spatial structures which aims at analyzing the shape and form of objects. Many powerful techniques have been developed with this in mind and a good reference in this field is Soille (2003). Although image analysis is the main field of application for this theory, it can also be applied to 1-D continuous functions or, in practice, 1-D discretized functions. For instance, morphological tools were previously applied to radar signals (Rivest, 2006). In this paper we use two kinds of morphological descriptors, useful for extracting shape and size characteristics, which were originally successfully employed in texture classification. These descriptors are morphological covariance (Soille, 2003) and spatial size distributions (Ayala and Domingo, 2001). Before recalling their definitions, we introduce some concepts. 2.3.1 Preliminaries Let Bbe a subset of the 1-D Euclidean space R, called the structuring element. Let ˇ B be the reflection of Bwith respect to the origin ( ˇ B={−b:b∈B}), and let fbe a 1-D function. The erosion of fby Bis [εB(f)](t) = infb∈Bf(t+b), the dilation of fby Bis defined by [δB(f)](t) = supb∈Bf(t+b) and finally, the opening of fby Bis γB(f) = δˇ B[εB(f)]. These definitions are illustrated in Fig. 1, where a discrete version is considered, since we usually observe discretized curves. If the curve is viewed as a topographic relief, the value of the curve at a certain point would be its elevation. Erosion will remove any ’hills’ or ’peaks’ of the original curve which are smaller than the structuring element. However, it will also cause ’valley’ widening which will result in sharper ’peaks’. Dilation will remove ’valleys’ that cannot contain the structuring element and ’peaks’ will be widened. Finally, opening will cut ’peaks’ that cannot contain the structuring element. See Soille (2003) for 9 MC CV selecting the best parameters, and another 50 datasets for assessing the error, that is to say 120000 curves. The same datasets are used for the different methods. A sample of five curves for each of the three classes appears in Fig. 5. 2 4 6 8 10 12 14 16 18 20 −5 0 5 10 Group 1 2 4 6 8 10 12 14 16 18 20 −5 0 5 10 Group 2 2 4 6 8 10 12 14 16 18 20 −5 0 5 10 Group 3 Figure 5: Five waveform curves for each class. Ferraty and Vieu (2003) performed a wide comparative study, computing firstly the results for the classification and regression tree procedure by Breiman et al. (1984) (CART); secondly, the flexible discriminant analysis proposed by Hastie et al. (1994) (FDA) using three regression methods; thirdly, the multivariate partial least-squares regression adapted to the classification setting (Martens and Naes, 1989) (MPLSR); and fourthly, the penalized discriminant analysis introduced by Hastie et al. (1995) using the classical ridge penalty (PDA/Ridge). They also considered the nonparametric method using kernel and semimetrics based on PCA introduced by themselves (Ferraty and Vieu, 2003), which also corresponds to the method proposed by Hall et al. (2001) (NPCD/PCA). Finally, they used the nonparametric method including the MPLSR method in its semi-metric, also introduced by themselves (Ferraty and Vieu, 2003) (NPCD/MPLSR). 16 As the data are somewhat noisy, it could be worth smoothing the data before calculating the proposed descriptors. Shape descriptors are computed for the raw data and for the smoothed data with a different smoothing parameter λ(we consider λ= 0.01, 1, 10, 100 and 1000). Specifically, data are smoothed by roughness penalized spline smoothing (Ramsay and Silverman, 2005). We use 32 basis functions of B-splines of order 6, knots are equally spaced, and the roughness penalty is the integrated squared second derivative. Finally, we choose the λwhich provides the best results by MC CV. All combinations of smoothing and parameters for each method are considered by MC CV in each model selection phase for the different descriptors. For the descriptors based on statistical moments, the best MC CV results are achieved by first smoothing the data with λ= 1000 (although the results did not change very much, less than 0.5% if we worked with the raw data), taking as the feature vector the first five moments (of order 0, 1, 2, 3 and 4) and then using quadratic discrimination. Fig. 6 shows the average test error rates with quadratic discrimination over 50 new randomly built samples as a function of the number of moments and λ. 4 5 6 7 8 0.075 0.08 0.085 0.09 0.095 0.1 0.105 First moments Test error rates Raw data λ = 10 λ =1000 Figure 6: Waveform data as in Ferraty and Vieu (2003): average rates of misclassification over 50 samples as a function of the number of moments and smoothing parameter λ. 17 For the descriptors based on ICA coefficients, we work with the raw data and the dimension is reduced to three by PCA. Afterwards, the ICA coefficients for the three components are computed and used with the quadratic classifier. The performance of test error rates over 50 random samples with quadratic and linear classifiers and a different number of components is given in Table 1. The first three principal components (of centered curves) and independent components for a training set are shown in Fig. 7 for illustration. Note that if a reconstruction of a curve based on these PCA components had to be done, the location should have to be added. The second (third) ICA component is similar to the first (second) PCA component. In order to aid their interpretation, the independent components are subtracted from the overall mean function. The first of these functions resembles h3, the generating function, whereas the second and third functions resemble the mean functions for the second and third group, respectively. Table 1: Waveform data as in Ferraty and Vieu (2003): average rates of misclassification with quadratic and linear classifiers over 50 samples as a function of the number of ICA components. No. components 2 3 4 5 6 7 Quadratic 0.262 0.065 0.066 0.067 0.069 0.070 Linear 0.323 0.070 0.071 0.073 0.074 0.077 5 10 15 20 −0.2 0 0.2 5 10 15 20 −0.2 0 0.2 5 10 15 20 −0.2 0 0.2 5 10 15 20 0 2 4 5 10 15 20 −2 −1 0 1 5 10 15 20 −3 −2 −1 0 Figure 7: Waveform data as in Ferraty and Vieu (2003): the principal component (left hand panel) and independent component (right hand panel) solutions. 18 Before using morphological descriptors, the data are smoothed by λ= 100. The morphological covariance is estimated at 6 points from 50 to 65, in increments of 3 (the zone where the differences among groups are more noticeable). Then the quadratic classifier is employed. For the S, values of αare taken from 3 to 75 in increments of 9, and βvaries from 0 to 45 in increments of 15, giving a maximum of 36 characteristics. This time, the linear classifier provides better results. Table 2 shows the test error rates averaged over 50 simulations, together with the standard deviation for our methods and the most appropriate approaches considered in Ferraty and Vieu (2003), with parameters (in parenthesis) selected to give the smallest misclassification error as in Ferraty and Vieu (2003). The number in brackets for our methods indicates the number of characteristics. Table 2: Waveform data as in Ferraty and Vieu (2003): test error rates averaged over 50 simulations. Parameter values given in parentheses are discussed in the text. Method Test error rates Std. dev. Morph. Covariance (6ch) 0.097 0.013 PDA/Ridge (λ= 2000) 0.087 0.016 NPCD/PCA (qopt = 3) 0.079 0.012 NPCD/MPLSR (qopt = 3) 0.072 0.012 S(36ch) 0.071 0.012 Moments (5ch) 0.070 0.011 ICA (3ch) 0.065 0.011 Our shape descriptors (excepting the morphological covariance) provide better or similar results, with small standard deviations. We must highlight that ICA descriptors greatly decrease the error rate to 6.5%. In this problem, morphological covariance does not achieve the same discriminatory power as others. Nevertheless, it obtains much better results than FDA or CART (see Ferraty and Vieu (2003)). We also consider another procedure for assessing performance: in each realization of train/validate/test data, a distinct value of the tuning parameters using only that set is chosen, and is used to assess the performance of the model over the test set. Results are nearly the same: 0.066 for ICA and 0.071 for moments. 19 3.1.1 Comparisons with recent methods We compare our descriptors with two recent methods that use the same data: the one by Rossi and Conan-Guez (2005) and the one by Ferr´e and Villa (2005). Firstly, the results from Rossi and Conan-Guez (2005) can be directly compared with those shown in Table 2, since the experimental setup is identical. They obtained 0.098 with a classical one hidden layer perceptron, 0.065 with their functional multilayer perceptron approach and 0.072 with an alternative implementation of their approach. Secondly, although Breiman’s waves are also used in Ferr´e and Villa (2005), the experimental setup is different. We reproduce it in order to compare our descriptors. Training and test samples of size 1500 are also used. Only results for our best descriptors in this example (moments and ICA) are calculated. MC CV is used with raw data for determining the best parameters. Note that curves are discretized at 21 points and equal priors are used (so for each dataset there are roughly 500 observations in each class), which causes misclassification rates to be higher. Table 3 gives a description of the performance of test error rates over 50 random samples for the first seven moments and three ICA components with the linear classifier, together with the best result obtained by functional SIR (Sliced Inverse Regression). Table 3: Waveform data as in Ferr´e and Villa (2005): percentages of misclassification over 50 samples (mean, median, standard deviation, first quartile and minimum, respectively). Method Mean Median Std. dev. 1st Q. Min. SIR (Ferr´e and Villa, 2005) % 15.92 15.93 0.55 15.60 14.73 Moments (7ch) % 14.43 14.23 0.98 13.73 12.27 ICA (3ch) % 13.95 13.97 0.91 13.27 12.2 3.2 Phoneme data This is the well-known speech recognition problem described by Hastie et al. (1995). The dataset was formed by selecting five phonemes for classification based on digitized speech from the TIMIT database (TIMIT Acoustic-Phonetic Continuous Speech Corpus, NTIS, 20 US Dept of Commerce). The phonemes were transcribed as follows: ”sh” as in ”she”, ”dcl” as in ”dark”, ”iy” as the vowel in ”she”, ”aa” as the vowel in ”dark”, and ”ao” as the first vowel in ”water”. A total of 4509 speech frames of 32 msec duration were selected. A log-periodogram was computed from each speech frame, which is one of several widely used methods for casting speech data in a form suitable for speech recognition. Thus the data used in what follows consist of 4509 log-periodograms of length 150 (we retain only the first 150 frequencies as in Ferraty and Vieu (2003)). Fig. 8 displays the first five log-periodograms for each class of phoneme. 0 50 100 150 0 10 20 aa 0 50 100 150 0 10 20 ao 0 50 100 150 0 10 20 dcl 0 50 100 150 0 10 20 iy 0 50 100 150 0 10 20 sh Figure 8: Five log-periodograms for each class. The experimental setup is analogous to the one in Ferraty and Vieu (2003) in order to compare the results. We randomly build 100 samples of size 2000: 50 for obtaining the best parameters and 50 for assessing the error by MC CV. Each sample is divided into a training sample with 750 log-periodograms (150 per class) and a validation (or test) sample, in the case where we are in the model selection phase (or in the final model assessing phase), which contains 1250 log-periodograms, 250 per class. As seen in Fig. 8, phoneme data are noisy. Therefore, shape descriptors are applied to 21 both raw data and smoothed data by roughness penalized spline smoothing, following the same procedure explained in Section 3.1. With regard to statistical moments, the first fifteen moments with raw data give the best results with quadratic discrimination. Regarding ICA coefficients, the complete dimension after smoothing with λ= 0.01 is considered. Thus, the feature vector of length 31 is utilized with the linear classifier. This basis resembles wavelets, which are used in speech recognition problems as they provide a representation localized in time and frequency. The morphological covariance is estimated from the raw data, with time gaps running from 3 to 148 in increments of 5, giving a maximum of 30 characteristics. The quadratic classifier is selected, the same as for S, which is computed after smoothing the data with λ= 10. Sis estimated at αfrom 1 to 141 in increments of 10 and βfrom 0 to 135 in increments of 45. This gives a maximum of 60 characteristics. Fig. 9 displays boxplots with test error rates of the 50 test samples for our descriptors and the best standard in this case: PDA/Ridge with shrinkage penalty coefficient λ= 1000. The performance of moments and ICA descriptors is similar to the best standard. Table 4 presents these results, together with the standards NPCD/PCA (qopt = 6) and NPCD/MPLSR (qopt = 7). Table 4: Phoneme data as in Ferraty and Vieu (2003): average percentages of misclassification over 50 simulations. Moments PDA/Ridge ICA NPCD/MPLSR S Morph. Cov. NPCD/PCA % 8.56 8.58 8.84 8.99 10.2 10.2 10.75 A double layer of MC CV (Ripley, 1996, section 2.7.) is also considered: for each one of the 50 samples used for parameter selection, 1250 of the non-selected log-periodograms (250 per class) are chosen to assess the performance, using the respective training sample. The results are similar to the previous ones, with means of 8.43%, 8.45% and 8.82% for PDA/Ridge, moments and ICA descriptors, respectively. 22 Moments PDA/Ridge ICA Morph. Cov. S 7 7.5 8 8.5 9 9.5 10 10.5 11 11.5 12 Figure 9: Boxplots of the percentages (%) of misclassification over 50 test samples for phoneme data as in Ferraty and Vieu (2003). 3.2.1 Comparisons with recent methods We compare our descriptors with three recent methods that use the same data, although the length of the log-periodograms is 256: the one by Ferr´e and Villa (2006), the one by Conan-Guez and Rossi (2004), and Rossi and Conan-Guez (2005), and finally the one by Rossi and Villa (2006). We reproduce the different experimental setups, and only calculate results for our best descriptors in this example (moments and ICA). According to the experimental design in Ferr´e and Villa (2006), we randomly build 50 samples, where both the learning and test samples contain 1735 log-periodograms (347 for each class). The same parameters used previously are considered with the linear classifier. Table 5 gives a description of the performances. SIR-NNr stands for the method introduced in Ferr´e and Villa (2006) (the functional SIR regularized by penalization, which precedes a neural network), and SIR-NNp stands for a classical SIR (as presented in Ferr´e and Yao (2003)) as preprocessing of a neural network. With regard to the work by Conan-Guez and Rossi (2004), and Rossi and Conan-Guez (2005), the training and test sets are fixed and preestablished. They contain 3340 and 1169 log-periodograms respectively. We compute the results for a different number of moments 23 Table 5: Phoneme data as in Ferr´e and Villa (2006): percentages of misclassification over 50 samples (mean, median, standard deviation, first quartile and minimum, respectively). Method Mean Median Std. dev. 1st Q. Min. SIR-NNr % 8.21 8.16 0.56 7.90 6.74 SIR-NNp % 8.38 8.24 0.59 7.95 7.20 Moments (15) % 8.46 8.39 0.56 8.18 6.63 ICA (31) % 8.63 8.56 0.53 8.24 7.61 PDA/Ridge % 8.95 8.99 0.54 8.70 7.20 NPCD/PCA % 9.78 9.68 0.65 9.34 8.30 (with raw data, as before) and independent components (with smoothed data with λ= 0.01, as before) with quadratic discrimination. The classification error rates obtained by a multi-layer perceptron and the functional multi-layer perceptron approach are 8.30% and 7.70% respectively (Conan-Guez and Rossi, 2004). Table 6 shows our results. For selecting a particular model, we split the training set into two parts (proportionally to the original sizes): a new training set with 2474 samples and a validation set with 866 samples. The validation set is used to estimate prediction error for model selection and then, having chosen the final model, we estimate the prediction error on the original test set using the model selected with the original training set. Using this methodology, the first eleven moments and 30 ICA components are chosen, with percentages of misclassification of 7.53% and 7.70%, respectively. Table 6: Percentages of misclassification over the test set, as a function of the number of moments (M) and ICA components (I), for phoneme data as in Conan-Guez and Rossi (2004), labelled by CGR, and Rossi and Villa (2006), labelled by RV. M 10 11 12 13 14 15 CGR % 7.70 7.53 7.70 7.44 7.36 7.87 RV % 18.68 18.22 19.36 18.91 18.68 20.05 I 20 21 22 23 24 25 26 27 28 29 30 31 CGR % 8.13 7.44 7.87 8.13 8.13 8.55 8.04 7.70 7.53 7.70 7.70 8.13 RV % 17.77 17.77 18.0 18.91 18.91 19.13 19.13 19.59 18.45 20.05 19.59 18.68 In the paper by Rossi and Villa (2006), the training and test sets are again fixed and preestablished, with sizes of 1278 and 439 respectively. However, they restricted themselves to classifying ”aa” against ”ao” because this is the most difficult sub-problem in the 24 database. We compute the results for a different number of moments and independent components, as previously, with the quadratic and linear classifier, respectively. The error rates on the test set for the methods reported in Rossi and Villa (2006) are: 22.10% for Functional Gaussian SVM, 19.36% for Functional linear SVM and 20.05% for Linear SVM. Table 6 summarizes our results. Using the same methodology as before for selecting a particular model, the first eleven moments and 31 ICA components are chosen, with percentages of misclassification of 18.22% and 18.68%, respectively. 3.3 Biomechanical data As mentioned earlier, a biomechanical application has partially motivated this paper: the functional assessment of lower back pain. The sit-to-stand (STS) movement is of interest in functional evaluations related to balance control, lower extremity dysfunctions or lower back pain. Three groups, interesting from a clinical point of view, are considered: first, healthy volunteers; second, back pain patients and third, subjects with previous back pain episodes who are pretending to suffer from them still. The controls consisted of 59 healthy volunteers between the ages of 23 and 65 with no history of locomotor disturbance. The patients group consisted of 42 subjects between the ages of 21 and 62 recruited from the Rehabilitation Department of the Arnau de Vilanova Hospital. All of them had a history of chronic, nonspecific lower back pain. Two criteria were used to select the subjects: a nonzero score on the Jensen pain scale (Jensen et al., 1989) and a low or moderate score on the Oswestry lower back pain disability questionnaire (Fairbank et al., 1980). Patients suffering an acute pain episode were rejected for ethical reasons. Finally, a group of subjects pretending to have current back-pain problems was included in the study. This group consisted of 13 volunteers between the ages of 25 and 56 having suffered a previous lower back pain episode at least two years before the experiment, but with no current symptoms. They were instructed to remember the disability associated 25 Hastie, T. and Tibshirani, R. (2006), mda: Mixture and flexible discriminant analysis. R port by Leisch, F., Hornik, K. and Ripley, B. D. Hastie, T., Tibshirani, R., and Buja, A. (1994), “Flexible discriminant analysis by optimal scoring,” Journal of the American Statistical Association, 89, 1255–1270. Hastie, T., Tibshirani, R., and Friedman, J. (2001), The Elements of Statistical Learning. Data mining, inference and prediction, Springer-Verlag. Huang, P. S. (2001), “Automatic gait recognition via statistical approaches for extended template features,” IEEE Transactions on Systems, Man and Cybernetics B, 31, 818–824. Hyv¨arinen, A. (1999), “Fast and robust fixed-point algorithms for indepent component analysis,” IEEE Transactions on Neural Networks, 10, 626–634. Hyv¨arinen, A., Karhunen, J., and Oja, E. (2001), Independent component analysis, New York: Wiley. James, G. and Hastie, T. (2001), “Functional linear discriminant analysis for irregularly sampled curves,” Journal of the Royal Statistical Society, Series B, 533–550. James, G. M. (2002), “Generalized linear models with functional predictor variables,” Journal of the Royal Statistical Society, Series B, 411–432. James, G. M. and Silverman, B. (2005), “Functional adaptive model estimation,” Journal of the American Statistical Association, 565–576. Jensen, M. P., Karoly, P., O’Riordan, E. F., Bland, F., and Burns, R. S. (1989), “The subjective experience of acute pain. An assessment of the utility of 10 indices,” Clinical Journal of Pain, 5, 153–159. Lingvall, F. and Stepinski, T. (2000), “Automatic detection and classifying defects during eddy current inspection of riveted lap-joints,” Independent Nondestructive Testing and Evaluation, 33, 47–55. 32 L´opez-Pintado, S. and Romo, J. (2006), “Depth-based classification for functional data,” in DIMACS Series in Discrete Mathematics and Theoretical Computer Science, vol. 72, pp. 103–120. Martens, H. and Naes, T. (1989), Multivariate Calibration, Wiley. Marx, B. and Eilers, P. (1999), “Generalized linear regression on sampled signals and curves: a P-spline approach,” Technometrics, 41, 1–13. Matheron, G. (1975), Random Sets and Integral Geometry, London: Wiley. Naya, S., Cao, R., and Artiaga, R. (2004), “Nonparametric regression with functional data for polymer classification,” in Proceedings in Computational Statistics, pp. 1569–1576. Olshausen, B. A. and Field, D. (1996), “Emergence of simple-cell receptive field properties by a learning a sparse code for natural images,” Nature, 381, 607–609. Press, W. H., Flannery, B. P., Teulosky, S. A., and Vetterling, W. T. (1992), Numerical Recipes in C: The Art of Scientific Computing, Cambridge: Cambridge University Press. R Development Core Team (2007), R: A Language and Environment for Statistical Computing, R Foundation for Statistical Computing, URL http://www.R-project.org. ISBN 3-900051-07-0. Ramsay, J. and Silverman, B. W. (2002), Applied Functional Data Analysis, Springer. Ramsay, J. O. and Silverman, B. W. (2005), Functional Data Analysis, Springer. Ramsay, J. O. and Wickham, H. (2007), fda: Functional Data Analysis, URL http://www.functionaldata.org. Ripley, B. D. (1996), Pattern recognition and neural networks, Cambridge University Press. Rivest, J. (2006), “Granulometries and pattern spectra for radar signals,” Signal Processing, 86, 1094–1103. 33 Rossi, F. and Conan-Guez, B. (2005), “Functional multi-layer perceptron: a nonlinear tool for functional data analysis,” Neural Networks, 18, 45–60. Rossi, F., Delannay, N., Conan-Guez, B., and Verleysen, M. (2005), “Representation of functional data in neural networks,” Neurocomputing, 64, 183–210. Rossi, F. and Villa, N. (2006), “Support vector machine for functional data classification,” Neurocomputing, 69, 730–742. Shutler, J. (2002), “Statistical moments,” In CV online: On-Line Compendium of Computer Vision. Available: http://homepages.inf.ed.ac.uk/rbf/CVonline/. Soille, P. (2003), Morphological Image Analysis. Principles and Applications, 2nd ed., Springer-Verlag. Stoyan, D. and Stoyan, H. (1994), Fractals, Random Shapes and Point Fields. Methods of Geometrical Statistics, Wiley. Wehrens, R. and Mevik, B.-H. (2006), pls: Partial Least Squares Regression (PLSR) and Principal Component Regression (PCR), URL http://mevik.net/work/software/pls.html. 34