Applications of machine learning in perovskite materials