Pergunta de entrevista da empresa IBM

How is logistic regression done?