notebook on online logistic regression classification