lots of feature extraction changes
allow using part of training data to generate stats features