|
X-Boost
2.3.8
|
method to generate Feature More...
Go to the source code of this file.
Classes | |
| class | FeatureGenerator< Feature > |
| class | StoredFeatureGenerator< TFeature > |
| This generator uses a stored feature list. More... | |
Functions | |
| template<class T > | |
| bool | RandomSampleFeature (std::vector< T > &out, const std::vector< T > &in, int n) |
| template<class FeatureGenerator > | |
| void | GenerateFeatures (std::vector< typename FeatureGenerator::FeatureType > &features, FeatureGenerator &generator) |
| Fill vector of FeatureType using a FeatureGenerator object. | |
method to generate Feature
| bool RandomSampleFeature | ( | std::vector< T > & | out, |
| const std::vector< T > & | in, | ||
| int | n | ||
| ) |
random samples a vector of features
1.8.7