Clean up example model fitting and use code
Change default model to logistic regression
More descriptive function name
Move example code fitting/use code to top of file