ABSTRACT Magnesium (Mg) alloys are increasingly recognised for their potential as anode materials in batteries due to their high specific capacity and cost-effectiveness. However, their susceptibility to corrosion poses a significant challenge to practical applications. This study explores the effectiveness of various machine learning models – local polynomial regression, Decision Trees, Random Forest, Gradient Boost, and Extreme Gradient Boost – in predicting the corrosion behaviour of Mg alloy battery anodes in a 3.5 wt.% NaCl electrolyte. Experimental data on the corrosion current density of Mg alloys are collected and analysed using the RapidMiner tool for model training and evaluation. The findings highlight that the Extreme Gradient Boost (XGBoost) model excels among other machine learning techniques in accurately forecasting the corrosion rates of Mg alloys. XGBoost achieves an exceptional R2 value of 0.9931 in Tafel plots, indicating a robust fit to the data as evidenced by scatter plots. Furthermore, the XGBoost model demonstrates strong positive monotonic and ordinal relationships between actual and predicted corrosion current densities, as indicated by a Spearman correlation coefficient of 1 and a Kendall tau coefficient of 0.99. These outcomes underscore XGBoost's potential as a powerful tool for enhancing the understanding and management of corrosion in Mg alloy battery applications.
Read full abstract