Train and evaluate logistic model with regularization | Atlassian Interview Question