Classification methods and linear regression