Next Article in Journal
Influence of Substrate Preheating on Processing Dynamics and Microstructure of Alloy 718 Produced by Directed Energy Deposition Using a Laser Beam and Wire
Previous Article in Journal
The Issues of the Radiation Hardening Determination of Steels After Ion Irradiation Using Instrumented Indentation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Predicting Corrosion Behaviour of Magnesium Alloy Using Machine Learning Approaches

by
Tülay Yıldırım
1,* and
Hüseyin Zengin
2,*
1
Eskipazar Vocational School, Karabük University, 78050 Karabük, Turkey
2
Institute of Chemical Technology of Inorganic Materials (TIM), Johannes Kepler University Linz, Altenberger Str. 69, 4040 Linz, Austria
*
Authors to whom correspondence should be addressed.
Metals 2025, 15(11), 1183; https://doi.org/10.3390/met15111183 (registering DOI)
Submission received: 30 September 2025 / Revised: 21 October 2025 / Accepted: 23 October 2025 / Published: 24 October 2025
(This article belongs to the Section Computation and Simulation on Metals)

Abstract

The primary objective of this study is to develop a machine learning-based predictive model using corrosion rate data for magnesium alloys compiled from the literature. Corrosion rates measured under different deformation rates and heat treatment parameters were analyzed using artificial intelligence algorithms. Variables such as chemical composition, heat treatment temperature and time, deformation state, pH, test method, and test duration were used as inputs in the dataset. Various regression algorithms were compared with the PyCaret AutoML library, and the models with the highest accuracy scores were analyzed with Gradient Extra Trees and AdaBoost regression methods. The findings of this study demonstrate that modelling corrosion behaviour by integrating chemical composition with experimental conditions and processing parameters substantially enhances predictive accuracy. The regression models, developed using the PyCaret library, achieved high accuracy scores, producing corrosion rate predictions that are remarkably consistent with experimental values reported in the literature. Detailed tables and figures confirm that the most influential factors governing corrosion were successfully identified, providing valuable insights into the underlying mechanisms. These results highlight the potential of AI-assisted decision systems as powerful tools for material selection and experimental design, and, when supported by larger databases, for predicting the corrosion life of magnesium alloys and guiding the development of new alloys.
Keywords: magnesium alloys; machine learning; PyCaret AutoML; corrosion rate prediction; deformation parameters; heat treatment magnesium alloys; machine learning; PyCaret AutoML; corrosion rate prediction; deformation parameters; heat treatment

Share and Cite

MDPI and ACS Style

Yıldırım, T.; Zengin, H. Predicting Corrosion Behaviour of Magnesium Alloy Using Machine Learning Approaches. Metals 2025, 15, 1183. https://doi.org/10.3390/met15111183

AMA Style

Yıldırım T, Zengin H. Predicting Corrosion Behaviour of Magnesium Alloy Using Machine Learning Approaches. Metals. 2025; 15(11):1183. https://doi.org/10.3390/met15111183

Chicago/Turabian Style

Yıldırım, Tülay, and Hüseyin Zengin. 2025. "Predicting Corrosion Behaviour of Magnesium Alloy Using Machine Learning Approaches" Metals 15, no. 11: 1183. https://doi.org/10.3390/met15111183

APA Style

Yıldırım, T., & Zengin, H. (2025). Predicting Corrosion Behaviour of Magnesium Alloy Using Machine Learning Approaches. Metals, 15(11), 1183. https://doi.org/10.3390/met15111183

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop