Microsoft interview question

How do you do logistic regression