Targeted feature extraction : a deep learning approach