Machine learning assistance for electrochemical curve simulation of corrosion and its application