using_variational_approximations_to_efficiently_build_a_generalised_discriminant_analysis_algorithm.pdf