IBM Interview Question

How is logistic regression done?