|
CEDRIC
Revision_backup-2009-02
|
Classical Multidimensional Scaling (suited for small instances) More...
#include <CMDS.h>
Public Types | |
| enum | DecompositionMethod { MethodQR, MethodCholesky, MethodLanczos } |
| typedef ublas::matrix< ValueType > | Matrix |
| typedef ublas::vector< ValueType > | Vector |
Public Member Functions | |
| CMDS (Matrix &D, int method=(int) MethodQR) | |
| Perform classical multidimensional scaling. More... | |
| const Vector & | getEigenvalues () const |
| void | project (int dim=2) |
| Project referenced matrix D to dim dimensions. More... | |
Classical Multidimensional Scaling (suited for small instances)
| enum CMDS::DecompositionMethod |
Perform classical multidimensional scaling.
| [in,out] | D | distance matrix, gets overwritten after CMDS! |
References ublasTools::double_center(), Cholesky< ValueType >::getL(), Eigenvalue< ValueType >::getRealEigenvalues(), Eigenvalue< ValueType >::getV(), CMDS< ValueType >::MethodCholesky, and CMDS< ValueType >::MethodLanczos.
Return real eigenvalues sorted from largest to smallest (empty when using Cholesky method!).
|
inline |
Project referenced matrix D to dim dimensions.
References Lanczos< Matrix, Vector >::getEigenvalue(), Lanczos< Matrix, Vector >::getEigenvector(), CMDS< ValueType >::MethodLanczos, and CMDS< ValueType >::MethodQR.
Referenced by EventMap::create(), and FastMDS< ValueType >::FastMDS().
1.8.6