Next Article in Journal
The Financial Valuation Risk in Pepper Production: The Use of Decoupled Net Present Value
Next Article in Special Issue
Bayesian Estimation Based on Sequential Order Statistics for Heterogeneous Baseline Gompertz Distributions
Previous Article in Journal
A Multiple Criteria Decision Making Approach to Designing Teaching Plans in Higher Education Institutions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Stable and Unstable Pattern Recognition Using D2 and SVM: A Multivariate Approach

by
Pamela Chiñas-Sanchez
1,
Ismael Lopez-Juarez
2,*,†,
Jose Antonio Vazquez-Lopez
3,
Abdelkader El Kamel
4 and
Jose Luis Navarro-Gonzalez
5
1
Tecnologico Nacional de Mexico, Instituto Tecnologico de Saltillo, Saltillo 25280, Mexico
2
Centre for Research and Advanced Studies (CINVESTAV), Ramos Arizpe 25900, Mexico
3
Tecnologico Nacional de Mexico, Instituto Tecnologico de Celaya, Celaya 38010, Mexico
4
Ecole Centrale de Lille, 59650 Villeneuve d’ascq, France
5
IJ Robotics SA de CV, Saltillo 25000, Mexico
*
Author to whom correspondence should be addressed.
Current address: Ind Metalurgica 1062, P Ind Saltillo-Ramos Arizpe, Ramos Arizpe, Coahuila 25900, Mexico.
Mathematics 2021, 9(1), 10; https://doi.org/10.3390/math9010010
Submission received: 10 November 2020 / Revised: 11 December 2020 / Accepted: 18 December 2020 / Published: 23 December 2020
(This article belongs to the Special Issue Probability and Statistics in Quality and Reliability Engineering)

Abstract

:
Control charts are used to visually identify the signals that define the behavior of industrial processes in univariate cases. However, whenever the statistical quality of more than one critical variable needs to be monitored simultaneously, the procedure becomes much more complicated. This paper presents a methodology on multivariate pattern recognition using the Mahalanobis distance ( D 2 ) and the Support Vector Machine (SVM) technique to recognise two multivariate patterns. The relevance of the study lies in the monitoring of the variables while considering the correlation between them and the effects of interchangeably using a stable multivariate case against an unstable pattern that results in recognition rates up to 91.6 % .

Graphical Abstract

1. Introduction

To this day, industrial processes have been pushed towards the mass employment of machinery, devices, personal, and work operations, among others; these objects of production increase the sheer complexity of monitoring tasks and of stability analyses. Control Charts (CC) are used in processes of monitoring and stability analysis. CC allows the visual identification of signals in behaviour-defining processes, which are, at times, determinant to product quality. However, most processes use CC in a univariate approach, which always brings forth several disadvantages such as the inherent need to satisfy statistical conditions: normality and independence. Secondly, CC do not help us analyse the correlation between variables. Moreover, the use of CC becomes rather complex for the analysis of more than one variable in a univariate approach, and in the same way, they depend on human judgment. Due to the disadvantages of the use of CC, multivariate control techniques have been developed such as Hotelling statistics [1,2], MEWMA statistic [1], MCUSUM calculation [1], and Mahalanobis Distance [3], among others. Emerging methods such as Recurrence Density are suited to determine the periodicity in the repetitiveness of time series. Using this method, the data series (patterns) could be characterised to identify the extent to which a time series repeats the same sequence. It is observed that with this approach it will not be essential to assume normality in the data and it will make it possible to identify foreign structures to the behaviour of the data [4].
Multivariate control techniques, in general, allow us to analyse process-related variables. Likewise, these techniques make it easy to make out the relationship between those variables and, also, provide graphs of variable behaviour. However, multivariate techniques have proven to carry inherent drawbacks that, ultimately, limit their flawless application within the industry. Among those drawbacks, there is the complexity of the calculations, the fact that they only seem to detect out-of-control signals, that they do not indicate the reason behind failure, and, lastly, that they do not provide adequate tools to determine the underlying issues that rise to the out-of-control signals. In addition, the operator needs to have the knowledge of multivariate statistical control to understand and interpret results [1,5]. Statistical process control techniques are tools limited to automate industries with a large number of elements to monitor [5,6]. Univariate control charts have been studied since 1929 and were developed by Dr. Walter A. Shewhart. These graphs are a horizontal diagram that displays the points (measurements) on a timeline and assumes that if the data generating process maintains a state in statistical control, then the points will have a visible random pattern; this random pattern is related to the normal distribution shape. In addition, these graphs display three lines parallel to each other and to the horizontal axis of the graph: limit lines and center line. The limit lines called upper and lower control limits are obtained at a distance of ± 3 σ from the mean when the process remains stable and the central line corresponds to the mean value. The pattern that demonstrates stability in the process is the natural one and, when its stability is broken due to the presence of some disturbance in the process, the stable state of the process is lost indicating instability or loss of control in the process. The patterns associated with stability and instability are strongly related to two types of statistical variability. This article considers two types of variability: special variation and natural variation, which correspond to unstable and stable cases, respectively. These variations can be discerned in the distribution of measurements corresponding to a certain variable with respect to a unit (time, sample number, space, data series). The distribution or shape of the measurements are identified as special patterns and natural patterns [7]. The basic patterns for variable-behaviour identification and retrieval of potential causes are specified in the Western Electric Manual [8]. The basic patterns have been defined as Increasing Trend (IT), Decreasing Trend (DT), Downward Shift (DS), Upward Shift (US), Mixed (M), Cycle (Cy), Systematic (S) and Normal (N).
The graphic representations for the basic patterns observed in the measurements are shown in Figure 1.
The above patterns are defined as follows:
  • Normal Pattern: This pattern is characterised by its display of observations close to the mean value without exceeding control limits. Furthermore, it is considered normal behaviour for the process or a behaviour to bear an absence of disturbances.
  • Cycle Pattern: The cyclic behaviour in the process mean value is displayed as a sequence of data series with high value interspersed with low value data. The causes of such behaviour are prone to associate (in the case of machines) with a sequence of movements or positions.
  • Shift Pattern: It is defined as a sudden or abrupt change in the mean value. These patterns are associated with a change of material, a new operator, a change in the configuration of the machinery, etc.
  • Trend Pattern: These can be defined as continuous displacements in negative or positive trajectory, in addition to a prolonged series of data without a change of direction. This type of pattern can be associated with tooling wear, gradual improvement in the operator technique, poor maintenance, etc.
