Semisupervised nonlinear feature extraction for image classification