Daniel@0: Daniel@0:
Daniel@0:Daniel@0: [var, U, lambda] = pca(x, ppca_dim) Daniel@0:Daniel@0: Daniel@0: Daniel@0:
[var, U, lambda] = ppca(x, ppca_dim)
computes the principal component
Daniel@0: subspace U
of dimension ppca_dim
using a centred
Daniel@0: covariance matrix x
. The variable var
contains
Daniel@0: the off-subspace variance (which is assumed to be spherical), while the
Daniel@0: vector lambda
contains the variances of each of the principal
Daniel@0: components. This is computed using the eigenvalue and eigenvector
Daniel@0: decomposition of x
.
Daniel@0:
Daniel@0: eigdec
, pca
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: