Generative versus discriminative training of RBMs for classification of fMRI images