<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nithin Santhosh on Medium]]></title>
        <description><![CDATA[Stories by Nithin Santhosh on Medium]]></description>
        <link>https://medium.com/@212nithin?source=rss-85a67516dbf7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EorSd7MnCsCHuqp4.jpg</url>
            <title>Stories by Nithin Santhosh on Medium</title>
            <link>https://medium.com/@212nithin?source=rss-85a67516dbf7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:24:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@212nithin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[PCA — Principal Component Analysis(Part II)]]></title>
            <link>https://212nithin.medium.com/pca-principal-component-analysis-part-ii-76f26988b904?source=rss-85a67516dbf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/76f26988b904</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[apc]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Nithin Santhosh]]></dc:creator>
            <pubDate>Thu, 21 Jan 2021 17:20:17 GMT</pubDate>
            <atom:updated>2021-01-21T17:20:17.114Z</atom:updated>
            <content:encoded><![CDATA[<h3>PCA — Principal Component Analysis(Part II)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y70JmtU8xEsDJi6n4v9XXw.jpeg" /></figure><blockquote>What is PCA? Why PCA? When to use PCA ?How PCA Works? — These might be the questions that will arise in your mind when you hear the word PCA for the first time . What is PCA ? Why PCA ? When to use PCA? — I have already explained these concepts in PCA PART I , please go through the link mentioned to see Part I of PCA — <a href="https://212nithin.medium.com/pca-principal-component-analysis-5957a8a14d45">https://212nithin.medium.com/pca-principal-component-analysis-5957a8a14d45</a></blockquote><p>In Part (I) I have explained what is PCA and Why PCA? and When to use PCA? in this article I am going to explain how PCA works with an example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*d5w9Kjj5LXBzgBWJA4oOTA.jpeg" /><figcaption>Figure 1: Representation of PCA</figcaption></figure><p>In figure 1 we can see how PCA is represented, so in Figure 1 let us assume that point B is at (x1,x2). In the figure I have plotted B using two PCs (just assume for this particualar data point only two PCs are there). PC1 and PC2 are princpal components and the point B is plotted on PC1 and PC2 (Below I will be explaining how exactly PCS are genrerated). If we just take the sum of varainces and i.e D1 and D2(green lines) we will get total information which is point B itself, this is how actually PCA works. Now let us understand PCA in a better way by taking a data set.</p><p>To apply PCA there should be minimum 3 Columns(Features/variables) , here I am just taking two columns to explain PCA but if we are trying to apply PCA in real life scenario there should be minimum 3 features present.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/1*tt-JJsvxRjHl1N_elYHQ8g.jpeg" /><figcaption>Figure 2: Dataset used for PCA</figcaption></figure><p>In figure 2 we can see the dataset used for PCA.</p><p><strong>PC1 and PC2 is obtained by taking sum of products of eigen vectors with hours and marks (Figure 3 shows representation of how PCS are obtained</strong>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*d4Q3hgIsZXp9DX_XTEgv1w.jpeg" /><figcaption>Figure 3: Representaion of how PCs are obtained.</figcaption></figure><p>Total Variance (i.e nothing but total information)of Hours and Marks is 382.9861 and if we take the total varince of PC1 and PC2 also we will get the same.<strong>Figure 4 is the proof showing that PC1 and PC2 explains Hours and Marks properly</strong>.</p><blockquote>It is clear from figure 4 that sum of total variance (total information) of Hours and Marks is equal to sum of total variance of PCs.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*bFPZlPlslUE1b0aBcnnT-w.png" /><figcaption>Figure 4: Representation of variance of variables and PCs</figcaption></figure><p>So now the question which will arise in our mind is how much each PC explains the data, in all the cases irrespective of data set PC1 i.e first Principal Component will explains the most second will explain less than first PC and so on. In this case first PC i.e PC1 explains 98.52% and second PC explains 1.48% of total data so it is clear that both PCs will explains full data and figure 5 shows how much each PC for the dataset that I have taken represents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9u_7_R5IgNfVN5T6gHOtDQ.png" /><figcaption>Figure 5: Represenation of how much each PC explains.</figcaption></figure><p>Thank you for reading this article and I hope I have helped you to understand PCA and also please provide your valuable feed for this article.</p><p>If you would like to connect with me please use below mentioned link.</p><p><a href="https://www.linkedin.com/in/nithin-santhosh-626ba6112/">https://www.linkedin.com/in/nithin-santhosh-626ba6112/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76f26988b904" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PCA — Principal Component Analysis]]></title>
            <link>https://212nithin.medium.com/pca-principal-component-analysis-5957a8a14d45?source=rss-85a67516dbf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5957a8a14d45</guid>
            <category><![CDATA[aritificial-intelligence]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Nithin Santhosh]]></dc:creator>
            <pubDate>Sat, 09 Jan 2021 15:07:27 GMT</pubDate>
            <atom:updated>2021-01-09T17:05:33.372Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>PCA — Principal Component Analysis(Part I)</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PzSmwllOq0CCg6lam1YkCQ.jpeg" /></figure><blockquote>What is PCA? Why PCA? When to use PCA ?How PCA Works? — These might be the questions that will arise in your mind when you hear the word PCA for the first time .</blockquote><p>PCA or Principal Component Analysis is nothing but a statistical procedure that uses an orthogonal (right angle) transformation to convert a set of observations of possibly correlated variables into a set of values of linearly uncorrelated variables called principal components. In other words, PCA is a statistical approach in which the values are plotted on to PCs(Principal Components) using orthogonal transformation and all the PCs are orthogonal to each other. Also, the first Principal Component will explain the majority of data i.e it will explain the majority of the variance.</p><blockquote><strong>Total information of a data set is nothing but total variance</strong>.</blockquote><p>In Statistics, all the information is represented in the form of numbers. In Figure 1, each diamond shape represents the price of the house vs the Area in sqft. The diamond shape is information for that particular sqft area’s house so we can take it as variance i.e the difference from origin to first diamond shape is the variance for that particular diamond and so on. If we want to know the total information then the distance from the origin to all diamond shapes has to be taken, so that’s how <strong>total variance = total information</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*XH98x58AoDoVujZP4A_6PA.jpeg" /><figcaption>Figure 1: Area of Plot vs Price of House</figcaption></figure><p>Total information = var(x1)+var(x2)+var(x3)+var(x4).</p><p>x1,x2,x3,x4 represents each diamond shape in the graph.</p><ul><li>PCA is used to overcome featured redundancy in the data set. So we use PCA on high dimensional data.</li><li>PCA can only be applied to datasets with numeric values.</li><li>PCA gives better results when data is standardized. Standardization becomes extremely important when the predictors are in different units.</li><li>In order to apply PCA at least, there should be 3 dimensions (Variables/Column/Features)</li><li>PCA is a tool that helps to give a better visualization of high dimensional data.</li></ul><p>In this article, I have tried my best to explain what is PCA and when to use PCA. In part II I will be explaining how PCA works with an example.</p><p>Thanks for reading the article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5957a8a14d45" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>