In[1]:=
Loading Data
In[3]:=
Generating projection matrix
Produce right-multiply projection matrix P -- data.P is the new data matrix, where data is a matrix where each row is a new datapoint.
PCA
In[9]:=
In[10]:=
Out[13]=
Fishers Linear Discriminant
In[14]:=
Testing Fisher' s Linear Discriminant
In[15]:=
Out[19]=
In[20]:=
Out[23]=
Collapsing Scatter Matrix