to take linear discriminant analysis