Clarified spec

This commit is contained in:
Davis King 2013-06-01 14:30:36 -04:00
parent 8c91f4dbdd
commit 4fae5a5ade
1 changed files with 4 additions and 3 deletions

View File

@ -72,9 +72,10 @@ namespace dlib
- #Ltrans.nc() == N - #Ltrans.nc() == N
- #Rtrans.nr() == R.nc() - #Rtrans.nr() == R.nc()
- #Rtrans.nc() == N - #Rtrans.nc() == N
- No centering is applied to the L and R matrices. Therefore, if you want a - This function assumes the data vectors in L and R have already been centered
CCA relative to the centered vectors then you must apply centering yourself (i.e. we assume the vectors have zero means). However, in many cases it is
before calling cca(). fine to use uncentered data with cca(). But if it is important for your
problem then you should center your data before passing it to cca().
- This function works with reduced rank approximations of the L and R matrices. - This function works with reduced rank approximations of the L and R matrices.
This makes it fast when working with large matrices. In particular, we use This makes it fast when working with large matrices. In particular, we use
the svd_fast() routine to find reduced rank representations of the input the svd_fast() routine to find reduced rank representations of the input