Pergunta de entrevista da empresa Profitect

How does logistic regression work?