first attempt at incremental online logistic regression