Use ClassificationViaRegression instead of LinearRegression as classifier.