Commit Graph

3 Commits

Author SHA1 Message Date
kortschak
aa29fc4604 stat: trim wide backing vecs matrix during PCA
vecs is wide when a is wide, but vectors beyond n are not valid, so
clone the result view into vecs. This costs an allocation when it
happens, but potentially saves significant space - when n << d.
2016-03-06 21:45:30 +10:30
kortschak
91c2813441 stat: fix typo 2016-03-06 07:24:19 +10:30
kortschak
388e9295cf stat: add principal components calculation 2016-03-05 08:25:11 +10:30