tested logreg
Merge branch 'master' of https://github.com/cmobrien/6867