Cross-Material Benchmarking of Machine Learning Models for Cutting Force Prediction in CNC Turning
Abstract
1. Introduction
2. Materials and Methods
2.1. Materials and Experimental Setup
2.2. Machine Learning Models Employed
2.3. Feature Selection and Preprocessing
2.4. Model Performance Metrics and Validation Framework
3. Exploratory Data Analysis
3.1. Force Distribution
3.2. Correlation Structure
3.3. Bivariate Feature Trends with Confidence Ellipses
3.4. Principal Component Analysis of Material–Property Relationships and Feature Impact
4. Model Training and Performance Metrics
4.1. Model Training and Hyperparameter Tuning
4.2. Feature Importance Analysis
4.3. Overall Predictive Performance of Machine Learning Models
5. Residual Distribution and Prediction Accuracy Analysis
5.1. Model-Specific Residual Error Patterns
5.2. Predicted vs. Observed Cutting Force Behavior
6. Comparative Evaluation of Machine Learning Models
6.1. Pairwise Model Ranking Based on R2 and CV(RMSE)
6.2. Material-Wise Prediction Accuracy Across Models
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| Abbreviation | Full Term |
| CNC | Computer Numerical Control |
| ML | Machine Learning |
| RMSE | Root Mean Square Error |
| R2 | Coefficient of Determination |
| CV(RMSE) | Coefficient of Variation of Root Mean Square Error |
| GB | Gradient Boosting |
| RF | Random Forest |
| AB | AdaBoost |
| NN | Neural Network |
| kNN | k-Nearest Neighbors |
| DT | Decision Tree |
| LR | Linear Regression |
| PLS | Partial Least Squares |
| SGD | Stochastic Gradient Descent |
| SVM | Support Vector Machine |
| HB | Brinell Hardness |
| W/m·K | Watts per meter-Kelvin (Thermal Conductivity) |
| GPa | Gigapascal (Young’s Modulus) |
| δ | Axial Deformation |
| F | Cutting Force |
| MWARL | Mean Weighted Average Relevance Line |
| PC1 | Principal Component 1 |
| PC2 | Principal Component 2 |
| PCA | Principal Component Analysis |
| μ | Mean |
| σ | Standard Deviation |
| α | Regression Coefficient |
| β | Regression Coefficient |
References
- Alsoufi, M.S.; Bawazeer, S.A.; Alhazmi, M.W.; Hijji, H.H.; Alhazmi, H.; Alqurashi, H.F. Dimensional Accuracy and Measurement Variability in CNC-Turned Parts Using Digital Vernier Calipers and Coordinate Measuring Machines Across Five Materials. Materials 2025, 18, 2728. [Google Scholar] [CrossRef] [PubMed]
- Qiao, X.; Bai, X.F.; Zhang, Y.; Meng, D.R. The Influence of Residual Stresses on Dimension Stability during Thermal Mechanical Processes for High-Precision Components. Mater. Sci. Forum 2020, 982, 151–156. [Google Scholar] [CrossRef]
- Tang, Z.; Huang, C.; Shi, Z.; Li, B.; Liu, H.; Niu, J.; Chen, Z.H.; Jiang, G. A new characterization method for stress, hardness, microstructure and shear streamline using the stored energy field in deformation zone of workpiece. Int. J. Mach. Tools Manuf. 2022, 178, 103891. [Google Scholar] [CrossRef]
- Alsoufi, M.S.; Bawazeer, S.A. Probabilistic Analysis of Surface Integrity in CNC Turning: Influence of Thermal Conductivity and Hardness on Roughness and Waviness Distributions. Machines 2025, 13, 385. [Google Scholar] [CrossRef]
- Ben Saoud, F.; Korkmaz, M.E. A Review on Machinability of Shape Memory Alloys Through Traditional and Non-Traditional Machining Processes: A Review. Manuf. Technol. Appl. 2022, 3, 14–32. [Google Scholar] [CrossRef]
- Fatirah, R.S.; Norkhairusshima, M.K.; Suhaily, M.; Najiah, D.A.; Natasha, A.R. Optimization of Machining Parameters During Milling of Carbon Fibre Reinforced Plastics (CFRP). In Proceedings of the 3rd Malaysian International Tribology Conference; Springer: Singapore, 2022. [Google Scholar] [CrossRef]
- Rathod, N.J.; Chopra, M.K.; Vidhate, U.S.; Gurule, N.B.; Saindane, U.V. Investigation on the turning process parameters for tool life and production time using Taguchi analysis. Mater. Today Proc. 2021, 47, 5830–5835. [Google Scholar] [CrossRef]
- Hastaoglou-Martinidis, V. Identifying key interactions between process variables of different material categories using mutual information-based network inference method. Procedia Comput. Sci. 2022, 200, 1550–1564. [Google Scholar] [CrossRef]
- Valdés-Alonzo, G.; Binetruy, C.; Eck, B.; García-González, A.; Leygue, A. Phase distribution and properties identification of heterogeneous materials: A data-driven approach. Comput. Methods Appl. Mech. Eng. 2021, 390, 114354. [Google Scholar] [CrossRef]
- Espeseth, V.K.; Morin, D.; Børvik, T.; Hopperstad, O.S. A gradient-based non-local GTN model: Explicit finite element simulation of ductile damage and fracture. Eng. Fract. Mech. 2023, 289, 109442. [Google Scholar] [CrossRef]
- Samaniego, E.; Ulloa, J.; Rodriguez, P.; Samaniego, C. Variational Modelling of Strain Localization in Solids: A Computational Mechanics Point of View. Arch. Comput. Methods Eng. 2021, 28, 1183–1203. [Google Scholar] [CrossRef]
- Negi, A.; Kumar, S. Localizing gradient damage model with smoothed stress based anisotropic nonlocal interactions. Eng. Fract. Mech. 2019, 214, 21–39. [Google Scholar] [CrossRef]
- Shen, J. Prediction of Machining Quality and Tool Wear in Micro-Turning Machine Using Machine Learning Models. In Advances in Micro and Nano Manufacturing and Surface Engineering; Springer: Singapore, 2022. [Google Scholar] [CrossRef]
- Aggogeri, F.; Pellegrini, N.; Tagliani, F.L. Recent Advances on Machine Learning Applications in Machining Processes. Appl. Sci. 2021, 11, 8764. [Google Scholar] [CrossRef]
- Shurrab, S.; Almshnanah, A.; Duwairi, R. Tool Wear Prediction in Computer Numerical Control Milling Operations via Machine Learning. In Proceedings of the 12th International Conference on Information and Communication Systems (ICICS), Valencia, Spain, 24–26 May 2021. [Google Scholar] [CrossRef]
- Jin, F.; Bao, Y.; Jin, X. Tool wear prediction in edge trimming of carbon fiber reinforced polymer using machine learning with instantaneous parameters. J. Manuf. Process. 2022, 82, 277–295. [Google Scholar] [CrossRef]
- Abdallah, A.; Korkmaz, M.E.; Yaşar, N.; Gupta, M.K. Machine Learning-Based Modeling of Machining Performance under Different Cutting Conditions. Int. J. Adv. Manuf. Technol. 2024, 133, 2171–2188. [Google Scholar] [CrossRef]
- Kumar, S.; Singh, R.; Sharma, V.S.; Gupta, M.K. Machine Learning Prediction of Tribological Performance in Machining Processes. Tribol. Int. 2023, 190, 109207. [Google Scholar] [CrossRef]
- Ni, Y.; Li, Y.; Liu, C.; Liu, X. A mechanism informed neural network for predicting machining deformation of annular parts. Adv. Eng. Inform. 2022, 53, 101661. [Google Scholar] [CrossRef]
- Akbari, P.; Zamani, M.; Mostafaei, A. Machine learning prediction of mechanical properties in metal additive manufacturing. Addit. Manuf. 2024, 91, 104320. [Google Scholar] [CrossRef]
- Nieto-Fuentes, J.C.; Rittel, D.; Osovski, S. On a dislocation-based constitutive model and dynamic thermomechanical considerations. Int. J. Plast. 2018, 108, 55–69. [Google Scholar] [CrossRef]
- Kuvyrkin, G.N.; Savelieva, I.Y. Thermomechanical model of nonlocal deformation of a solid. Mech. Solids 2016, 51, 256–262. [Google Scholar] [CrossRef]
- Zhao, Z.; Li, Y.; Liu, C.; Chen, Z.; Chen, J.; Wang, L. A subsequent-machining-deformation prediction method based on the latent field estimation using deformation force. J. Manuf. Syst. 2022, 63, 224–237. [Google Scholar] [CrossRef]
- Xu, X. Research on Cutting Force based on Thermal-mechanical Coupling Precision Modeling. Sci. J. Technol. 2022, 4, 25–31. [Google Scholar] [CrossRef]
- Erturk, A.S.; Malakizadi, A.; Larsson, R. A thermomechanically motivated approach for identification of flow stress properties in metal cutting. Int. J. Adv. Manuf. Technol. 2020, 111, 1055–1068. [Google Scholar] [CrossRef]
- Soofi, Y.; Gu, Y.J.; Liu, J. An adaptive Physics-based feature engineering approach for Machine Learning-assisted alloy discovery. Comput. Mater. Sci. 2023, 226, 112248. [Google Scholar] [CrossRef]
- Linton, N.; Aidhy, D.S. A machine learning framework for elastic constants predictions in multi-principal element alloys. APL Mach. Learn. 2023, 1, 16109. [Google Scholar] [CrossRef]
- Alsoufi, M.S.; Bawazeer, S.A.; Alhazmi, M.W.; Alhazmi, H.; Hijji, H.H. Zone-Wise Uncertainty Propagation and Dimensional Stability Assessment in CNC-Turned Components Using Manual and Automated Metrology Systems. Machines 2025, 13, 585. [Google Scholar] [CrossRef]
- Alsoufi, M.S. A Dual-Mean Statistical and Multivariate Framework for Machinability Evaluation in CNC Turning: Gradient and Stiffness Analysis Across Five Materials. Materials 2025, 18, 2952. [Google Scholar] [CrossRef]
- ISO 1832:2017; Indexable Inserts for Cutting Tools—Designation. International Organization for Standardization: Geneva, Switzerland, 2017.
- ISO 5609:2012; Tool Holders for Turning and Copying with Indexable Inserts—Designation. International Organization for Standardization: Geneva, Switzerland, 2012.
- Alsoufi, M.S.; Bawazeer, S.A. Mechanistic Prediction of Machining-Induced Deformation in Metallic Alloys Using Property-Based Regression and Principal Component Analysis. Machines 2026, 14, 37. [Google Scholar] [CrossRef]
- Ansari, S.; Nassif, A.B. A comprehensive study of regression analysis and the existing techniques. In 2022 Advances in Science and Engineering Technology International Conferences (ASET); IEEE: New York, NY, USA, 2022; pp. 1–10. [Google Scholar] [CrossRef]
- Sekerogiu, B.; Ever, Y.K.; Dimililer, K.; Al-Turjman, F. Comparative Evaluation and Comprehensive Analysis of Machine Learning Models for Regression Problems. Data Intell. 2022, 4, 620–652. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Hastie, T.; Tibshirani, R.; Friedman, J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd ed.; Springer: New York, NY, USA, 2009. [Google Scholar] [CrossRef]
- Bishop, C.M. Pattern Recognition and Machine Learning; Springer: New York, NY, USA, 2006; ISBN 978-0387310732. [Google Scholar]
- Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning; MIT Press: Cambridge, MA, USA, 2016; ISBN 978-0262035613. [Google Scholar]
- Lundberg, S.M.; Lee, S.I. A Unified Approach to Interpreting Model Predictions. In Proceedings of the 31st International Conference on Neural Information Processing Systems (NeurIPS), Long Beach, CA, USA, 4–9 December 2017; pp. 4766–4777. [Google Scholar]
- Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar] [CrossRef]
- Bhattacharya, S.; Kalita, K.; Čep, R.; Chakraborty, S. A Comparative Analysis on Prediction Performance of Regression Models during Machining of Composite Materials. Materials 2021, 14, 6689. [Google Scholar] [CrossRef]
- Malley, S.A.; Reina, C.; Nacy, S.M.; Gilles, J.; Koohbor, B.; Youssef, G. Predictability of mechanical behavior of additively manufactured particulate composites using machine learning and data-driven approaches. Comput. Ind. 2022, 142, 103739. [Google Scholar] [CrossRef]











