Magnesium alloys, Intermetallic compounds, Hydrogen evolution reaction, First-principles calculation, Active learning