Process Guided by Machine Learning to Boost Perovskite Solar Cells Production