Using discriminant analysis as a nucleation event classification method