| Abbreviation | Full Model Name | Type | Strengths | Limitations |
|---|---|---|---|---|
| PLS | Partial Least Squares | Linear | Handles multicollinearity; interpretable | Limited in capturing nonlinearity |
| SGD | Stochastic Gradient Descent | Linear | Efficient with large datasets | Sensitive to learning rate and scaling |
| AB | AdaBoost Regression | Ensemble | Reduces bias, handles nonlinearities | Prone to overfitting with noisy data |
| NN | Neural Network | Nonlinear | Captures complex nonlinear patterns | Requires large data; may overfit |
| LR | Linear Regression | Linear | Fast, interpretable | Poor with nonlinear data |
| DT | Decision Tree | Tree-based | Nonlinear, easy to interpret | High variance, prone to overfitting |
| kNN | k-Nearest Neighbors | Instance-based | Simple, non-parametric | Computationally expensive for large data |
| RF | Random Forest | Ensemble | High accuracy, reduces overfitting | Less interpretable |
| SVM | Support Vector Machine | Nonlinear | Effective in high-dimensional space | Poor performance with noise & large datasets |
| GB | Gradient Boosting | Ensemble | Excellent accuracy, robust to overfitting | Slower to train, sensitive to hyperparameters |
| Model | Key Hyperparameters |
|---|---|
| PLS | components = 5; max_iter = 500; tol = 1 × 10−6; scale = True |
| SGD | loss = squared_error; penalty = l2; = 1 × 10−5; learning_rate = constant; = 0.01; max_iter = 1000; tol = 0.001 |
| AB | estimators = 100; learning_rate = 1.0; loss = exponential; base estimator = DecisionTreeRegressor |
| NN | hidden_layer_sizes = (100,100,100); activation = relu; solver = adam; learning_rate_init = 0.001; = 0.0002; max_iter = 400 |
| LR | = 0.0001; L1_ratio = 0.5; max_iter = 1000; fit_intercept = True; selection = cyclic |
| DT | criterion = squared_error; min_samples_split = 2; min_samples_leaf = 1; splitter = best |
| kNN | neighbors = 5; metric = Euclidean; weights = distance; algorithm = auto |
| RF | estimators = 30; criterion = squared_error; bootstrap = True; max_features = 1.0; min_samples_split = 2; min_samples_leaf = 1 |
| SVM | kernel = linear; C = 1.1; regression loss = 0.2; max_iter = 400; tol = 0.001 |
| GB | estimators = 200; learning_rate = 0.1; loss = squared_error; max_depth = 3; subsample = 0.9; criterion = friedman_mse |
| Model | PLS | SGD | AB | NN | LR | DT | kNN | RF | SVM | GB |
|---|---|---|---|---|---|---|---|---|---|---|
| PLS | - | 0.796 | 0.100 | 0.001 | 0.840 | 0.804 | 0.876 | 0.099 | 0.975 | 0.000 |
| SGD | 0.204 | - | 0.098 | 0.001 | 0.822 | 0.785 | 0.86 | 0.084 | 0.980 | 0.000 |
| AB | 0.900 | 0.902 | - | 0.035 | 0.910 | 0.943 | 0.989 | 0.427 | 0.967 | 0.044 |
| NN | 0.999 | 0.999 | 0.965 | - | 0.995 | 0.956 | 0.986 | 0.946 | 0.998 | 0.232 |
| LR | 0.160 | 0.178 | 0.090 | 0.005 | - | 0.731 | 0.799 | 0.061 | 0.970 | 0.001 |
| DT | 0.196 | 0.215 | 0.057 | 0.044 | 0.269 | - | 0.427 | 0.064 | 0.438 | 0.048 |
| kNN | 0.124 | 0.140 | 0.011 | 0.014 | 0.201 | 0.573 | - | 0.010 | 0.470 | 0.017 |
| RF | 0.901 | 0.916 | 0.573 | 0.054 | 0.939 | 0.936 | 0.990 | - | 0.984 | 0.051 |
| SVM | 0.025 | 0.020 | 0.033 | 0.002 | 0.030 | 0.562 | 0.530 | 0.016 | - | 0.000 |
| GB | 1.000 | 1.000 | 0.956 | 0.768 | 0.999 | 0.952 | 0.983 | 0.949 | 1.000 | - |
| Model | PLS | SGD | AB | NN | LR | DT | kNN | RF | SVM | GB |
|---|---|---|---|---|---|---|---|---|---|---|
| PLS | - | 0.177 | 0.920 | 0.999 | 0.156 | 0.152 | 0.101 | 0.920 | 0.034 | 1.000 |
| SGD | 0.823 | - | 0.920 | 0.999 | 0.184 | 0.185 | 0.121 | 0.930 | 0.028 | 1.000 |
| AB | 0.080 | 0.080 | - | 0.996 | 0.070 | 0.014 | 0.003 | 0.573 | 0.044 | 0.993 |
| NN | 0.001 | 0.001 | 0.004 | - | 0.004 | 0.002 | 0.000 | 0.014 | 0.003 | 0.791 |
| LR | 0.844 | 0.816 | 0.930 | 0.996 | - | 0.273 | 0.194 | 0.954 | 0.051 | 1.000 |
| DT | 0.848 | 0.815 | 0.986 | 0.998 | 0.727 | - | 0.518 | 0.981 | 0.466 | 0.996 |
| kNN | 0.899 | 0.879 | 0.997 | 1.000 | 0.806 | 0.482 | - | 0.998 | 0.442 | 0.999 |
| RF | 0.080 | 0.070 | 0.427 | 0.986 | 0.046 | 0.019 | 0.002 | - | 0.026 | 0.994 |
| SVM | 0.966 | 0.972 | 0.956 | 0.997 | 0.949 | 0.534 | 0.558 | 0.974 | - | 1.000 |
| GB | 0.000 | 0.000 | 0.007 | 0.209 | 0.000 | 0.004 | 0.001 | 0.006 | 0.000 | - |
| Model | Aluminum Alloy 6061 | Brass C26000 | Bronze C51000 | Stainless Steel 304 Annealed | Carbon Steel 1020 Annealed |
|---|---|---|---|---|---|
| PLS | 0.90161 | 0.95239 | 0.94009 | 0.95202 | 0.91428 |
| SGD | 0.91293 | 0.95210 | 0.94086 | 0.93450 | 0.89531 |
| AB | 0.87693 | 0.94826 | 0.91995 | 0.95006 | 0.91393 |
| NN | 0.96347 | 0.95280 | 0.97466 | 0.98725 | 0.98081 |
| LR | 0.85813 | 0.95184 | 0.94008 | 0.93476 | 0.88441 |
| DT | 0.73558 | 0.89121 | 0.84509 | 0.78524 | 0.81274 |
| kNN | 0.93737 | 0.95271 | 0.91812 | 0.92862 | 0.87770 |
| RF | 0.89207 | 0.96724 | 0.96293 | 0.96431 | 0.93635 |
| SVM | 0.82539 | 0.82378 | 0.84303 | 0.92351 | 0.77571 |
| GB | 0.98608 | 0.98754 | 0.98732 | 0.99108 | 0.97823 |
| Model | Best Material (Highest R2) | R2 | Worst Material (Lowest R2) | R2 |
|---|---|---|---|---|
| PLS | Brass C26000 | 0.95239 | Aluminum Alloy 6061 | 0.90161 |
| SGD | Brass C26000 | 0.95210 | Carbon Steel 1020 Annealed | 0.89531 |
| AB | Brass C26000 | 0.94826 | Aluminum Alloy 6061 | 0.87693 |
| NN | Stainless Steel 304 Annealed | 0.98725 | Brass C26000 | 0.95280 |
| LR | Brass C26000 | 0.95184 | Aluminum Alloy 6061 | 0.85813 |
| DT | Brass C26000 | 0.89121 | Aluminum Alloy 6061 | 0.73558 |
| kNN | Brass C26000 | 0.95271 | Carbon Steel 1020 Annealed | 0.87770 |
| RF | Brass C26000 | 0.96724 | Aluminum Alloy 6061 | 0.89207 |
| SVM | Stainless Steel 304 Annealed | 0.92351 | Carbon Steel 1020 Annealed | 0.77571 |
| GB | Stainless Steel 304 Annealed | 0.99108 | Carbon Steel 1020 Annealed | 0.97823 |
| Material | Best Model (Highest R2) | R2 | Worst Model (Lowest R2) | R2 |
|---|---|---|---|---|
| Aluminum Alloy 6061 | GB | 0.98608 | DT | 0.73558 |
| Brass C26000 | GB | 0.98754 | SVM | 0.82378 |
| Bronze C51000 | GB | 0.98732 | SVM | 0.84303 |
| Stainless Steel 304 Annealed | GB | 0.99108 | DT | 0.78524 |
| Carbon Steel 1020 Annealed | NN | 0.98081 | SVM | 0.77571 |
| Material | Mean R2 | Rank (R2) | Mean RMSE (N) | Rank (RMSE) |
|---|---|---|---|---|
| Stainless Steel 304 Annealed | 0.9361 | 2nd | 29.24 | 1st |
| Brass C26000 | 0.9415 | 1st | 31.60 | 2nd |
| Bronze C51000 | 0.9351 | 3rd | 34.87 | 3rd |
| Carbon Steel 1020 Annealed | 0.9081 | 4th | 36.12 | 4th |
| Aluminum Alloy 6061 | 0.9011 | 5th | 38.66 | 5th |
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. |
© 2026 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.
Share and Cite
Alsoufi, M.S.; Bawazeer, S.A. Cross-Material Benchmarking of Machine Learning Models for Cutting Force Prediction in CNC Turning. Machines 2026, 14, 426. https://doi.org/10.3390/machines14040426
Alsoufi MS, Bawazeer SA. Cross-Material Benchmarking of Machine Learning Models for Cutting Force Prediction in CNC Turning. Machines. 2026; 14(4):426. https://doi.org/10.3390/machines14040426
Chicago/Turabian StyleAlsoufi, Mohammad S., and Saleh A. Bawazeer. 2026. "Cross-Material Benchmarking of Machine Learning Models for Cutting Force Prediction in CNC Turning" Machines 14, no. 4: 426. https://doi.org/10.3390/machines14040426
APA StyleAlsoufi, M. S., & Bawazeer, S. A. (2026). Cross-Material Benchmarking of Machine Learning Models for Cutting Force Prediction in CNC Turning. Machines, 14(4), 426. https://doi.org/10.3390/machines14040426