Considering the conjunction of univariate variables in a single variable leads to the need of simultaneously studying two or more variables at the same time. This fact is the basis of the multivariate statistical control that, in addition to what is written, is designed to detect the two states of the process (stable/not stable or in-control/out-of-control) when: (a) the variables are correlated with each other, and (b) the product quality should be evaluated as a unit and not as separate variables.

1.1. Related Work

Several investigative efforts [6,9,10,11,12,13,14,15,16,17,18] have driven scientists to propose the use of Artificial Neural Networks (ANNs) in pattern recognition of CC to diagnose the variable’s behaviour. ANNs have been applied to the analysis, detection, recognition and classification of sets of sample data in patterns of natural variation and special variation. By recognising the pattern type, it is possible to learn if a variable or process lies within statistical control. Furthermore, ANNs present benefits such as the analysis of large chunks of data, the non-existent need to satisfy statistical conditions such as normality, and great noise tolerance; and lastly, they are able to work in real time (as stated in [5,6,19]).
Several authors have been interested in this field of research, especially within the broader area of Artificial Intelligence, which encompasses the main findings. A large group of researchers has been working on ANNs. Sohaimi et al. presented in their work a method to monitor and diagnose the mean and/or variance of a bivariate process using pattern recognition through a multi-layer perceptron network for simulated data in a modular neural network scheme that identifies nine categories of patterns of bivariate SPC charts [12]. Zhou et al. proposed to analyse the patterns observed in the control charts in a multiclass approach. They develop a model composed of a genetic algorithm and Support Vector Machine (SVM) using a hybrid kernel function (Gaussian function and a polynomial function) [13]. Similarly, Guan and Cheng formulated a modification of the multiclass SVM. The proposed structure, a combination of “one against all” and “one against one” classifiers was generated to analyse simulated multivariate data with the Montecarlo method [14]. Addeh et al. proposed an analysis of out-of-control signals through pattern recognition for continuous monitoring, where the method of association of rules for the extraction of characteristics was included. For the classification stage, an RBF ANN was used with a learning algorithm focused on the bee algorithm. The proposed method was tested on a data set containing 1600 samples (200 samples from each pattern) [15]. Zheng and Yu integrated a hybrid system consisting of two different CNN topologies and a SVM classifier. The feature extracted by two CNNs was combined to train the SVM classifier. The experimental analysis showed that the proposed hybrid system had better performance than each technique separately [16]. CNN has evolved successfully in many areas thanks to increased computing power and new Graphics Processing Units (GPUs) and specialised, reconfigurable hardware. Although these techniques have to address many other issues inherited by the BP algorithm, they certainly have a solid foundation for SPC, as some authors have recently shown. Miao and Yang suggested in their work, the extraction of characteristics in graphical control patterns and their analysis by deep learning with a CNN in data simulated by the Montecarlo method [17]. A comprehensive study by Yu et al. using the Stacked Denoising Autoencoder (SDAE) learned discriminatory characteristics of process signals. The experimental results illustrated a cross-validation between the main techniques like Backpropagation Network (BPN), SVM, K-nearest neighbor, Decision Trees (DTs), and Learning Vector Quantisation (LVQ), ranking at the top as a good solution SDAE, BPN and SVM [18].
An area of opportunity is found in the studies regarding the pattern recognition and the problem of detecting mixed (concurrent) patterns where, at least, two patterns coexist and are prone to be associated with different causes. The distance calculation of Mahalanobis D 2 has been used as a characteristic extraction technique. The D 2 has been considered an appropriate technique for this investigation for its distinctive characteristics. Among these characteristics is the use of data covariance and the scaling of differing variables, which is useful to the detection of outliers. In addition, D 2 analyses the data variability and its p-dimensionality.

