class CanCorrelation extends Reducer with Error
The CanCorrelation
class performs Canonical Correlation Analysis 'CCA'
on two random vectors. Samples for the first one are stored in the 'x'
data matrix and samples for the second are stored in the 'y' data matrix.
Find vectors a and b that maximize the correlation between x * a and y * b.
max {rho (x * a, y * b)}
Additional vectors orthogonal to a and b can also be found.
- Alphabetic
- By Inheritance
- CanCorrelation
- Error
- Reducer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CanCorrelation(x: MatrixD, y: MatrixD)
- x
the x data matrix
- y
the y data matrix
Value Members
-
final
def
flaw(method: String, message: String): Unit
- Definition Classes
- Error
-
def
recover(): MatrixD
Approximately recover the original data ...
Approximately recover the original data ...
- Definition Classes
- CanCorrelation → Reducer
-
def
recover2(): (MatrixD, MatrixD)
Approximately recover the original data ...
-
def
reduce(): MatrixD
Reduce the original data ...
Reduce the original data ...
- Definition Classes
- CanCorrelation → Reducer
-
def
reduce2(): (MatrixD, MatrixD)
Reduce the original data ...