diff options
author | Camil Staps | 2015-09-21 15:17:40 +0200 |
---|---|---|
committer | Camil Staps | 2015-09-21 15:17:40 +0200 |
commit | dc77e1c88e7973ef2b7ec3afa2d22ec830a82dbe (patch) | |
tree | 356b2db45f40c843488e6d8706f4c02455b87ea1 /Assignment 1/ex12.py | |
parent | Assignment 1, 1.1 & 1.2 start (diff) |
Assignment 1 continuing, only 1.2.2c-e to be done
Diffstat (limited to 'Assignment 1/ex12.py')
-rw-r--r-- | Assignment 1/ex12.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Assignment 1/ex12.py b/Assignment 1/ex12.py index 3db49e1..5c467dc 100644 --- a/Assignment 1/ex12.py +++ b/Assignment 1/ex12.py @@ -47,3 +47,14 @@ handles = [pltpatches.Patch(label=k, color=v) for k, v in colors.iteritems()] + ax.legend(handles=handles, numpoints=1, loc=2) plt.show() + +# 1.2.2 a +# PCA is a method that can be used to reduce dimensionality of a dataset. It +# can be used when some variables are correlated; we then basically rewrite one +# of them as a function of the other. Of course, in general that implies data +# loss. + +# 1.2.2 b +# EVD is a way to rewrite a diagonalizable matrix into a canonical form (a +# summation of products of eigenvalues and corresponding eigenvectors). SVD is +# a generalisation which can be applied to any matrix. |