Feature extraction in classification