Title: Optimal discriminant analysis