1.2. Original Contribution

The purpose of this research is to recognise multivariate patterns in multivariate variables which is significant to SPC because the existence of an out-of-control condition locates the faults presented by the variables. The method proposes observation of multivariate patterns during the measurement of multivariate variables. When a pattern is identified, it is proposed to associate the multivariate pattern with the variations and their causes reflected in the univariate variables that formed that multivariate variable. A previous analysis on system or process behaviour must be carried out with regard for the establishment of relationships between multivariate patterns and underlying causes.
Considering the above, the method consists of the following steps:
  • Generate different types of multivariate variables.
  • Select a multivariate variable in control or close to normality (C).
  • Determine D 2 between C and multivariate variables X.
  • Evaluate if D 2 exhibits multivariate variation classes using SVM.
  • Determine the combination of variation classes.
  • Recognise each type of multivariate pattern in D 2 .
  • Determine the variable’s location and the causes that originated them.
The method considers the generation of multivariate variables using the “Synthetic Control Chart Time Series” public database which is composed by variation-class carrying vectors (special patterns and natural patterns). Following this methodology, it is expected to find out about the existence of an association between the multivariate patterns observed in the D 2 and the patterns present in the univariate variables that formed each D 2 . Two approaches are proposed for the calculation of D 2 with the aim of obtaining quantitative measurements of similarity between observations of multivariate variables and the centroid of other multivariate variables. The methodology is depicted in Figure 2.

1.3. Database Generation of Multivariate Variables

The “Synthetic Control Chart Time Series” database employed for our experiments was generated using control charts generated by the process described in Alcock RJ & Manolopoulos in [7]. In the database, there are 100 pattern samples for each corresponding pattern type such as Increasing Trend (IT), Decreasing Trend (DT), Downward Shift (DS), Upward Shift (US), Cycle (Cy) and Normal (N). Thus, there are 600 samples corresponding to synthetically generated control charts.
The proposed method considers p-variables of a random process X = [ X 1 , X 2 , , X p ] defined as a multivariate variable. In this form, X is defined as a multivariate variable formed by p univariate variables. In this paper, we present the approach with p = 2 univariate variables so that the composition of each multivariate variable is X = [ X 1 , X 2 ] . Table 1 shows the configuration of these multivariate classes. To determine the quantity of multivariate variable types, the permutation formula applied is: n r = ( 6 2 ) = 36 ; where n = types of patterns to choose from and r = number of elements that forms the permutation. The procedure consisted in choosing 100 samples containing a type of pattern for X 1 and another 100 samples for X 2 and combining them to form a type of multivariate variable as shown in Figure 3. Based on the above, 10,000 multivariate variable samples were generated for each of the 36 classes of multivariate variables X shown in Table 1, making a total of 360,000 sample patterns as population study.

1.4. The Mahalanobis Distance Calculation ( D 2 )

The use of Mahalanobis distance D 2 is proposed to determine the existence and representation of multivariate patterns in different multivariate classes. D 2 allows us to analyse the behaviour of multivariate variables providing a similarity measurement between observations comparing their centroids. As exposed in Section 1.2, the method requires the calculation of D 2 from a variable with stable behaviour, which, in this bivariate case, is the pattern represented by X 6 that includes natural patterns in its elements [ X 1 , X 2 ] . X 6 is then labelled as C to pinpoint its stable behaviour. Then, D 2 is calculated from X and C .

