linear regression class change