work on linear least squares classifier