DOC: put feature extraction before pre-processing.