Script for logistic regression, 16% error rate.