src/training/common/sampleiterator.cpp
void SampleIterator::MapSampleFeatures(const IntFeatureMap &feature_map) {
  for (Begin(); !AtEnd(); Next()) {
    TrainingSample *sample = MutableSample();
    MapFeatures(*sample, feature_map);
  }
}
// Apply the supplied feature_space/feature_map transform to all samples
// accessed by this iterator.
Apply the supplied feature_space/feature_map transform to all samples
accessed by this iterator.
Apply the supplied feature_space / feature_map transform to all samples accessed by this iterator .
void SampleIterator::MapSampleFeatures(const IntFeatureMap &feature_map) {
  for (Begin(); !AtEnd(); Next()) {
    TrainingSample *sample = MutableSample();
    MapFeatures(*sample, feature_map);
  }
}
void SampleIterator :: MapSampleFeatures ( const IntFeatureMap & feature_map ) { for ( Begin ( ) ; ! AtEnd ( ) ; Next ( ) ) { TrainingSample * sample = MutableSample ( ) ; MapFeatures ( * sample , feature_map ) ; } }
Apply the supplied feature_space/feature_map transform to all samples
accessed by this iterator.
Apply the supplied feature_space / feature_map transform to all samples accessed by this iterator .