Calculation of the Mahalanobis Distance D 2 with Respect to X and C .

D 2 is computed from Equation (1) as follows:
D 2 ( X , C ) = ( X C ¯ ) T S C 1 ( X C ¯ )
where C ¯ and S C are the mean and covariance from C , respectively.
As an example, consider X 7 , which is constituted by two univariate variables with cyclic patterns X 7 = [ X 1 , X 2 ] = [ C y , C y ] . The Mahalanobis distance is then calculated between the observations of the multivariate variable X ( X 7 ) and ( C ¯ , S C ) of the multivariate variable C ( X 6 ) . These values D 2 are shown in Figure 4.
The next step is to calculate the Mahalanobis distance D 2 between C and ( C ¯ , S C ) from each of the 360,000 patterns previously generated. D 2 is determined by Equation (2)
D 2 ( C , X ) = ( C X ¯ ) T S X 1 ( C X ¯ )
where X ¯ and S X are the mean and covariance calculated from the multivariate variable X . Similarly, a multivariate variable X is generated with the composition X 7 = [ X 1 , X 2 ] = [Cy, Cy]. For the variable C , a multivariate variable generated with the composition X 6 = [ X 1 , X 2 ] = [N, N] was selected. Figure 5 shows the Mahalanobis distance calculation between the observations of C and ( X ¯ , S X ) of X .
It is desirable to find a characteristic behaviour for each class of D 2 related to the multivariate variable class it forms. In this way, the behaviour of the process could be determined by the information given by the D 2 calculation. The generated D 2 patterns were examined in both approaches, and no distinctive forms of multivariate patterns were found in comparison with the basic patterns in “Synthetic Control Chart Time Series” that originated them. SVM was proposed in order to determine if the multivariate pattern was identifiable, which is explained in the Section 1.5.

1.5. Multivariate Pattern Recognition

The Support Vector Machine (SVM) is used for multivariate pattern recognition using D 2 . The principle of SVM is to find a hyperplane that solves the problem of classifying a data set. The classification is produced by the separation of data belonging to different classes through a hyperplane and maximising the margin between classes in such a way that the data belonging to the same class is located on the same side of the hyperplane [20].
In the case of linear classification, we have a training group of size n composed of the data vector x i R n , i = 1 , , l in two classes labeled y { + 1 , 1 } l . The classification function is expressed by the Equation (3)
f ( x ) = Σ i = 1 l w i x i + b
where vector w R n defines the hyperplane slope and the parameter b R n determines the optimal hyperplane. By means of the decision function y = s i g n ( w · x + b ) , it is expected to correctly classify both training and test data. However, most real problems do not have a normal distribution that can not be linearly separable. Given this case, the data from the input space (belonging to two different classes) must be mapped to the characteristics space of a larger dimension in such a way that the data be linearly separable through a hyperplane and the margin between the classes is maximized, with the process then reversed to the original dimension.
The data transformation was obtained through a kernel function which allows data separation. To find the best solution regarding the separation by the hyperplane, the following optimisation is proposed:
min w , b , ξ 1 2 w T w + C k Σ i = 1 l ξ i
subject to
y i ( w T · x i + b ) 1 ξ i , ξ i 0 , i = 1 , , l
ξ i > 0 is the error margin between the point i and the separation limits. Parameter C k can be interpreted as a tuneable parameter, where a higher value C k corresponds to establishing a greater importance to the task of correctly classifying the training data. A lower C k value implies a hyperplane with greater flexibility that attempts to minimise the margin of error for each sample. For the tuning of parameters ( C k , a ) in the training process, the Mesh Search and Validation strategies were proposed. C k = 32 and a = 0.17 were used.
Different kernel functions were tested such as polynomial, Radial Basis Function (RBF), and, finally, the sigmoid as indicated in the Table 2.
Simulation results during experiments using Equations (1) and (2) showed that the best kernel function was the sigmoid k ( x i , y j ) = tanh ( a x i T y j + r ) , where a > 0 is a scale parameter of input data and r is a displacement parameter controlling the mapping threshold [21]. These results are presented in Section 2.
Although SVM was designed to deal with binary classification problems, there are strategies that allow extension to the multiclass problem. One way to solve this problem is to consider it a series of binary classification problems. For the present work, it was decided to use the “one against all” strategy, where K SVM classifiers are built to differentiate each class from the others. In such a way that the ith classifier is trained with patterns of class i and value 1, the rest of the patterns’ classes are trained with a value of 1 .
Distances D 2 were calculated to integrate the training and the test base. The 360,000 D 2 were divided into 36 classes corresponding to the classes of the multivariate variables with which they were calculated, i.e., 10,000. The training and test bases were analysed with SVM. In the training stage, SVM used the training database and a labelled vector to learn and recognise each multivariate pattern corresponding to each D 2 class. The outputs produced in the training stage by the SVM can be interpreted as the correct or incorrect learning of each D 2 .
For the test stage, the D 2 of the test base is analysed using SVM with an unknown input. It is expected the SVM to be able to recognise it through the knowledge acquired in the training stage. In the test stage, by effectively recognising the types of multivariate patterns in the D 2 , it is possible to define the exact pattern ( C , X ) the distances were obtained from (similar to the way Table 1 was obtained). In addition, the patterns in X 1 and X 2 that make up each of the multivariate variables X with which the distances were calculated can be known. Also, by knowing the patterns in X 1 and X 2 it can be defined whether these variables are in-control or out-of-control. Similarly, it is possible to relate and infer what type of pattern each vector of the multivariate variable contains and associate it with its type of failure according to the Western Electric Manual [8]. In Section 2, the experimental results are presented.

