dummyEncoding helper function
Use dummy encoding in the regression fit
Factor out logistic regression loss function
Classification fit script
Add TODO