Microsoft Interview Question

Derive logistic regression loss function.