add linear regression class