Uber Interview Question

write out logistic regression using equations