Modeling Mechanical Component Classification Using Support Vector Machine with A Radial Basis Function Kernel

  • Ruzita sumiati Politeknik Negeri Padang
  • Moh. Chamim Department of Mechanical Engineering, Sekolah Tinggi Warga Surakarta
  • Desmarita Leni Department of Mechanical Engineering, Universitas Muhammadiyah Sumatera Barat
  • Yazmendra Rosa Department of Mechanical Engineering, Politeknik Negeri Padang
  • Hanif Hanif Department of Mechanical Engineering, Politeknik Negeri Padang
Keywords: modeling, mechanical components, classification, support vector machine


The process of identification and classification of products in the era of modern manufacturing industries has become a crucial pillar in enhancing efficiency, productivity, and product quality. In this research, the modeling of manufacturing product classification, such as mechanical components consisting of four classes: bolts, washer, nuts, and locating pin, was conducted. The proposed model in this study is the Support Vector Machine (SVM) with Radial Basis Function (RBF). The dataset used consists of digital images of mechanical components, with each component having 400 samples, resulting in a total of 1600 samples. The dataset is divided into training and testing data, with 300 samples for each component in the training set, and 100 samples removed from the training set for external testing as model validation. The best model parameters were determined using grid search by varying the parameter values of C and γ (gamma). The model was evaluated using K=3 fold cross-validation, and external testing utilized a confusion matrix to calculate Accuracy, Precision, Recall, and F1-Score values. The research results indicate that the SVM model with the RBF kernel, using the combination of C=10 and γ=scale, achieves the best performance in classifying the four mechanical components. This is evident from the training results of the model, which were able to obtain evaluation metrics such as Accuracy of 94.17%, Precision of 0.94, Recall of 0.94, and F1-Score of 0.94. Meanwhile, the validation results with new data not present in the training dataset show that the model can achieve evaluation metrics with an Accuracy of 93%, Precision of 0.93, Recall of 0.93, and F1-Score of 0.93. These results are consistent with the training performance, indicating that the SVM model with the RBF kernel excels in classifying digital images of mechanical components, such as bolts, nuts, washer, and locating pin.


Abubakr, M., Abbas, A. T., Tomaz, I., Soliman, M. S., Luqman, M., & Hegab, H. (2020). Sustainable and smart manufacturing: an integrated approach. Sustainability, 12(6), 2280.

Leni, D., & Selviaty, V. (2022). Estimasi Manufaktur Exspantion Joint di Bengkel Fabrikasi PT. Semen Padang. Jurnal Teknik Industri Terintegrasi (JUTIN), 5(1), 42-54.

Xu, C., & Zhu, G. (2021). Intelligent manufacturing lie group machine learning: Real-time and efficient inspection system based on fog computing. Journal of Intelligent Manufacturing, 32(1), 237-249.

Leni, D., & Sumiati, R. (2022). Perbandingan Alogaritma Machine Learning Untuk Prediksi Sifat Mekanik Pada Baja Paduan Rendah. Jurnal Rekayasa Material, Manufaktur dan Energi, 5(2), 167-174.

Sheykhmousa, M., Mahdianpari, M., Ghanbari, H., Mohammadimanesh, F., Ghamisi, P., & Homayouni, S. (2020). Support vector machine versus random forest for remote sensing image classification: A meta-analysis and systematic review. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 13, 6308-6325.

Cervantes, J., Garcia-Lamont, F., Rodríguez-Mazahua, L., & Lopez, A. (2020). A comprehensive survey on support vector machine classification: Applications, challenges and trends. Neurocomputing, 408, 189-215.

Razaque, A., Ben Haj Frej, M., Almi’ani, M., Alotaibi, M., & Alotaibi, B. (2021). Improved support vector machine enabled radial basis function and linear variants for remote sensing image classification. Sensors, 21(13), 4431.

Papageorgiou, E. I., Theodosiou, T., Margetis, G., Dimitriou, N., Charalampous, P., Tzovaras, D., & Samakovlis, I. (2021, July). Short survey of artificial intelligent technologies for defect detection in manufacturing. In 2021 12th International Conference on Information, Intelligence, Systems & Applications (IISA) (pp. 1-7). IEEE.

Patel, A. K., Mandhala, V. N., Anguraj, D. K., & Nayak, S. R. (2021). Surface defect detection using SVM‐based machine vision system with optimized feature. Machine Vision Inspection Systems, Volume 2: Machine Learning‐Based Approaches, 109-127.

Maharana, K., Mondal, S., & Nemade, B. (2022). A review: Data pre-processing and data augmentation techniques. Global Transitions Proceedings, 3(1), 91-99.

Sarki, R., Ahmed, K., Wang, H., Zhang, Y., Ma, J., & Wang, K. (2021). Image preprocessing in classification and identification of diabetic eye diseases. Data Science and Engineering, 6(4), 455-471.

Huang, D., Jiang, F., Li, K., Tong, G., & Zhou, G. (2022). Scaled PCA: A new approach to dimension reduction. Management Science, 68(3), 1678-1695.

Ma, J., & Yuan, Y. (2019). Dimension reduction of image deep feature using PCA. Journal of Visual Communication and Image Representation, 63, 102578.

Kherif, F., & Latypova, A. (2020). Principal component analysis. In Machine Learning (pp. 209-225). Academic Press.

Alsheikh, M. A., Lin, S., Niyato, D., & Tan, H. P. (2014). Machine learning in wireless sensor networks: Algorithms, strategies, and applications. IEEE Communications Surveys & Tutorials, 16(4), 1996-2018.

Sadewo, W., Rustam, Z., Hamidah, H., & Chusmarsyah, A. R. (2020). Pancreatic cancer early detection using twin support vector machine based on kernel. Symmetry, 12(4), 667.

Leni, D., & Yermadona, H. (2023). Pemodelan Inspeksi Kerusakan Ban Mobil Menggunakan Convolutional Neural Network (CNN). Jurnal Rekayasa Material, Manufaktur dan Energi, 6(2), 176-186.

Chan, L., Hosseini, M. S., & Plataniotis, K. N. (2021). A comprehensive analysis of weakly-supervised semantic segmentation in different image domains. International Journal of Computer Vision, 129, 361-384.

Clement, D., Agu, E., Suleiman, M. A., Obayemi, J., Adeshina, S., & Soboyejo, W. (2023). Multi-class breast cancer histopathological image classification using multi-scale pooled image feature representation (mpifr) and one-versus-one support vector machines. Applied Sciences, 13(1), 156.

Chandra, M. A., & Bedi, S. S. (2021). Survey on SVM and their application in image classification. International Journal of Information Technology, 13, 1-11.

Yan, T., Shen, S. L., Zhou, A., & Chen, X. (2022). Prediction of geological characteristics from shield operational parameters by integrating grid search and K-fold cross validation into stacking classification algorithm. Journal of Rock Mechanics and Geotechnical Engineering, 14(4), 1292-1303

How to Cite
sumiati, R., Chamim, M., Leni, D., Rosa, Y., & Hanif, H. (2023). Modeling Mechanical Component Classification Using Support Vector Machine with A Radial Basis Function Kernel. Jurnal Teknik Mesin, 16(2), 165 - 174.