Bain & Company Interview Question

How would you train a linear regression model?