Verizon interview question

Explain Logistic regression , mathematically.