How to build a machine learning model in 7 steps