/** * Learn the principal components of the given data matrix. Each row * corresponds to an observation with the number of dimensions equal to the * number of columns. * * @param data * the data */ public void learnBasis(Matrix data) { final Matrix norm = this.buildNormalisedDataMatrix(data); learnBasisNorm(norm); }