Accurate prediction of surface roughness and cutting forces in milling aluminum alloys remains challenging under data-scarce conditions, where limited experimental data restricts the application of conventional machine learning models. This study addresses this gap by developing a systematic machine learning framework using 108 milling experiments (repeated to 216 tests) on aluminum alloys AA2024-T351 and AA6061-T6. Five primary machining inputs—material type, spindle speed, feed rate, depth of cut, and tool coating—were used. Through feature engineering, 35 interaction features were generated to capture non-linear relationships. A two-step preprocessing strategy was applied: Winsorization at the 5th and 95th percentiles to handle outliers, followed by hybrid scaling combining RobustScaler and MinMaxScaler. Eight machine learning algorithms, including XGBoost, NGBoost, LightGBM, CatBoost, Random Forest, MLP, SVR, and Least Squares Boosting, were developed and hyperparameter-optimized using the Optuna framework with Tree-structured Parzen Estimator. Models were evaluated using R2, MAE, and RMSE on a 70/15/15 train–validation–test split. Results demonstrate that XGBoost achieved the highest predictive accuracy for surface roughness (Ra) (R2 = 0. 99829) and for resultant cutting force (FN) (R2 = 0. 997). Feed rate was identified as the dominant machining parameter, accounting for 87. 7% of the total importance in predicting surface roughness. SHAP analysis confirmed that engineered interaction features—particularly FeedCoating and MaterialFeed—carry strong physical relevance. Additionally, NGBoost enabled probabilistic regression, providing uncertainty estimates. The proposed framework proves highly effective for multi-output prediction in machining under limited data, offering a robust, interpretable, and industry-ready solution for quality control in aluminum alloy milling operations.
Ebrahimi et al. (Sun,) studied this question.