When label information is available, it can be leveraged to yield more effective hashing codes since labels provide extra information about the similarities of documents.
a mapping from the latent representation z to the cor-responding label y is learned for each document.