Weakly-supervised hashing in kernel space | Synapse