Enhanced hardenability prediction in 20CrMo special steel via XGBoost model
摘要
Machine learning is employed to comprehensively analyze and predict the hardenability of 20CrMo steel. The hardenability dataset includes J9 and J15 hardenability values, chemical composition, and heat treatment parameters. Various machine learning models, including linear regression (LR), k-nearest neighbors (KNN), random forest (RF), and extreme Gradient Boosting (XGBoost), are employed to develop predictive models for the hardenability of 20CrMo steel. Among these models, the XGBoost model achieves the best performance, with coefficients of determination (R2) of 0.941 and 0.946 for predicting J9 and J15 values, respectively. The predictions fall with a ± 2 HRC bandwidth for 98% of J9 cases and 99% of J15 cases. Additionally, SHapley Additive exPlanations (SHAP) analysis is used to identify the key elements that significantly influence the hardenability of the 20CrMo steel. The analysis revealed that alloying elements such as Si, Cr, C, N and Mo play significant roles in hardenability. The strengths and weaknesses of various machine learning models in predicting hardenability are also discussed.