#include <reduce.h>
Inheritance diagram for fl::MDA:

Public Methods | |
| MDA () | |
| MDA (std::istream &stream) | |
| virtual void | analyze (const std::vector< Vector< float > > &data, const std::vector< int > &classAssignments) |
| virtual Vector< float > | reduce (const Vector< float > &datum) |
| virtual void | read (std::istream &stream) |
| virtual void | write (std::ostream &stream, bool withName=false) |
Public Attributes | |
| Matrix< float > | W |
| Basis matrix for reduced space. | |
|
|
|
|
|
|
|
||||||||||||
|
This initial implementation assumes that classAssignments numbers classes contiquously from 0 to c-1, and that no other integers besides [0,c-1] exist in the vector. A more general version could be written to analyze and remap the class numbers. Reimplemented from fl::DimensionalityReduction. |
|
|
Reimplemented from fl::DimensionalityReduction. |
|
|
Implements fl::DimensionalityReduction. |
|
||||||||||||
|
Reimplemented from fl::DimensionalityReduction. |
|
|
Basis matrix for reduced space.
|
1.2.18