An improved algorithm for the generalized rank annihilation method | Synapse