Reimplement Logistic Regression with interface of Learner and Data.
finish refactoring
debug: correct throw expression
runnable version of refactor