<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ask Ghassem - Recent questions tagged pca</title>
<link>https://ask.ghassem.com/tag/pca</link>
<description>Powered by Question2Answer</description>
<item>
<title>Can PCA be used for supervised learning?</title>
<link>https://ask.ghassem.com/832/can-pca-be-used-for-supervised-learning</link>
<description>Can PCA be used for supervised learning???&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve seen some data scientists using PCA to transform their data for only numerical variables.&lt;br /&gt;
&lt;br /&gt;
However, some other data scientists say that it is only used for unsupervised ML techniques.</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/832/can-pca-be-used-for-supervised-learning</guid>
<pubDate>Tue, 18 Feb 2020 21:49:18 +0000</pubDate>
</item>
<item>
<title>How to calculate Covariance Matrix and Principal Components for PCA?</title>
<link>https://ask.ghassem.com/652/how-calculate-covariance-matrix-and-principal-components</link>
<description>&lt;p&gt;The dataset with two features $(x,y)$ is shown as follows (note $y$ in this example is the second feature, not a target value):&lt;/p&gt;

&lt;table border=&quot;01&quot; cellpadding=&quot;0&quot; style=&quot;height:100px; width:50px&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;x&lt;/th&gt;
&lt;th&gt;y&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2.5&lt;/td&gt;
&lt;td&gt;2.4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0.5&lt;/td&gt;
&lt;td&gt;0.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2.2&lt;/td&gt;
&lt;td&gt;2.9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1.9&lt;/td&gt;
&lt;td&gt;2.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.1&lt;/td&gt;
&lt;td&gt;3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2.3&lt;/td&gt;
&lt;td&gt;2.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2.0&lt;/td&gt;
&lt;td&gt;1.6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1.0&lt;/td&gt;
&lt;td&gt;1.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1.5&lt;/td&gt;
&lt;td&gt;1.6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1.1&lt;/td&gt;
&lt;td&gt;0.9&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;a) Calculate the Covariance Matrix.&lt;br&gt;
b) Calculate eigenvalues and eigenvectors&lt;br&gt;
c) Calculate all the PCs&lt;br&gt;
d) How much percent of the total variance in the dataset is explained by each PC?&lt;/p&gt;</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/652/how-calculate-covariance-matrix-and-principal-components</guid>
<pubDate>Wed, 26 Jun 2019 10:40:02 +0000</pubDate>
</item>
<item>
<title>Great Video for K-means and PCA</title>
<link>https://ask.ghassem.com/417/great-video-for-k-means-and-pca</link>
<description>&lt;p&gt;PCA&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=FgakZw6K1QQ&quot;&gt;https://www.youtube.com/watch?v=FgakZw6K1QQ&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;K-Means&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=4b5d3muPQmA&amp;amp;index=10&amp;amp;list=PLblh5JKOoLUICTaGLRoHQDuF_7q2GfuJF&amp;amp;t=0s&quot;&gt;https://www.youtube.com/watch?v=4b5d3muPQmA&amp;amp;index=10&amp;amp;list=PLblh5JKOoLUICTaGLRoHQDuF_7q2GfuJF&amp;amp;t=0s&lt;/a&gt;&lt;/p&gt;</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/417/great-video-for-k-means-and-pca</guid>
<pubDate>Wed, 17 Oct 2018 13:46:54 +0000</pubDate>
</item>
</channel>
</rss>