classifier abstract class, linear regression added