advances algos on logistic regression