Verizon Interview Question

Explain Logistic regression , mathematically.