2. Experimental Results

With the training and testing data bases for SVM and the D 2 , a set of three experiments were performed with different variables. The parameters shown in Table 3 were used in the experiments.

2.1. Multivariate Pattern Recognition in Mahalanobis Distances Calculated with Statistical of Multivariate Variable C

This experiment was made with the intention of determining the efficiency of multivariate pattern recognition in the 360,000 D 2 values obtained with Equation (1). Table 4 shows the results. As it can be observed, in the three cases, the recognition percentage is low despite the size of the testing set.

2.2. Multivariate Pattern Recognition in Mahalanobis Distances Calculated with Statistical of Multivariate Variable X

In the same way as in the previous approach, three experiments were performed with different variables in the training and testing databases for the SVM. In this case, the 360,000 D 2 values were obtained using Equation (2). Table 5 shows the results; the recognition percentage increased in these three experiments when calculating the D 2 with the proposed approach.
As it can be observed from Table 5, the recognition is higher with a high training/testing ratio as it was expected. The following step according to our approach would be to determine the corresponding X 1 and X 2 patterns that make up the multivariate variable. Consequently, by knowing the X 1 and X 2 patterns, one can define which control action to take according to the X pattern type.

3. Conclusions

In this paper, a method to recognise univariate patterns in multivariate patterns using the Mahalanobis distance has been shown. The method determines the association of multivariate patterns with univariate variables. During experiments, multivariate patterns formed by Mahalanobis distances were calculated with different multivariate variables. When visually inspecting the types of multivariate patterns as observed in the 36 classes of D 2 , no distinctive forms were found for each type of multivariate pattern compared to the characteristic forms presented by the univariate patterns of the “Synthetic Control Chart Time Series”. This was our main motivation for interchangeably analysing C , and X cases and their differences using the Mahalanobis distance through SVM recognition.
A first set of experiments (stable case with C ) was presented, the computing of distances D 2 and the rest of multivariate pattern recognition was made using SVM obtaining a recognition rate as low as 8.33 % . A second set of experiments (unstable case) was envisioned and the outcome was far better than in the first experiment; in this second approach, a recognition of 91.67 % was obtained with a training/testing ratio of 2.
The relevance of this research lies upon the calculation of the D 2 between a multivariate variable (with natural patterns) and the statistical values ( C ¯ , S C , S X ) of each of the generated multivariate variables. This modification saw an increase to the difference between each of the types or classes of multivariate patterns compared to other works that use Hotelling, MEWMA [22], PCA, combination of variables and scatter plot [23]. Our own results showed that using T 2 with the synthetic data base resulted in efficiencies as low as 27.99%.
An important observation is that our proposal considered the calculation of covariance matrices by sub-data sets since these were obtained directly from the application of Equation (2). For each equation the parameters X ¯ and S X adjust to the changing values contained in the different combinations of X patterns and fixed periods were considered for the covariance matrix. However, an envisaged recognition of multivariate patterns using the periods of the covariance matrix in order to observe the changes in this matrix period by period would certainly reinforce our method.
By recognising each class or type of distance of Mahalanobis correctly, it is possible to make out the composition ( C , X ) of each distance of Mahalanobis. In addition, there is the potential ability to infer the composition ( X 1 and X 2 ) of each multivariate variable X . Finally, by knowing the univariate patterns, it will be possible to infer errors that triggered them. If the number of variables increase, then the approach can also be used to find differentiable multivariate patterns for each type of classes, which is an ongoing research work.

