Feature vector class. It is essentialy a matrix where, the first dimention refers to the feature and the other dimension to the element.
More...
#include <Feature.hpp>
template<class D>
class Bial::Feature< D >
Feature vector class. It is essentialy a matrix where, the first dimention refers to the feature and the other dimension to the element.
Definition at line 28 of file Feature.hpp.
Basic constructor.
- Date
- 2012/Jun/26
- Parameters
-
elements | Number of elements. |
features | Number of features. |
- Returns
- none.
- Warning
- none.
template<class D>
template<class D2 >
Constructor of sub sample of given feature vector with desired samples.
- Date
- 2014/Oct/22
- Parameters
-
feat | Base feature vector for sampling. |
sample | Vector with sample indexes. |
- Returns
- none.
- Warning
- Does not check if requested samples are in original feature vector range.
Returns a reference from this feature vectors.
- Date
- 2012/Aug/13
- Parameters
-
- Returns
- A reference from this feature vectors.
- Warning
- none.
Returns a reference from this feature vectors.
- Date
- 2015/Mar/10
- Parameters
-
- Returns
- A reference from this feature vectors.
- Warning
- none.
Returns the number of elements.
- Date
- 2012/Jun/29
- Parameters
-
- Returns
- The number of elements.
- Warning
- none.
Returns the number of features.
- Date
- 2012/Jun/29
- Parameters
-
- Returns
- The number of features.
- Warning
- none.
Returns a reference from this feature vectors.
- Date
- 2012/Aug/13
- Parameters
-
- Returns
- A reference from this feature vectors.
- Warning
- none.
Returns a reference from this feature vectors.
- Date
- 2015/Mar/10
- Parameters
-
- Returns
- A reference from this feature vectors.
- Warning
- none.
Returns a constant reference to the index vector.
- Date
- 2012/Jun/29
- Parameters
-
- Returns
- A constant reference to the index vector.
- Warning
- none.
Returns a reference to the index vector.
- Date
- 2012/Aug/13
- Parameters
-
- Returns
- A reference to the index vector.
- Warning
- Input vector size must be compatible.
Returns index of element elm.
- Date
- 2012/Jun/29
- Parameters
-
elm | The index to be accessed. |
- Returns
- Feature index element elm.
- Warning
- none.
Returns a reference to feature index element elm.
- Date
- 2012/Jun/29
- Parameters
-
elm | The index to be accessed. |
- Returns
- Reference to feature index element elm.
- Warning
- none.
Returns a constant reference to the label vector.
- Date
- 2012/Jun/29
- Parameters
-
- Returns
- A constant reference to the label vector.
- Warning
- none.
Returns a reference to the label vector.
- Date
- 2012/Aug/13
- Parameters
-
- Returns
- A reference to the label vector.
- Warning
- Input vector size must be compatible.
Returns label of element elm.
- Date
- 2012/Jun/29
- Parameters
-
elm | The label to be accessed. |
- Returns
- Feature label element elm.
- Warning
- none.
Returns a reference to feature label element elm.
- Date
- 2012/Jun/29
- Parameters
-
elm | The label to be accessed. |
- Returns
- Reference to feature label element elm.
- Warning
- none.
Returns the number of labels in the feature vector.
- Date
- 2012/Jun/29
- Parameters
-
- Returns
- Number of labels in the feature vector.
- Warning
- none.
Sets the maximum label value in feature vector.
- Date
- 2012/Jun/29
- Parameters
-
max | Maximum label value in feature vector. |
- Returns
- none.
- Warning
- none.
Returns reference to feature vector of element elm.
- Date
- 2012/Jul/14
- Parameters
-
elm | The element to be accessed. |
- Returns
- Reference to feature vector of element elm.
- Warning
- none.
Copies ftr_vct data to element elm.
- Date
- 2014/Oct/14
- Parameters
-
elm | The element to be accessed. |
ftr_vct | A feature vector. |
- Returns
- none.
- Warning
- none.
Returns feature ftr of element elm.
- Date
- 2012/Jun/29
- Parameters
-
elm | The element to be accessed. |
ftr | The feature to be accessed. |
- Returns
- Feature ftr of element elm.
- Warning
- none.
Returns reference to feature ftr of element elm.
- Date
- 2012/Jun/29
- Parameters
-
elm | The element to be accessed. |
ftr | The feature to be accessed. |
- Returns
- Reference to feature ftr of element elm.
- Warning
- none.
Returns reference to feature vector of element elm.
- Date
- 2012/Jul/14
- Parameters
-
elm | The element to be accessed. |
- Returns
- Reference to feature vector of element elm.
- Warning
- none.
template<class D>
template<class O >
Prints feature vector containts to output stream os.
- Date
- 2012/Aug/07
- Parameters
-
- Returns
- The output stream.
- Warning
- Only enebled features are printed.
Returns the number of vectors multiplied by the number of features.
- Date
- 2015/Mar/12
- Parameters
-
- Returns
- The number of vectors multiplied by the number of features.
- Warning
- none.
Returns the number of vectors multiplied by the number of features.
- Date
- 2015/Mar/12
- Parameters
-
- Returns
- The number of vectors multiplied by the number of features.
- Warning
- none.
template<class D>
template<class D2 >
The documentation for this class was generated from the following file: