Changeset 14 for trunk/src/PCA.h


Ignore:
Timestamp:
Jun 25, 2003, 10:56:33 AM (19 years ago)
Author:
daniel
Message:

One correction in the projection-method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PCA.h

    r13 r14  
    1919{
    2020  /**
    21      Class performing PCA using SVD.
     21     Class performing PCA using SVD. This class assumes that
     22     the columns corresponds to the dimenension of the problem.
     23     That means if data has dimension NxM (M=columns) the number
     24     of principal-axes will equal M-1. When projecting data into
     25     this space, all Nx1 vectors will have dimension Mx1. Hence
     26     the projection will have dimension MxM where each column is
     27     a point in the new space. Also, it assumes that M>N. The
     28     opposite problem is yet not implemented. However, could easily
     29     be done by using that, if A=input-data=MxN, then SVM(A)->A=USV,
     30     and SVM(A')->A'=VSU. So by changing eigenvectors=U to
     31     eigenvectors=V and rewrite the projection-method in terms of columns
     32     instead of rows ...
    2233  */
    2334 
Note: See TracChangeset for help on using the changeset viewer.