Author Contributions

P.C.-S. contributed to the conceptualization, design, implementation, and matlab programming as well as the SVM design. I.L.-J. and J.A.V.-L. conceptualised the use of the D 2 as a valid measure to distinguish multivariate patterns and wrote-up the first paper draft. J.L.N.-G. and A.E.K. contributed to the experimental design and the revision of the final draft. All authors contributed to writing-up the final paper version. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially funded through CONACyT research grant CVU266727.

Acknowledgments

Thanks are sincerely due to K Lopez-Valadez for his valuable comments on English grammar.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SVMSupport Vector Machine
D 2 Mahalanobis Distance
CCControl Charts
SPCStatistical Process Control
ANNArtificial Neural Networks
PCAPrincipal Component Analysis

References

  1. Ou, Y.; Chen, N.; Khoo, M.B. An efficient multivariate control charting mechanism based on SPRT. Int. J. Prod. Res. 2015, 53, 1937–1949. [Google Scholar] [CrossRef]
  2. Chen, K.H.; Boning, D.; Welsch, R. Multivariate statistical process control and signature analysis using eigenfactor detection methods. In Proceedings of the 33rd Symposium on the Interface of Computer Science and Statistics, Costa Mesa, CA, USA, 13–16 June 2001. [Google Scholar]
  3. De Maesschalck, R.; Jouan-Rimbaud, D.; Massart, D. The Mahalanobis distance. Chemom. Intell. Lab. Syst. 2000, 50, 1–18. [Google Scholar] [CrossRef]
  4. Tutueva, A.V.; Butusov, D.N.; Karimov, A.I.; Andreev, V.S. Recurrence density analysis of multi-wing and multi-scroll chaotic systems. In Proceedings of the 2018 7th Mediterranean Conference on Embedded Computing (MECO), Budva, Montenegro, 10–14 June 2018; pp. 1–5. [Google Scholar] [CrossRef]
  5. Yu, J.; Xi, L. A hybrid learning-based model for on-line monitoring and diagnosis of out-of-control signals in multivariate manufacturing processes. Int. J. Prod. Res. Int. J. Prod. Res. 2009, 47, 4077–4108. [Google Scholar] [CrossRef]
  6. Guh, R.S. Real-time pattern recognition in statistical process control: A hybrid neural network/decision tree-based approach. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2005, 219, 283–298. [Google Scholar] [CrossRef]
  7. Alcock, R.; Manolopoulos, Y. Time-Series Similarity Queries Employing a Feature-Based Approach. In Proceedings of the 7th Hellenic Conference on Informatics, Ioannina, Greece, 26–29 August 1999. [Google Scholar]
  8. Thomas, D.W. Statistical Quality Control Handbook; Western Electric Company/AT&T: Rossville, GA, USA, 1958. [Google Scholar]
  9. Hachicha, W.; Ghorbel, A. A survey of control-chart pattern-recognition literature (1991–2010) based on a new conceptual classification scheme. Comput. Ind. Eng. 2012, 63, 204–222. [Google Scholar] [CrossRef]
  10. El-Midany, T.; El-Baz, M.; Abd-Elwahed, M. A proposed framework for control chart pattern recognition in multivariate process using artificial neural networks. Expert Syst. Appl. 2010, 37, 1035–1042. [Google Scholar] [CrossRef]
  11. Vazquez-Lopez, J.; Lopez-Juarez, I. SPC without Control Limits and Normality Assumption: A New Method. Iberoam. Congr. Pattern Recognit. 2009, 5856, 611–618. [Google Scholar] [CrossRef]
  12. Sohaimi, N.A.M.; Masood, I.; Nor, D.M. Bivariate SPC Chart Pattern Recognition Using Modular-Neural Network. J. Phys. Conf. Ser. 2018, 1049, 012096. [Google Scholar] [CrossRef] [Green Version]
  13. Zhou, X.; Jiang, P.; Wang, X. Recognition of control chart patterns using fuzzy SVM with a hybrid kernel function. J. Intell. Manuf. 2015, 29, 051067. [Google Scholar] [CrossRef]
  14. Guan, F.; Cheng, L. Abnormal Quality Pattern Recognition of Industrial Process Based on Multi-Support Vector Machine. J. Softw. 2018, 13, 506–519. [Google Scholar] [CrossRef]
  15. Addeh, A.; Khormali, A.; Golilarz, N.A. Control chart pattern recognition using RBF neural network with new training algorithm and practical features. ISA Trans. 2018, 79, 202–216. [Google Scholar] [CrossRef] [PubMed]
  16. Zheng, X.; Yu, J. Multivariate Process Monitoring and Fault Identification Using Convolutional Neural Networks. In Proceeding of the 24th International Conference on Industrial Engineering and Engineering Management 2018; Springer: Berlin/Heidelberg, Germany, 2018; Volume 5856, pp. 611–618. [Google Scholar] [CrossRef]
  17. Miao, Z.; Yang, M. Control Chart Pattern Recognition Based on Convolution Neural Network. In Smart Innovations in Communication and Computational Sciences. Advances in Intelligent Systems and Computing; Panigrahi, B., Trivedi, M., Mishra, K., Tiwari, S., Singh, P., Eds.; Springer: Berlin/Heidelberg, Germany, 2019; Volume 670, pp. 611–618. [Google Scholar] [CrossRef]
  18. Yu, J.; Zheng, X.; Wang, S. Stacked denoising autoencoder-based feature learning for out-of-control source recognition in multivariate manufacturing process. Qual. Reliab. Eng. Int. 2019, 35, 204–223. [Google Scholar] [CrossRef] [Green Version]
  19. Salehi, M.; Bahreinineja, A.; Nakhai Kamalabadi, I. On-line analysis of out-of-control signals in multivariate manufacturing processes using a hybrid learning-based model. Neurocomputing 2011, 74, 2083–2095. [Google Scholar] [CrossRef]
  20. Morales-España, G.; Barrera-Cardenas, R.; Torres, H. Unique localization of faults in distribution systems by means of zones with SVM. Rev. Fac. Ing. 2009, 47, 187–196. [Google Scholar]
  21. Lin, H.T.; Lin, C.J. A Study on Sigmoid Kernels for SVM and the Training of non-PSD Kernels by SMO-type Methods. Neural Comput. Unpublished.
  22. Pamela, C.S.; Lopez-Juarez, I.; Antonio, V.L. Reconocimiento de variables multivariantes empleando el estadístico T2 Hotelling y MEWMA mediante las RNA’s. Ing. Investig. Tecnol. 2014, 15, 125–138. [Google Scholar] [CrossRef] [Green Version]
  23. Chinas, P.; Lopez-Juarez, I.; Vazquez, J.; Osorio, R.; Lefranc, G. SVM and ANN Application to Multivariate Pattern Recognition Using Scatter Data. Lat. Am. Trans. IEEE Rev. IEEE Am. Lat. 2015, 13, 1633–1639. [Google Scholar] [CrossRef]
