Prediction of microstructure evolution by machine learning