Support Vector Machines and Model Selection for Control Chart Pattern Recognition
Abstract
:1. Introduction
1.1. Problem Statements and Literature Review
1.2. The Motivation
- 1
- Applying model selection and SVM, RF, and KNN methods to develop the proposed CCPR method.
- 2
- Investigating the recognition quality of the control chart based on the conditions of generated data.
2. Control Chart Patterns and the Proposed CCPR Method
2.1. Data Patterns for Identification
- Case I: The in-control process is defined by
- Case II: The process of the mean shift is defined by
- Case III: The process of the standard deviation shift is defined by
- Case IV: The process of the mean and standard deviation shifts is defined by
- Case V: The process of the mean drift and standard deviation shift is defined by
2.2. The Model-Selection-Based CCPR Methods
- High-dimensional data commonly exist in the real world. SVMs are an excellent tool for handling high-dimensional data and searching out the best way to separate the data for classification.
- SVMs can perform linear and nonlinear separations for data classifications. In many instances, data cannot easily be separable by a straight line. SVM methods can use kernel tricks to add another dimension to the data. Such tricks make SVMs efficient in separating nonlinear data when the data resource is limited.
- SVMs consider the balance between obtaining a high prediction accuracy of classification and the reduction of the model overfitting.
- SVMs can be used in different applications, such as biology, finance, business, and education. SVM methods help decision-makers understand and classify complex data.
Algorithm 1: The implementation of the SVM-CCPR method. |
|
3. Performance Evaluation for the Proposed CCPR Method
Parameter Settings
- The number of samples: , 50, 80, 100, 200, 300, 500, and 800. These values of m are used to evaluate the impact of the number of sample control charts on the recognition rate of the proposed CCPR methods.
- The sample size in each control chart: Each case is established with different sample sizes. In this simulation study, , 50, 100 are considered to evaluate the impact of sample size on the recognition rate of the proposed CCPR methods.
- Candidate distributions for model selection: The degrees of freedom and 20 are considered for the non-normal distributed cases with different heavy-tailed levels. Moreover, the normal distributed samples are also used in the simulation study by using the Student t distribution with .
- The source codes and packages for Monte Carlo simulation: R codes and the packages e1071, randomForest, and class are prepared to implement the SVM, RF, and KNN methods.
- The proportion of the training sample in the complete sample: Eighty percent of the points in the complete sample are randomly selected for the training sample for training the SVM, RF, and KNN models. Then, the trained models and the features in the test sample, which is composed of the other twenty percent points in the complete sample, are used to predict the responses, which are either −1 or 1.
- The number of iterative runs: One thousand repetitions are used to evaluate the values of ROCC.
4. An Example
- Case E1, NOR:
- Case E2, SYS:
- Case E3, CYC:
- Case E4, the trends of UT and DT:
- Case E5, Shifts of US and DS:
5. Concluding Remarks
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Wang, F.K.; Bizuneh, B.; Cheng, X.B. One-sided control chart based on support vector machines with differential evolution algorithm. Qual. Reliab. Eng. Int. 2019, 35, 1634–1645. [Google Scholar] [CrossRef]
- Unlu, R. Cost-oriented LSTM methods for possible expansion of control charting signals. Comput. Ind. Eng. 2021, 154, 107163. [Google Scholar] [CrossRef]
- Lee, P.-H.; Torng, C.-C.; Lin, C.-H.; Chou, C.-Y. Control chart pattern recognition using spectral clustering technique and support vector machine under gamma distribution. Comput. Ind. Eng. 2022, 171, 108437. [Google Scholar] [CrossRef]
- Miao, Z.; Yang, M. Control chart pattern recognition based on convolution neural network. In Smart Innovations in Communication and Computational Sciences: Proceedings of ICSICCS; Springer: Singapore, 2017; Volume 2, pp. 97–104. [Google Scholar]
- Fuqua, D.; Razzaghi, T. A cost-sensitive convolution neural network learning for control chart pattern recognition. Expert Syst. Appl. 2020, 150, 113275. [Google Scholar] [CrossRef]
- Cheng, C.-S.; Ho, Y.; Chiu, T.-C. End-to-end control chart pattern classification using a 1D convolutional neural network and transfer learning. Processes 2021, 9, 1484. [Google Scholar] [CrossRef]
- Cheng, C.-S.; Chen, P.-W.; Ho, Y. Control Chart Concurrent Pattern Classification Using Multi-Label Convolutional Neural Networks. Appl. Sci. 2022, 12, 787. [Google Scholar] [CrossRef]
- Xue, L.; Wu, H.; Zheng, H.; He, Z. Control chart pattern recognition for imbalanced data based on multi-feature fusion using convolutional neural network. Comput. Ind. Eng. 2023, 182, 109410. [Google Scholar] [CrossRef]
- Yu, Y.; Zhang, M. Control chart recognition based on the parallel model of CNN and LSTM with GA optimization. Expert Syst. Appl. 2021, 185, 115689. [Google Scholar] [CrossRef]
- Tian, G.; Liu, Y.; Wang, N.; Liang, X.; Sun, J. A Novel Deep Learning Approach to Online Quality Control for Multiple Time Series Process with Imbalanced Data. Available online: https://ssrn.com/abstract=4633193 (accessed on 20 January 2025).
- Alwan, W.; Ngadiman NH, A.; Hassan, A.; Saufi, S.R.; Mahmood, S. Ensemble classifier for recognition of small variation in x-bar control chart patterns. Machines 2023, 11, 115. [Google Scholar] [CrossRef]
- Sabahno, H.; Niaki, S.T.A. New machine-learning control charts for simultaneous monitoring of multivariate normal process parameters with detection and identification. Mathematics 2023, 11, 3566. [Google Scholar] [CrossRef]
- Yeganeh, A.; Chukhrova, N.; Johannssen, A.; Fotuhi, H. A network surveillance approach using machine learning based control charts. Expert Syst. Appl. 2023, 219, 119660. [Google Scholar] [CrossRef]
- Pham, D.T.; Oztemel, E. Combining multi-layer perceptrons with heuristics for reliable control chart pattern classification. In WIT Transactions on Information and Communication Technologies; WIT Press: Southampton, UK, 2024; Volume 1. [Google Scholar]
- Li, Y.; Dai, W.; He, Y. Control chart pattern recognition under small shifts based on multi-scale weighted ordinal pattern and ensemble classifier. Comput. Ind. Eng. 2024, 189, 109940. [Google Scholar] [CrossRef]
- Zan, T.; Chen, J.; Sun, Z.; Liu, Z.; Wang, M.; Gao, X.; Gao, P. Pattern recognition of control chart with variable chain length based on recurrent neural network. Adv. Manuf. 2024, 1, 0003. [Google Scholar] [CrossRef]
- Ranaee, V.; Ebrahimzadeh, A.; Ghaderi, R. Application of the PSO–SVM model for recognition of control chart patterns. ISA Trans. 2010, 49, 577–586. [Google Scholar] [CrossRef] [PubMed]
- Smola, A.J.; Schölkopf, B.; Müller, K.-R. The connection between regularization operators and support vector kernels. Neural Netw. 1998, 11, 637–649. [Google Scholar] [CrossRef] [PubMed]
- Lu, C.-J.; Shao, Y.E.; Li, C.-C. Recognition of concurrent control chart patterns by integrating ICA and SVM. Appl. Math. Inf. Sci. 2014, 8, 681. [Google Scholar] [CrossRef]
- Montgomery, D.C. Introduction to Statistical Quality Control, 8th ed.; John Wiley & Sons: Hoboken, NJ, USA, 2020. [Google Scholar]
Kernel Function | Formula |
---|---|
Linear | |
Polynomial | , |
Radial basis | |
Sigmoid |
m | |||||||||
---|---|---|---|---|---|---|---|---|---|
30 | 50 | 80 | 100 | 200 | 300 | 500 | 800 | ||
SVM | 15 | 0.8687 | 0.8944 | 0.9062 | 0.9112 | 0.9230 | 0.9296 | 0.9346 | 0.9385 |
20 | 0.8692 | 0.8957 | 0.9067 | 0.9107 | 0.9238 | 0.9293 | 0.9348 | 0.9386 | |
Normal | 0.8715 | 0.8943 | 0.9060 | 0.9125 | 0.9242 | 0.9290 | 0.9356 | 0.9384 | |
RF1 | 15 | 0.7165 | 0.7892 | 0.8300 | 0.8464 | 0.8832 | 0.8962 | 0.9063 | 0.9134 |
20 | 0.7163 | 0.7847 | 0.8312 | 0.8478 | 0.8833 | 0.8954 | 0.9065 | 0.9137 | |
Normal | 0.7208 | 0.7860 | 0.8304 | 0.8486 | 0.8830 | 0.8949 | 0.9077 | 0.9133 | |
RF2 | 15 | 0.6459 | 0.7153 | 0.7692 | 0.7927 | 0.8465 | 0.8673 | 0.8872 | 0.8981 |
20 | 0.6485 | 0.7128 | 0.7702 | 0.7933 | 0.8451 | 0.8681 | 0.8862 | 0.8988 | |
Normal | 0.6423 | 0.7173 | 0.7698 | 0.7926 | 0.8464 | 0.8694 | 0.8876 | 0.8984 | |
KNN1 | 15 | 0.4910 | 0.4983 | 0.5045 | 0.5074 | 0.5153 | 0.5211 | 0.5278 | 0.5344 |
20 | 0.4925 | 0.4995 | 0.5006 | 0.5049 | 0.5148 | 0.5227 | 0.5294 | 0.5351 | |
Normal | 0.4887 | 0.4959 | 0.5046 | 0.5080 | 0.5141 | 0.5206 | 0.5278 | 0.5341 | |
KNN2 | 15 | 0.4789 | 0.4883 | 0.4950 | 0.4980 | 0.5063 | 0.5113 | 0.5176 | 0.5232 |
20 | 0.4816 | 0.4891 | 0.4911 | 0.4960 | 0.5053 | 0.5128 | 0.5193 | 0.5237 | |
Normal | 0.4769 | 0.4860 | 0.4951 | 0.4988 | 0.5047 | 0.5110 | 0.5175 | 0.5229 |
m | |||||||||
---|---|---|---|---|---|---|---|---|---|
30 | 50 | 80 | 100 | 200 | 300 | 500 | 800 | ||
SVM | 15 | 0.9205 | 0.9399 | 0.9505 | 0.9554 | 0.9638 | 0.9681 | 0.9723 | 0.9748 |
20 | 0.9201 | 0.9387 | 0.9504 | 0.9549 | 0.9643 | 0.9683 | 0.9722 | 0.9747 | |
Normal | 0.9168 | 0.9397 | 0.9501 | 0.9556 | 0.9649 | 0.9682 | 0.9718 | 0.9747 | |
RF1 | 15 | 0.7600 | 0.8324 | 0.8788 | 0.8954 | 0.9279 | 0.9384 | 0.9464 | 0.9515 |
20 | 0.7626 | 0.8347 | 0.8809 | 0.8975 | 0.9280 | 0.9379 | 0.9464 | 0.9510 | |
Normal | 0.7604 | 0.8305 | 0.8811 | 0.8970 | 0.9285 | 0.9381 | 0.9464 | 0.9516 | |
RF2 | 15 | 0.6703 | 0.7526 | 0.8099 | 0.8367 | 0.8924 | 0.9143 | 0.9312 | 0.9409 |
20 | 0.6761 | 0.7519 | 0.8134 | 0.8361 | 0.8915 | 0.9143 | 0.9307 | 0.9401 | |
Normal | 0.6768 | 0.7529 | 0.8133 | 0.8368 | 0.8933 | 0.9139 | 0.9316 | 0.9412 | |
KNN1 | 15 | 0.5009 | 0.5133 | 0.5159 | 0.5190 | 0.5265 | 0.5315 | 0.5346 | 0.5405 |
20 | 0.5021 | 0.5124 | 0.5181 | 0.5192 | 0.5286 | 0.5332 | 0.5365 | 0.5400 | |
30 | 0.5061 | 0.5137 | 0.5159 | 0.5221 | 0.5299 | 0.5291 | 0.5365 | 0.5384 | |
KNN2 | 15 | 0.4912 | 0.5067 | 0.5093 | 0.5130 | 0.5216 | 0.5275 | 0.5308 | 0.5371 |
20 | 0.4933 | 0.5047 | 0.5124 | 0.5138 | 0.5238 | 0.5288 | 0.5325 | 0.5365 | |
30 | 0.4970 | 0.5061 | 0.5097 | 0.5165 | 0.5256 | 0.5249 | 0.5329 | 0.5350 |
m | |||||||||
---|---|---|---|---|---|---|---|---|---|
30 | 50 | 80 | 100 | 200 | 300 | 500 | 800 | ||
SVM | 15 | 0.9252 | 0.9636 | 0.9789 | 0.9810 | 0.9868 | 0.9898 | 0.9920 | 0.9932 |
20 | 0.9241 | 0.9651 | 0.9783 | 0.9813 | 0.9874 | 0.9897 | 0.9919 | 0.9932 | |
Normal | 0.9258 | 0.9648 | 0.9770 | 0.9810 | 0.9877 | 0.9895 | 0.9919 | 0.9933 | |
RF1 | 15 | 0.7938 | 0.8723 | 0.9283 | 0.9413 | 0.9639 | 0.9694 | 0.9739 | 0.9769 |
20 | 0.7936 | 0.8766 | 0.9257 | 0.9403 | 0.9638 | 0.9696 | 0.9740 | 0.9765 | |
Normal | 0.7964 | 0.8796 | 0.9256 | 0.9395 | 0.9639 | 0.9693 | 0.9740 | 0.9768 | |
RF2 | 15 | 0.7016 | 0.7808 | 0.8463 | 0.8742 | 0.9348 | 0.9530 | 0.9667 | 0.9722 |
20 | 0.7046 | 0.7817 | 0.8468 | 0.8758 | 0.9332 | 0.9539 | 0.9663 | 0.9721 | |
Normal | 0.6983 | 0.7793 | 0.8456 | 0.8770 | 0.9334 | 0.9532 | 0.9661 | 0.9740 | |
KNN1 | 15 | 0.5236 | 0.5304 | 0.5380 | 0.5419 | 0.5484 | 0.5540 | 0.5568 | 0.5608 |
20 | 0.5226 | 0.5324 | 0.5378 | 0.5397 | 0.5526 | 0.5530 | 0.5582 | 0.5608 | |
30 | 0.5184 | 0.5330 | 0.5375 | 0.5410 | 0.5507 | 0.5540 | 0.5585 | 0.5616 | |
KNN2 | 15 | 0.5122 | 0.5230 | 0.5313 | 0.5360 | 0.5440 | 0.5498 | 0.5533 | 0.5578 |
20 | 0.5125 | 0.5240 | 0.5309 | 0.5337 | 0.5479 | 0.5487 | 0.5546 | 0.5578 | |
30 | 0.5084 | 0.5243 | 0.5308 | 0.5348 | 0.5461 | 0.5498 | 0.5549 | 0.5584 |
Patterns | Parameters |
---|---|
SYS | , |
CYC | , , . |
Trend | , |
Shift | , |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Su, C.-J.; Chen, I.-F.; Tsai, T.-R.; Wang, T.-H.; Lio, Y. Support Vector Machines and Model Selection for Control Chart Pattern Recognition. Mathematics 2025, 13, 592. https://doi.org/10.3390/math13040592
Su C-J, Chen I-F, Tsai T-R, Wang T-H, Lio Y. Support Vector Machines and Model Selection for Control Chart Pattern Recognition. Mathematics. 2025; 13(4):592. https://doi.org/10.3390/math13040592
Chicago/Turabian StyleSu, Chih-Jen, I-Fei Chen, Tzong-Ru Tsai, Tzu-Hsuan Wang, and Yuhlong Lio. 2025. "Support Vector Machines and Model Selection for Control Chart Pattern Recognition" Mathematics 13, no. 4: 592. https://doi.org/10.3390/math13040592
APA StyleSu, C.-J., Chen, I.-F., Tsai, T.-R., Wang, T.-H., & Lio, Y. (2025). Support Vector Machines and Model Selection for Control Chart Pattern Recognition. Mathematics, 13(4), 592. https://doi.org/10.3390/math13040592