Extract FeatureWeights to a class file