Figure 1. Basic Patterns.
Figure 1. Basic Patterns.
Mathematics 09 00010 g001
Figure 2. Research method for a process or system of interest, where C is the variable with stable behaviour and X is the variable under study.
Figure 2. Research method for a process or system of interest, where C is the variable with stable behaviour and X is the variable under study.
Mathematics 09 00010 g002
Figure 3. An example of the generation of the class of multivariate variable X 1 consisting of elements X 1 with Natural pattern and X 2 with Cycle pattern is shown. In the database, there are 100 samples that have the normal pattern and 100 samples that show cyclic pattern. Then, the first variable that has the normal pattern is combined with each of the 100 samples that expose the cyclic pattern; in this way, the procedure is repeated until the 10,000 multivariate samples of type X 1 are formed. The same procedure is performed to generate 10,000 multivariate samples for the 36 classes or types of multivariate variables X as shown in Table 1.
Figure 3. An example of the generation of the class of multivariate variable X 1 consisting of elements X 1 with Natural pattern and X 2 with Cycle pattern is shown. In the database, there are 100 samples that have the normal pattern and 100 samples that show cyclic pattern. Then, the first variable that has the normal pattern is combined with each of the 100 samples that expose the cyclic pattern; in this way, the procedure is repeated until the 10,000 multivariate samples of type X 1 are formed. The same procedure is performed to generate 10,000 multivariate samples for the 36 classes or types of multivariate variables X as shown in Table 1.
Mathematics 09 00010 g003
Figure 4. Vector of Mahalanobis distance between X and ( C ¯ , S C ) of C .
Figure 4. Vector of Mahalanobis distance between X and ( C ¯ , S C ) of C .
Mathematics 09 00010 g004
Figure 5. Vector of Mahalanobis distance between C and ( C ¯ , S X ) of X .
Figure 5. Vector of Mahalanobis distance between C and ( C ¯ , S X ) of X .
Mathematics 09 00010 g005
Table 1. Types of multivariate variables generated with 2 variables in X = [ X 1 , X 2 ] . Increasing Trend (IT), Decreasing Trend (DT), Downward Shift (DS), Upward Shift (US), Cycle (Cy) and Normal (N).
Table 1. Types of multivariate variables generated with 2 variables in X = [ X 1 , X 2 ] . Increasing Trend (IT), Decreasing Trend (DT), Downward Shift (DS), Upward Shift (US), Cycle (Cy) and Normal (N).
X X 1 X 2
X 1 NCy
X 2 NIT
X 3 NDT
X 4 NUS
X 5 NDS
X 6 NN
X 7 CyCy
X 8 CyIT
X 9 CyDT
X 10 CyUS
X 11 CyDS
X 12 CyN
X 13 ITCy
X 14 ITIT
X 15 ITDT
X 16 ITUS
X 17 ITDS
X 18 ITN
X 19 DTCy
X 20 DTIT
X 21 DTDT
X 22 DTUS
X 23 DTDS
X 24 DTN
X 25 USCy
X 26 USIT
X 27 USDT
X 28 USUS
X 29 USDS
X 30 USN
X 31 DSCy
X 32 DSIT
X 33 DSDT
X 34 DSUS
X 35 DSDS
X 36 DSN
Table 2. Support Vector Machine (SVM) Kernel functions and parameters.
Table 2. Support Vector Machine (SVM) Kernel functions and parameters.
KernelFunctionParameter
Polynomial k ( x i , y j ) = a ( x i , y j + r ) d C k = 32 ; a = 0.17 ; r = 0 ; d = 3
RBF k ( x i , y j ) = e x p ( a X i X j 2 ) C k = 32 ; a = 0.17
Sigmoid k ( x i , y j ) = tanh ( a x i T y j + r ) C k = 32 ; a = 0.17 ; r = 0
Table 3. Experimental parameters for SVM and D 2 .
Table 3. Experimental parameters for SVM and D 2 .
D 2 Calculated from C D 2 Calculated from X
SVM ( C k , a ) C k = 32 ; a = 0.17 C k = 32 ; a = 0.17
C ¯ = 30.1183 29.4810
D 2 ( C ¯ ; S C ) S C 1 = 0.0795 0.0021 0.0021 0.0739 C ¯ , S C 1 are calculated for each X
Calculated from C
Table 4. D 2 Recognition with SVM and C .
Table 4. D 2 Recognition with SVM and C .
Multivariate Pattern Recognition (C)
NoTraining SetTesting SetRatio (Training/Testing)Recognition (%)
11447228.33
236,00072,0000.536.56
3108,000252,0000.4335.93
Table 5. D 2 Recognition with SVM and X .
Table 5. D 2 Recognition with SVM and X .
Multivariate Pattern Recognition (X)
NoTraining SetTesting SetRatio (Training/Testing)Recognition (%)
114472291.66
236,00072,0000.583.8
3108,000252,0000.4370.92
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chiñas-Sanchez, P.; Lopez-Juarez, I.; Vazquez-Lopez, J.A.; El Kamel, A.; Navarro-Gonzalez, J.L. Stable and Unstable Pattern Recognition Using D2 and SVM: A Multivariate Approach. Mathematics 2021, 9, 10. https://doi.org/10.3390/math9010010

AMA Style

Chiñas-Sanchez P, Lopez-Juarez I, Vazquez-Lopez JA, El Kamel A, Navarro-Gonzalez JL. Stable and Unstable Pattern Recognition Using D2 and SVM: A Multivariate Approach. Mathematics. 2021; 9(1):10. https://doi.org/10.3390/math9010010

Chicago/Turabian Style

Chiñas-Sanchez, Pamela, Ismael Lopez-Juarez, Jose Antonio Vazquez-Lopez, Abdelkader El Kamel, and Jose Luis Navarro-Gonzalez. 2021. "Stable and Unstable Pattern Recognition Using D2 and SVM: A Multivariate Approach" Mathematics 9, no. 1: 10. https://doi.org/10.3390/math9010010

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop