CodSoft Interview Question

How to train machine learning models