|
Darwin
1.10(beta)
|
Copies input feature space to output feature space. More...
Public Member Functions | |
| drwnIdentityFeatureMap (int nFeatures) | |
| const char * | type () const |
| returns object type as a string (e.g., Foo::type() { return "Foo"; }) | |
| drwnIdentityFeatureMap * | clone () const |
| returns a copy of the class usually implemented as virtual Foo* clone() { return new Foo(*this); } | |
| int | numParameters () const |
| returns the number of features in the output space | |
| vector< double > | operator() (const vector< double > &x) const |
| feature vector | |
| double | dot (const vector< double > &theta, const vector< double > &x) const |
| dot product | |
| void | mac (vector< double > &theta, const vector< double > &x, double alpha) const |
| multiply-accumulate | |
Public Member Functions inherited from drwnFeatureMap | |
| drwnFeatureMap () | |
| default constructor | |
| drwnFeatureMap (int nFeatures) | |
| construct with known number of input features | |
| virtual | ~drwnFeatureMap () |
| destructor | |
| int | numFeatures () const |
| returns the number of features in the input space | |
| virtual void | initialize (int nFeatures) |
| initialize number of (intput) features | |
Additional Inherited Members | |
Protected Attributes inherited from drwnFeatureMap | |
| int | _nFeatures |
| number of input features | |
Copies input feature space to output feature space.
1.8.13