Publicis Sapient interview question

how logistic regression works