XM interview question

How would you train a model?