Upgraded application of logistic regression