A least squares formulation for a class of generalized eigenvalue problems in machine learning | Synapse