Supervised learning of large perceptual organization: graph spectral partitioning and learning automata | Synapse