<?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[CampusX - Medium]]></title>
        <description><![CDATA[Blogs and write-ups related to Data Science and Machine Learning - Medium]]></description>
        <link>https://medium.com/campusx?source=rss----1c366dc378c5---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>CampusX - Medium</title>
            <link>https://medium.com/campusx?source=rss----1c366dc378c5---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 05:11:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/campusx" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Data Analysis Process]]></title>
            <link>https://medium.com/campusx/the-data-analysis-process-3bd812d25acb?source=rss----1c366dc378c5---4</link>
            <guid isPermaLink="false">https://medium.com/p/3bd812d25acb</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Surabhi Basak]]></dc:creator>
            <pubDate>Mon, 04 May 2020 05:14:13 GMT</pubDate>
            <atom:updated>2020-05-04T05:14:13.344Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*KCntDbpToTVc9vuk3DT5ZA.jpeg" /></figure><blockquote>In our day to day life, we always analyze many situations, like the pattern of sugar intake in our family helps us to conclude that aged people have less sugar as compared to younger ones. Even, facebook knows to suggest new friends for us, and Google can complete our search before we have even typed the third letter. All these happens by the process of data analysis. In this article, I will let you know the process of data analysis.</blockquote><p>Data analysis is the process of evaluating data using analytical and statistical tools to discover useful information and aid in decision making. It is a process of collecting, transforming, cleaning, and modelling data to discover the required information. The results so obtained are communicated, suggesting conclusions, and supporting decision-making. Data visualization is at times used to portray the data for the ease of discovering the useful patterns in the data.</p><p>The data analysis process includes <strong><em>five</em></strong> steps. They are:</p><ol><li><strong>Asking Questions</strong>: Whenever you get a dataset, ask the right question to it.</li><li><strong>Data Wrangling</strong>: This is the most important step, also known as data munging. Generally, the data is not in the correct format, so we need to clean the data for the processing.</li><li><strong>Exploratory Data Analysis</strong>: After cleaning the data, we explore the data, by drawing patterns, graphs and correlation among the data attributes.</li><li><strong>Drawing Conclusions</strong>: This is also an important step in data analysis.</li><li><strong>Communicating Results</strong>: After the whole process, we communicate the result with our team.</li></ol><p>So, when you already know about the five steps, let us see the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*7Sx-UNHhuRlaRpYdQneG_Q.png" /></figure><p>This is a CSV dataset of <em>Titanic</em> which has the details of passengers, in which class they were travelling, and whether they survived or not. So, at first, we can check the amount of data, by</p><p>titanic=pd.read_csv(‘titanic.csv’)</p><p>titanic.shape</p><p>which gives output as (891,12), which means there are 891 rows and 12 columns. Lets see what are the columns present in the dataset.</p><p>titanic.columns</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*YVefMEGBGch5w6_QqSYK2g.png" /></figure><p>The columns are:</p><ol><li><strong>PassengerId</strong>: it stores the passenger ID.</li><li><strong>Survived</strong>: it stores 1 if the passenger survives else 0.</li><li><strong>Pclass</strong>: it stores the class in which the passenger is travelling as 1,2,3.</li><li><strong>Name</strong>: it stores the name of passengers.</li><li><strong>Sex</strong>: it stores either male or female.</li><li><strong>Age</strong>: it stores the age of the passenger.</li><li><strong>SibSp</strong>: it stores 1 if there is sibling, else 0.</li><li><strong>Parch</strong>: it stores 1 if the passenger is travelling with parents or children.</li><li><strong>Ticket</strong>: it stores ticket.</li><li><strong>Fare</strong>: it stores fare</li><li><strong>Cabin</strong>: it stores cabin name.</li><li><strong>Embarked</strong>: it stores where passengers will get off.</li></ol><p>So, now when you know a bit about what the data is about, let’s begin with asking questions.</p><h3><strong>Asking Question</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/0*l1lapdTT8RlW3TzW" /></figure><p>Firstly, we need to think about which features will contribute to my analysis? I think PassengerId, Name, Ticket and Cabin are not required for the analysis, hence we will remove them during exploratory data analysis.Next, we can think do Age has any relation with Survived.<br>Again, as we all know, in Titanic, women and children were saved at first. So our question can be, do the survived passenger has more number of women and children?<br>Finally, we can also check whether there is any relation between embarked and Survived.<br>But before all these, we first need to clean the data.</p><h3>Data Wrangling</h3><p>First, lets remove the columns that donot contribute to the process of data analysis. So, we will write,</p><p>titanic.drop(columns=[‘PassengerId’,’Name’,’Ticket’,’Cabin’],inplace=True)</p><p>Then we will be left with</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*QS6wJxY2skKJlS0vP9FruA.png" /></figure><p>Next, we will remove the data, where the values are missing. So, we will write,</p><p>titanic=titanic.dropna()</p><p>Next, we will change the Sex column, male to 1 and female to 0. So, we will write,</p><p>titanic[‘Sex’].replace({‘male’:1,’female’:0},inplace=True)</p><p>Next, if we see the embarked column, there are three kinds of data,</p><p>titanic[‘Embarked’].value_counts()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*9kisXnYB35LTxAlzLFHBbQ.png" /></figure><p>Since Q is for less amount of data as compared to S and C, so we can remove Q, and then change S to 1 and C to 0.</p><p>titanic[‘Embarked’].replace({‘S’:1,’C’:0},inplace=True)</p><p>Now we will check the datatypes.</p><p>titanic.info()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*b4PICO1gLoZ5uX6kdHWOyw.png" /></figure><p>Now, we can see that all the data is in numerical form, so lets check the correlation among each column.</p><h3>Exploratory Data Analysis</h3><p>titanic.corr()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*c4LGgyQlNzVhO-xGF6cGGw.png" /></figure><p>Now, from this, we can observe:</p><ol><li>There is no correlation between survived and Pclass, Sex, Age, embarked.</li><li>There is no correlation between Pclass and Survived, Age, Fare.</li><li>There is no correlation between Sex and Survived, Sibsp, Parch, Fare.</li><li>There is no correlation between Age and Survived, Pclass, Sibsp, Parch, embarked.</li><li>There is no correlation between Sibsp and Sex, Age.</li><li>There is no correlation between Parch and Sex, Age.</li><li>There is no correlation between Fare and Pclass, Sex, embarked.</li><li>There is no correlation between embarked and Survived, Age, Fare.</li></ol><p>As we all know, when Titanic was sunking, females were saved first, so, we plot a graph by</p><p>sns.barplot(x=”Sex”, y=”Survived”, data= titanic)<br> plt.show()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*y2K7x19_PeupEaPlGCns5w.png" /><figcaption>0 is female and 1 is male</figcaption></figure><p>Again, we can observe that Survived also depends on Pclass.</p><p>sns.barplot(x=”Pclass”, y=”Survived”, data= titanic)<br> plt.show()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*O4ubP4c_UDrUSU3tKQNxGA.png" /></figure><p>To see how Survived depends on Age,</p><p>sns.boxplot(x=”Sex”,y=”Age”,hue=”Survived”,data=titanic)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*mMN-akCMOWy3LQFWl9VN5Q.png" /><figcaption>0 is female and 1 is male(Sex)</figcaption></figure><h3>Drawing conclusion</h3><p>After the whole process of exploratory data analysis, I can conclude that whether a person will survive or not, depends on the class in which he/she was travelling, sex and age.</p><h3>Communicating Result</h3><p>After the whole process we need to communicate the result through blogs, presentation with our team.</p><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/0*CUBcRpEp272-QWn-.jpeg" /></figure><p>The fun part about the whole thing is we start with any step and jump from one step to another. Data Analysis is an important job after getting the raw data, and following these five steps will help you to do the whole process. Finally I will end by quoting the lines by Jim Bergeson, “<em>Data will talk to you if you are willing to listen</em>”.</p><blockquote><strong>Thank You</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bd812d25acb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/campusx/the-data-analysis-process-3bd812d25acb">The Data Analysis Process</a> was originally published in <a href="https://medium.com/campusx">CampusX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Analysis: Countries of the World]]></title>
            <link>https://medium.com/campusx/data-analysis-countries-of-the-world-a795077b7679?source=rss----1c366dc378c5---4</link>
            <guid isPermaLink="false">https://medium.com/p/a795077b7679</guid>
            <dc:creator><![CDATA[Surabhi Basak]]></dc:creator>
            <pubDate>Mon, 04 May 2020 05:13:56 GMT</pubDate>
            <atom:updated>2020-05-04T05:13:56.083Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Wouldn’t it be fun if from a data you can get answer of some questions? For that we do data analysis. In this article, I will be doing a data analysis on a dataset, and conclude some points from it.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*L0JKl63vLN553m-9yjTZsw.jpeg" /></figure><p><strong><em>Data analysis</em></strong> is the process of evaluating data using analytical and statistical tools to discover useful information and aid in decision making. It is a process of collecting, transforming, cleaning, and modelling data to discover the required information. The results so obtained are communicated, suggesting conclusions, and supporting decision-making. Data visualization is at times used to portray the data for the ease of discovering the useful patterns in the data.</p><p>In this article, I will be demonstrating the process of data analysis using a dataset.</p><h3><strong>Dataset Overview</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YT8fkF5jbl8RYnDTelgy8w.png" /></figure><p>This is a csv file that contains details of different Countries in the World. Let us see, what is the <em>length</em> of the data?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CTFlok5mmYjtNCMjS0ZuGQ.png" /></figure><p>So we can observe that the data set contains 227 rows and 20 columns. Now we will see what are the <em>columns</em> present in the dataset ?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*2zl3k7xknZRVc2oj1f1OYQ.png" /></figure><p>The columns are:</p><ul><li><strong>Country</strong>: It stores the name of the country.</li><li><strong>Region</strong>: It stores the region where the country is situated.</li><li><strong>Population</strong>: It stores the population of the country.</li><li><strong>Area (sq. mi. )</strong>: It stores the area of the country.</li><li><strong>Pop Density ( per sq. mi.)</strong>: It stores the population density of the country.</li><li><strong>Coastline (coast/ area ratio)</strong>: It stores the ratio between coastline area to the total area.</li><li><strong>Net migration</strong>: It stores the difference between the number of immigrants (people coming into an area) and the number of emigrants (people leaving an area) throughout the year.</li><li><strong>Infant mortality (per 1000</strong> <strong>births)</strong>: It stores the number of death of children under the age of one year.</li><li><strong>GDP ($ per capita)</strong>: It stores the GDP.</li><li><strong>Literacy (%)</strong>: It stores the literacy percentage of the country.</li><li><strong>Phones (per 1000)</strong>: It stores the number of phones in the country.</li><li><strong>Arable (%)</strong>: It stores the arable percentage of the country.</li><li><strong>Crops (%)</strong>: It stores the percentage of crops in the country.</li><li><strong>Others (%)</strong>: It stores percentage of other things in the country.</li><li><strong>Climate</strong>: It stores the climate of the country.</li><li><strong>Birthrate</strong>: It stores the birthrate of the country.</li><li><strong>Deathrate</strong>: It stores the deathrate of the country.</li><li><strong>Agriculture</strong>: It stores amount of agriculture of the country.</li><li><strong>Industry</strong>: It stores the amount of industry in the country.</li><li><strong>Service</strong>: It stores the amount of service available in the country.</li></ul><p>First we will remove the data which has NaN value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*TBU-dOYDEqlJW4ufzHkNOA.png" /></figure><p>We deleted those rows which has NaN value in it, and we can now observe that the dataset decreased to 179 from 227 rows. Next, our job is to see, the data types of the <em>column</em> attributes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*33GHvb6lUsMhE1lOd6_5Nw.png" /></figure><p>Here we can observe that leaving Population, Area and GDP, all the attributes are of datatype object, moreover, by looking at the data, we can also observe that the data contains ‘,’ and ‘.’. So now we will change the datatype as well as the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*xc5ClWTuZFeufmuz_Keypg.png" /></figure><p>Here a is a dataframe which contains attributes without ‘,’ and ‘.’, and of datatype float and int. After that we merge both the dataframes, and get a final dataset containing 20 columns, with only Country and Region of datatype object, and rest are float and integer respectively. Hence we finally complete the process of cleaning the data and making it useful for analysis.</p><p>Now after cleaning the data, we will start asking questions to the data.</p><h3>Asking Questions and Communicating Result</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2KSSCZsx0nq5Elz6.jpg" /></figure><p><strong>Which are the top most populated Country of the world?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*ADMZmenzUIus1Pl0Gt0zJg.png" /></figure><p>From the above bar graph, we can observe that, China is the most populated country followed by India, the second most populated country in the world.</p><p><strong>Which country has the biggest area?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*1llWG9N5N-Mjg5h8MU5Vrg.png" /></figure><p>From the above graph, we can observe that China and United States has the biggest area among all, followed by Brazil and Australia.</p><p><strong>Which country has largest coastline area?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*1RhEe4kHOyS1jfdIEZbrHg.png" /></figure><p>So, from the above graph it is clear that Micronesia Fed. St. has the largest coastline area followed by other countries. Micronesia has largest coastline because it is an island.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*vNg_NYfk9KAnztQeR5fYfw.png" /></figure><p><strong>Which are the top countries with highest GDP?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*rJs68XYUXAOyQKkmdTNFRw.png" /></figure><p>The countries with highest GDP are :</p><p>United States, Norway, Bermuda, Cayman Islands, Switzerland, Denmark and Iceland.</p><p><strong>Which are the countries that are 100% literate?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*ccYY0APzHnOkzrm9jCuC2A.png" /></figure><p>The countries that are 100% literate are Australia, Denmark, Finland, Liechtenstein and Norway.</p><p><strong>Is there any correlation between birthrate and deathrate?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*nj_kq9v6pAckMbeJWnfr4g.png" /></figure><p>From the above heatmap, we can observe that there is a correlation of 0.45 between birthrate and deathrate, which is quite good.</p><p><strong>Is there any correlation between climate, crops and arable?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*B2YvIurW04o_ItaxArR8jQ.png" /></figure><p>From the above heatmap, we can observe that crops neither depend on how arable the land is nor the climate, but on the other hand how arable the land is somewhat dependent on the climate with correlation of 0.38.</p><p><strong>How much GDP is dependent on industry and service?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*tVHIuey-rS1N1-w3HKZgQQ.png" /></figure><p>From the above heatmap, we can observe that GDP do not depend on industry that much, but GDP depends on Service somewhat by 0.54.</p><p><strong>How birthrate varies?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*0vdAMb-KbvJtDsfCwo2yag.png" /></figure><p>The above plot shows how birthrate varies.</p><p><strong>How birthrate varies?</strong></p><p>The above plot shows how deathrate varies.</p><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*SuiNwLtx7UC5i2lhgJCy2Q.jpeg" /></figure><p>After going through the whole data analysis process, I can observe that United States is bigger in size and GDP is more, but less populated. Again country like China is bigger in size as well as very much populated. Moreover Australia, though it is a not a big country, neither it has population like China, but it is 100% literate. So I can conclude that Australia is a better country. Hence we can see that data analysis makes it so easy for us to analyse the data and conclude points from it.</p><blockquote><strong>Thank You</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a795077b7679" width="1" height="1" alt=""><hr><p><a href="https://medium.com/campusx/data-analysis-countries-of-the-world-a795077b7679">Data Analysis: Countries of the World</a> was originally published in <a href="https://medium.com/campusx">CampusX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Internship 101 for Engineering Students]]></title>
            <link>https://medium.com/campusx/internship-101-for-engineering-students-6084061f6868?source=rss----1c366dc378c5---4</link>
            <guid isPermaLink="false">https://medium.com/p/6084061f6868</guid>
            <category><![CDATA[summer]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[intenship]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[CampusX Official]]></dc:creator>
            <pubDate>Mon, 04 May 2020 05:01:16 GMT</pubDate>
            <atom:updated>2020-05-04T05:01:16.750Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*dId8t9c88gtKgk18-K6dGg.jpeg" /></figure><p>With summer vacation knocking at the door, another nightmare has started poking into the geeky minds of most engineers — Internship.</p><p>Yes, a crucial, often overlooked aspect of your four-year curriculum, Internships actually help you build the bridge between your classroom and the centrally air-conditioned 4x4 cubicle (recliners and bean bags for some lucky ones) waiting for you in that big pretentious corporate world out there. When you miss this important opportunity where you can actually apply your concepts in a sort of sandboxed environment, you are already depriving yourself of essential expertise which most of your colleagues would be having later. It is high time to ask yourself this question: Why should you let your peers have a competitive edge over you?</p><p>Internships introduce you to the actual work-flow being followed in the industry at present. Imagine the following scenario:</p><p><em>Jayesh is a second-year Computer Science Engineering undergraduate at a non-premier engineering institute in India. His curriculum has introduced him to the concepts and algorithms of data-structure, operating systems, etc. Jayesh is a pro-active student (considering a best-case scenario here) and has himself taken up the task to code the DS algorithms himself and been successful in doing so. However, doubt still lingers in his mind. Where is this data-structure actually used? How is it used? Why is this particular DS algorithm used? But neither his friends nor his professors have actually been able to clarify his doubt.</em></p><p><em>Now, Jayesh asks one of his seniors, Pratyush for help. Pratyush recommends him to apply for an internship. He even recommends Jayesh to apply for a particular start-up founded by Pratyush’s brother. Pratyush even sent a recommendation to his brother regarding Jayesh’s candidature.</em></p><p><em>Pratyush’s brother’s start-up is a video-game company. Having a reliable recommendation and considering Jayesh’s pro-active nature, he was selected as an Intern in the start-up. After getting accustomed to the work-flow and culture at the start-ups, it was time for Jayesh to learn while working on the actual products, which would be used by millions of people soon. For the first time, Jayesh was exposed to the concepts of Binary Space Partition, Heaps, etc. at a much-advanced level, which would have never been taught in his DS classes. Jayesh could now relate to the concepts he learned in class and actually apply them to work on advanced algorithms.</em></p><p><em>Considering Jayesh’s hunger for learning and his energetic attitude, he was offered a PPO at the same start-up. Although he accepted the offer, within two years, (now equipped with both internship and work experience) he was selected in one of the biggest Software companies in the world. Jayesh couldn’t thank his senior enough for his valuable advice and recommendation.</em></p><p>Yes, it is important to know and actually work on the concepts you’ve learned in class before you actually work full time. Internships not only gives you the requisite technical skills, but it also builds you as a complete professional even before you graduate. Once you graduate with an Internship in your CV, companies can be assured that you are aware of the work culture in the corporate and industrial sectors, and your chances of employability increase manifold.</p><p>Now, most of the students who were aware of this, and have applied in almost every possible companies for an internship but failed, would fret that it is almost impossible to convert an internship. But, believe me, it is not. To convert an internship, you need to follow a set of protocols and procedures and be rest assured you will be interning in a start-up/company pretty soon.</p><p>These are some of the steps and protocols one should follow which would boost his/her chances of getting that internship offer.</p><ol><li><strong>Where to apply?</strong></li></ol><p>This is one of the first questions that comes to the mind, once a candidate has decided that he will be interning at a company in the upcoming vacations. Well, there are numerous choices.</p><p>a. <strong>Start-ups</strong> are one of the best options to intern. They are themselves growing and they work on the latest industry standards. Interning at a start-up will help you upgrade your skills to the most updated tools and technologies. Although the pay will be on the lower sides (not always though), the learning quotient would be very high. Start-ups are an amazing place to learn while on the go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aIuGNqjd3pOu_NwXaHyaRQ.jpeg" /></figure><p>b. MNCs or IT companies, too, offer internships. Although they are not huge in number, still they may be considered. The learning quotient and pay are average.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*hb6EM94D_gaxf3QP5OnKEA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*iY-7_j9t8UL0uC7kAPJuuQ.jpeg" /></figure><p>c. The cliched internships at the <strong>software giants like Google</strong>, Amazon, Microsoft, etc. These are highly competitive and are the most prestigious internships. The competitions too are very high. No doubt, both the pay and learning are towards the higher end of the curve.</p><p>d. If you want you can also apply for research internships at major educational institutions like IITs/IIMs/NITs where you can work alongside highly knowledgeable professors on industrial projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*cOdiOPDuashiC6sC2R0D6g.jpeg" /></figure><p><strong>2. How to apply?</strong></p><p>After deciding upon the previous question, next comes another dubious question: How to apply?</p><p>a. One of the most reliable methods of applying is through referral. Get hold of your seniors, family members, friends who can recommend you in their company.</p><p>b. In many colleges, companies come to colleges to hire interns. For such companies stay in touch with your TNP cell.</p><p>c. Get in touch with HRs of companies through LinkedIn. Ask them for vacancies, send your resumes. They will help you with internship opportunities. Please note, asking for help is different from spamming. DO NOT bombard their inboxes with messages. Be patient. While sending a message, be precise with your queries and doubts. HRs are busy persons, don’t beat around the bush.</p><p>d. You can apply through the companies’ career pages. Though the chances of converting the offer through the career page are often quite bleak, it is still an official channel to apply for an open position. You should follow this if none of the other options are possible.</p><p>e. Founders and Co-Founders of start-ups are all over social media be it Facebook, Twitter, LinkedIn, AngelList, etc. Get in touch with them. Again, spamming their inbox and emails is a big no-no.</p><p><strong>3. Resume/CV</strong></p><p>Keep your resume short and precise. Do not let your resume exceed more than two pages. The person reading your resume is busy with his/her daily chores. Keep it concise and compelling for the reader to consider your CV for acceptance. Skip achievements like “Won Sack Race in 5th standard” etc. Highlight your contributions to open source forums, your GitHub projects, etc.</p><p><strong>4. Do the homework before applying</strong></p><p>Know about the company you are applying to. Read the companies’ blogs, newsletters, etc. Try to go through their YouTube, Facebook, LinkedIn Profiles. Know what the companies are up to these days. See the pitching videos of the start-ups you are applying to. If possible use the products of the start-ups before applying. Point out the glitches, add-ons in your application. It shows your interest in the company and its product. It increases your chances of being selected. Go through the job description (if) posted on the job sites before applying.</p><p><strong>5. Recommendations</strong></p><p>Find someone who can recommend you. If a family member of the Founder of the start-up can recommend you, both yours and the Founders’ task of selecting you becomes easier. If that is not possible, a mail from you Dean, Principal of your college would not do harm. Get someone <em>reliable</em> who can vouch for you.</p><p><strong>6. Expectations</strong></p><p>Be sure to be clear about what you expect from the internship before applying. Start-ups are not a place that can offer you hefty paycheques. They can definitely pay you in hefty amounts in knowledge. Be sure to know your expectations from the internship before applying. If you are applying, just for that one line on your CV, you better refrain yourself from doing the internship.</p><p><strong>7. Be Professional</strong></p><p>a. First and foremost, create a professional email id. <a href="/service/mailto:Karan4love@gmail.com">Karan4love@gmail.com</a> is highly unprofessional. Always try to send the applications for your internship from your college email viz. <a href="/service/mailto:saikat@cit.com">saikat@cit.com</a>. If that is not available, try to use a more professionally named email like <a href="/service/mailto:avinash.iem@gmail.com">avinash.iem@gmail.com</a>, <a href="/service/mailto:avinash.sinha@gmail.com">avinash.sinha@gmail.com</a>, or <a href="/service/mailto:avinash24@gmail.com">avinash24@gmail.com</a>. Make the email id look professional.</p><p>b. Ensure that your mail is grammatically correct. Read the mail twice or thrice before sending it. Apply the spell check before sending it. Your mail will be the first thing that will introduce you to the company. Poorly constructed sentences, bad grammar, and erroneous spellings leave a bad impression on your candidature.</p><p><strong>8. Start Early</strong></p><p>If you are planning to intern in the summer vacations, start your company scavenging in early November and December. Why wait for the resumes to pile up? Start early, so that you don’t have to rush with your applications and overlook minor details and errors. Stay ahead of time and be composed and relaxed.</p><p>And, remember, getting the internship offer is not the end of the journey. It is the mere beginning. Try to utilize the one or two months to its fullest and maximize your skillset and learnings as much as possible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6084061f6868" width="1" height="1" alt=""><hr><p><a href="https://medium.com/campusx/internship-101-for-engineering-students-6084061f6868">Internship 101 for Engineering Students</a> was originally published in <a href="https://medium.com/campusx">CampusX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Project on COVID -19 India With the help of Data Analysis and Dash]]></title>
            <link>https://medium.com/campusx/project-on-covid-19-india-with-the-help-of-data-analysis-and-dash-255135c105f7?source=rss----1c366dc378c5---4</link>
            <guid isPermaLink="false">https://medium.com/p/255135c105f7</guid>
            <category><![CDATA[dash]]></category>
            <category><![CDATA[covid-19-india]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[coronavirus]]></category>
            <dc:creator><![CDATA[Shubham Kumar Raj]]></dc:creator>
            <pubDate>Sun, 03 May 2020 07:38:02 GMT</pubDate>
            <atom:updated>2020-05-03T07:38:54.672Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a COVID -19 Dashboard using Dash</h3><p>Final Look after completing the Project :-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*IAgREMyyi_TPmTf7-gybUQ.png" /></figure><h3>Description About the Project :-</h3><p>In this Project we are Going to Build a Dashboard on which we are going to Show the Situation of India in this Corona Phase with the help of Graphs ,So that we can easily Visualise the current Status in different State of India and also Visualise the number of patients in different status.</p><p><strong>What we Need to know for this Project:-</strong></p><p>First we are Going to make a Dashboard in which we shows So many Analysis on the COVID_19 with the help of Dataset .For making this we need Some Basic Knowledge about the website Development and Some Basic Knowledge about the Data Analysis .So we are going to make this Project with the help of Dash which is a python framework for building web application.It built on top of Flask, Plotly.js , React and React Js .It is not possible to build a Dashboard using pure Python.</p><p><strong>Tool Needs to make this Project:-</strong></p><ol><li>We are going to do this Project on PyCharm .So Install PyCharm.</li><li>For Analysis part you need Dataset of COVID-19 , So download the dataset from Kaggle , which is a csv file means comma-separated values Here is the Link:-</li></ol><p><a href="https://www.kaggle.com/sudalairajkumar/covid19-in-india">COVID-19 in India</a></p><p>Now we have Both PyCharm and Dataset , So we Should start our Project:-</p><p>First you go to Desktop and make a directory with the name COVID-19 and move your csv file means dataset inside that COVID_19 directory and then open that directory inside the PayCharm. Now make a python file inside the COVID-19 directory with the name app .Now open that that app python file .</p><p>Now for making Dashboard first we install all the packages through terminal inside the PayCharm , which we are going to use in this Project:-<br><strong>Install pandas ,</strong> Here is the command <strong>pip install pandas</strong><br><strong>Install plotly ,</strong> Here is the command <strong>pip install plotly</strong><br><strong>Install dash , </strong>Here is the command <strong>pip install dash</strong></p><p>After this we import all these inside the app python file</p><pre>import pandas as pd<br>import plotly.graph_objs as go<br>import dash<br>import dash_core_components as dcc<br>import dash_html_components as html<br>from dash.dependencies import Input, Output</pre><p>Now for making attractive website we are going to use Bootstrap which is a free and open source CSS framework. For using Bootstrap in the Dash project we have a certain rule to use .First we make a empty list and inside that list we give all the description about the External Stylesheet in a curly bracket.</p><pre>external_stylesheet= [<br>    {<br>        &#39;href&#39;: &#39;https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css&#39;,<br>        &#39;rel&#39;: &#39;stylesheet&#39;,<br>        &#39;integrity&#39;: &#39;sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh&#39;,<br>        &#39;crossorigin&#39;: &#39;anonymous&#39;<br>    }<br>]</pre><p><strong><em>Now we read that csv file inside the app file:-</em></strong></p><p><strong>data1=pd.read_csv(‘IndividualDetails4.csv’)</strong></p><p>In Dash first we do two thing inside the app file that is :-<br>1. Now make a variable app which will be equal to (__name__) of dash class.<br> syntax:- <strong>app=dash.Dash(__name__,external_stylesheets=external_stylesheet)</strong></p><p>2. Make a layout with the help of app<br>app.layout=html.Div([ ],className=’container-fluid’)<br>Inside this Div we are going to write our html code.</p><h4>After this Do Some Analysis on this data :-</h4><p>First thing we see inside the data that how many number of column and number of row by <strong>data.shape and </strong>then check the column name<strong> </strong>and data inside all the column .</p><p>First we Analysis that how many number of candidates is in different Status like Hospitalise ,Recovered , and Death , this is very simple just look your dataset there is a column name “current status” in which they mention the current status of all the patients and in that column there is a categorical data which is Hospitalise ,Recovered , and Death .if we want to find the number of patient having different status . we know there is a method <strong>value_counts() </strong>which give the number of counts of different categorical data.So if we do this :-<strong> mask=data[‘current status’].value_counts() </strong>it’s give output like this:-<br><strong>Hospitalized 5212<br>Recovered 116<br>Deceased 26<br>Migrated 1<br>Name: current_status, dtype: int64</strong></p><p>Then mask[0] give the number of candidates who is Hospitalised,<br>mask[1] give the number of candidate who is Recovered,<br>mask[2] give the number of candidate who is Deceased or death.</p><p>For Building this project dash is divided into two part first <strong>dash_core_component as dcc </strong>and second is <strong>dash_html_component as html .</strong>So we want to show this Analysis on the webpage. So we need to code in the layout section of this app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*nXQZ0-8L9NMk5XrQI0fqtw.png" /></figure><p>In this code we take a “container-fluid” class of Bootstrap which take the entire screen side inside that Div we take another div of class “row” inside the row we take another div of class “col-md-3” after that we take another div of class “ row” inside the class col-md-3 and finally we take 4 div of class “col-md-12” inside the class row and in each div of col-md-12 we take a card and inside the card we display the content .</p><p><strong>@ all these classes {col-md-3 ,col-md-12, card ,row } are Bootstrap classes.</strong></p><p>if we want to show this Analysis on the dashboard in the pie-chart in which user input the name of the state and we are going to show the status of that particular state.In this pie-chart we need we need two things first dropdown and second pie-chart so inside the div we use <strong><em>dash_core_component as dcc</em><br>which help in building the dropdown and Graph.</strong></p><pre>dcc.Dropdown(id=&#39;pie&#39;, <em>options=pie_option</em>, value=&#39;All&#39;),<br>dcc.Graph(id=&#39;pie1&#39;)</pre><p>In id =’pie’ we take input from this id=’pie’ and <strong>option =pie_option</strong> here pie option is a list of all the option which you want to show in the dropdown.So we make a list of option:-</p><pre>pie_option=[<br>    {&#39;label&#39;:&#39;All&#39;,&#39;value&#39;:&#39;All&#39;},<br>    {&#39;label&#39;:&#39;Maharashtra&#39;,&#39;value&#39;:&#39;Maharashtra&#39;},<br>    {&#39;label&#39;:&#39;Delhi&#39;,&#39;value&#39;:&#39;Delhi&#39;},<br>    {&#39;label&#39;:&#39;Kerala&#39;,&#39;value&#39;:&#39;Kerala&#39;},<br>    {&#39;label&#39;:&#39;Telangana&#39;,&#39;value&#39;:&#39;Telangana&#39;},<br>    {&#39;label&#39;:&#39;Punjab&#39;,&#39;value&#39;:&#39;Punjab&#39;},<br>    {&#39;label&#39;: &#39;Haryana&#39;, &#39;value&#39;: &#39;Haryana&#39;},<br>    {&#39;label&#39;: &#39;West Bengal &#39;, &#39;value&#39;: &#39;West Bengal&#39;},<br>    {&#39;label&#39;: &#39;Rajasthan&#39;, &#39;value&#39;: &#39;Rajasthan&#39;},<br>    {&#39;label&#39;: &#39;Tamil Nadu&#39;, &#39;value&#39;: &#39;Tamil Nadu&#39;},<br>    {&#39;label&#39;: &#39;Uttar Pradesh&#39;, &#39;value&#39;: &#39;Uttar Pradesh&#39;}<br>]</pre><p>and then we use a <strong>@callback function to receive the input from dropdown and according to the input display the output graph whose <em>id is ‘pie1’</em>.</strong></p><pre>@app.callback(Output(&#39;pie1&#39;,&#39;figure&#39;), [Input(&#39;pie&#39;,&#39;value&#39;)])<br>def update_graph(type2):<br>    if type2==&#39;All&#39;:<br>        p_mask =data1[&#39;current_status&#39;].value_counts().reset_index()<br>        val1 = p_mask[&#39;current_status&#39;][0]<br>        val2 = p_mask[&#39;current_status&#39;][1]<br>        val3 = p_mask[&#39;current_status&#39;][2]<br><br>        labels = [&#39;Hospitalized&#39;, &#39;Recovered&#39;, &#39;Deceased&#39;]<br>        values = [val1, val2, val3]<br>        figure=go.Figure(data=[go.Pie(labels=labels,values=values)])<br>        return figure<br>    else:<br>        mask = data1[data1[&#39;detected_state&#39;] == type2]<br>        p_mask = mask[&#39;current_status&#39;].value_counts().reset_index()<br>        val1 = p_mask[&#39;current_status&#39;][0]<br>        val2 = p_mask[&#39;current_status&#39;][1]<br>        val3 = p_mask[&#39;current_status&#39;][2]<br>        values = [val1, val2, val3]<br>        labels = [&#39;Hospitalized&#39;, &#39;Recovered&#39;, &#39;Deceased&#39;]<br>        figure= go.Figure(data[go.Pie(labels=labels,values=values)])<br>        return figure</pre><p>From dropdown we receive what user input and with the help of id give the output graph .If user input All we use value_count() on total data which gives us no. of candidate Hospitalised,Recover and Death in India , but if we give input Delhi then my data first check that the detected_state==’Delhi’ ,here detected state is another column in which there is a data of a candidate which show from which state that particular candidate belong.<br> <strong>mask = data1[data1[‘detected_state’] == type2]<br><em>At this time a new data_frame is ready in which there is a data of candidates who is belongs from Delhi then we did same thing use value_counts() to find the number of candidate in different status that is Hospitalise,Recover ,Death and then we send that value to the go.figure() which help us to make a graph on the basis of the given data.</em></strong></p><p>Now if you want to display a static graph according to the dataset in which on x-axis you want to display the state name and on y-axis we want to show the number cases in different state of India , for this static graph representation we need to analysis first</p><p>So as we know there is a column “detected_state” and we know all the row there is a data about one candidate . So if we use value_count() on the “detected_state” column it gives us the number of cases in different state.<br><strong>d_state=data1[‘detected_state’].value_counts().reset_index()<br>“.reset_index” helps us to change that series into the data_Frame.<br></strong><em>Now in d_state data_Frame we have two column first is “index” in which we have name of all the state and second is “detected_state” in which we have number of cases in different state.Now we are going to pass this information to the graph where x-axis =d_state[‘index’] and y_axis=d_state[‘detected_state’].</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tA8miuCKGPx4u3ZA6Txmog.png" /></figure><p>Here layout you can make using the html concept.In <strong>row</strong> class of bootstrap we have 12 number of column and we use 3 of them in the <strong>first 4 div in which we display 4 card</strong> of Total number Cases,Hospitalised case,Recover case, Death Case.So the rest 9 column is also divided into two part and in one part we display this Graph and In another half we are going to display to pie-chart graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*CYBQc26p2N-BcnZ-uYmMgg.png" /></figure><p>If you have any Confusion in Layout portion you can visit my github Repo to see my project File.</p><p><a href="https://github.com/143jshubham/covid-19">143jshubham/covid-19</a></p><h3><strong>Conclusion:-</strong></h3><p>In this Project we understand how we integrate the Data Analysis with the website Development .Integrating the things with others is a great work Experience.Only Analysis of Data is good but if we are going to make a website with that Analysis which is user friendly and easy to Understand that what is happening inside the Analysis , that is the Best way to Show your Analysis.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=255135c105f7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/campusx/project-on-covid-19-india-with-the-help-of-data-analysis-and-dash-255135c105f7">Project on COVID -19 India With the help of Data Analysis and Dash</a> was originally published in <a href="https://medium.com/campusx">CampusX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Role of Mathematics in Machine Learning]]></title>
            <link>https://medium.com/campusx/role-of-mathematics-in-machine-learning-4e759ff68ba8?source=rss----1c366dc378c5---4</link>
            <guid isPermaLink="false">https://medium.com/p/4e759ff68ba8</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Ritik Verma]]></dc:creator>
            <pubDate>Sun, 03 May 2020 07:07:56 GMT</pubDate>
            <atom:updated>2020-05-03T07:07:56.747Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4sUQ04Nx0k-jP89EPEIWWw.png" /><figcaption><a href="https://miro.medium.com/max/3080/0*BR949eNWL2i-Sj4R"><strong>An image showing some random mathematical calculation</strong></a></figcaption></figure><p>Mathematics is all around us, in everything we do. It is the building block for everything in our daily lives, including mobile devices, architecture (ancient and modern), art, money, engineering, and even sports. Machine Learning is also no exception to it. Machine learning algorithms build a mathematical model based on sample data, in order to make predictions or decisions without being explicitly programmed to perform the task.</p><p>Basically, there are four branches of mathematics which are heavily used in machine learning which we will be discussing in this article:</p><ol><li>Linear Algebra</li><li>Calculus</li><li>Statistics</li><li>Probability</li></ol><h3>Linear Algebra:</h3><figure><img alt="An image showing some random linear algebra calculations." src="https://cdn-images-1.medium.com/max/1024/1*rrAFXBPDvEYytX6sWEaVzQ.jpeg" /><figcaption><a href="https://www.engineer4free.com/uploads/1/0/2/9/10296972/3295580_orig.jpg"><strong>Linear Algebra Calculations</strong></a></figcaption></figure><p>Linear algebra works as the heart of machine learning algorithms. Linear algebra concepts provide the underlying data structure used in machine learning. Vectors, Matrices are two fundamental data structure used to store and represent data. The ease of performing operations on these data structures is the reason behind the popularity of them.</p><h4>Example:-</h4><p><strong>Images and Photographs: </strong>The images are stored in a computer with the help of 3 matrices of red, green and blue. Each matrix has a dimension equal to the resolution of the image. They contain information about each pixel i.e how much red, green or blue should be there at each pixel.</p><p><strong>One Hot Encoding: </strong>The categorical data is stored in vector form with one-hot encoding i.e give each category value and represent it wherever the data is.</p><h3>Calculus:</h3><figure><img alt="An image showing some random mathematical calculus calculation." src="https://cdn-images-1.medium.com/max/750/1*NmbdiJaRYzcsvFuI_a3g7w.jpeg" /><figcaption><a href="https://i.udemycdn.com/course/750x422/1233000_6ebf_4.jpg"><strong>Calculus Calculations</strong></a></figcaption></figure><p>Concepts of calculus are used in machine learning for optimization of algorithms. As 100% accuracy of the model is not possible to attain, we need a method to optimize our result as much as we can. Some uses of calculus in machine learning are:-</p><ul><li><strong>Gradient computations: </strong>Gradient computations are generally fed into numerical optimization algorithms and calculus is readily used to compute these, especially in the case of neural networks where we use the chain rule to arrive at the Backpropagation Algorithm.</li><li><strong>Numerical Optimization: </strong>This is used to train models, given a dataset, that will be used to perform anything from inference to data generation to sequential decision making.</li></ul><h3>Statistics:</h3><figure><img alt="An image showing some random statistical charts." src="https://cdn-images-1.medium.com/max/720/1*euZfz1OhnXJPnMFgbKwPww.jpeg" /><figcaption><a href="https://miro.medium.com/max/720/0*UjBJ_iTNESi6Zevk.jpg"><strong>Statistical Charts</strong></a></figcaption></figure><p>Statistics is the branch of mathematics where we collect and analyse a large chunk of data. The concepts of statistics are widely used in every phase of Machine Learning, right from data collection to algorithm structuring. Different modelling techniques of statistics are used in data collection and forming the sample population. Statistic concepts are also used in analyzing the type of data whether linear or continuous or discrete etc. Basically, there are two branches of statistics:-</p><p><strong>(1) Descriptive:</strong> Also known as summary statistics, we analyse given chunk of data like mean, sd, etc. For example, performing analysis of employees of a company.</p><p><strong>(2) Inferential:</strong> All the times working on the entire population is not possible so we make sample population from the entire population and perform analysis and inference that it is true for the entire class of the population. The sample must be Random (i.e candidates must be randomly selected without any bias) and Representative (i.e every class of population must be covered). For example analysis on people of India.</p><h3>Probability:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJkVm-zJ7_hgi_MJfle8-A.jpeg" /><figcaption><a href="https://miro.medium.com/max/1200/1*YVL0hT1qsR8KPpkFDV2-wA.jpeg"><strong>Probability</strong></a></figcaption></figure><p>Probability is the bedrock of machine learning. Machine learning is about developing predictive models from uncertain data. Uncertainty means working with imperfect or incomplete information. This uncertainty can be managed using tools of probability. Some examples of probability concepts used in machine learning are:</p><ul><li>Classification models must predict a probability of class membership</li><li>Algorithms are designed using probability (e.g. Naive Bayes)</li><li>Learning algorithms will make decisions using probability (e.g. information gain)</li><li>Sub-fields of study are built on probability (e.g. Bayesian networks).</li></ul><h3>Importance of types of data in machine learning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*gkMOFpnsMk_ZrOsyB2xDzg.jpeg" /><figcaption><a href="https://www.sunshinemaths.com/wp-content/uploads/types%20of%20data(1).jpg"><strong>Classification of Data</strong></a></figcaption></figure><p>In machine learning, we deal with the various category of data ranging from string to numeric to float. We need to identify data kind before-hand for the application of an algorithm for performance and optimization of algorithm. The types of data we will be dealing in machine learning are:-</p><h4>(1) Numerical Data (Quantitive Data):</h4><p>Quantitative data are measures of values or counts and are expressed as numbers. Quantitative data are data about numeric variables (e.g. how many; how much; or how often). Some real-life examples of Quantitive data are: the price of Smart Phone, Salary of employees, Wealth of person, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*3HWq5kC9vmTZDwPMlDnl-g.png" /><figcaption><a href="https://miro.medium.com/max/994/1*c2ylMCItL1XG6O3mGhjzng.png"><strong>Types of numerical data</strong></a></figcaption></figure><p>There are two types of Quantitive Data:-</p><ul><li><strong>Continuous Data: </strong>Continuous data can attain any value in a graph. It can be either numeric or float. Example of continuous data: Price of the smartphone, the weight of a person.</li><li><strong>Discrete Data:</strong> In Discrete Data, can attain specific value. It can only be numeric or float at a time. Example: Number of apps installed on the smartphone (Cannot be decimal), age of the person.</li></ul><h4>(2) Categorical Data (Qualitative Data):</h4><p>Qualitative data are measures of ‘types’ and may be represented by a name, symbol, or a number code. Qualitative data are data about categorical variables (e.g. what type). Example: Beauty of girl, Brand of Smartphone, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*t2zieORFIa1z2TlbmX4Z9g.png" /><figcaption><a href="https://wiki.harvard.edu/confluence/download/attachments/22085924/modeling_type_image2.png?version=1&amp;modificationDate=1314648806000&amp;api=v2"><strong>Example of Qualitative Data</strong></a></figcaption></figure><p>There are two types of Categorial Data:-</p><ul><li><strong>Nominal Data:</strong> Where there is no specific order between categories it is known as nominal data. Example: In gender data, both male and female have equal value.</li><li><strong>Ordinal Data:</strong> When there’s a specific order between data it is known as ordinal data. Example: Bad, Good, Average for the mobile battery.</li></ul><p>Hence from the above article, we can conclude that the essence of mathematics is present everywhere in Data Science and Machine Learning right from data collection to algorithm modelling.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e759ff68ba8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/campusx/role-of-mathematics-in-machine-learning-4e759ff68ba8">Role of Mathematics in Machine Learning</a> was originally published in <a href="https://medium.com/campusx">CampusX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyze Your Data]]></title>
            <link>https://medium.com/campusx/analyze-your-data-8d1de85f74ce?source=rss----1c366dc378c5---4</link>
            <guid isPermaLink="false">https://medium.com/p/8d1de85f74ce</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Ujjainee]]></dc:creator>
            <pubDate>Tue, 27 Aug 2019 12:23:20 GMT</pubDate>
            <atom:updated>2019-08-27T12:23:20.527Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>The Step by step learning and understanding of the Data Analysis Process.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/0*vuBBoUbkRYxVxRXj.jpg" /></figure><h4>What is Data Analysis?</h4><p><em>Data analysis is the process of evaluating data using analytical and statistical tools to discover useful information and aid in business decision making. It includes the process of inspecting, cleansing, transforming and modeling to discovering useful information. There are several data analysis methods including data mining, text analytics, business intelligence and, data visualization.</em></p><h4>What are the steps for analyzing data?</h4><ol><li><em>Asking Questions</em></li><li><em>Data Wrangling</em></li><li><em>Exploratory Data Analysis</em></li><li><em>Drawing Conclusion</em></li><li><em>Communicating Results</em></li></ol><h4><strong>Asking Questions:</strong></h4><p><em>When you get data, the first thing you do is ask a question to yourself to understand the data. Consider the following data set ( the data of the ship Titanic, containing the passenger’s name to their sex and all other necessary information) is given:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/0*W0xVO4qBcnNd4_wv.png" /></figure><p>After reading the file by,</p><p>data=pd.read_csv(‘titanic.csv’)</p><p>data.head(10)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tvB_CHljcuz17qhl34se4Q.png" /></figure><p><em>After getting this dataset what would be your questions from here? Well, the questions below may arise:</em></p><ul><li>Who is going to survive?</li><li>What is the main objective of we have to get?</li><li>What is the total number of males and females were there?</li><li>Is there any correlation between the given data and survival chances?</li></ul><p><strong>How can you ask questions more related to the topic or kind of better questions?</strong></p><p><em>What exactly do you want to find out?</em></p><p><em>Where will your data come from?</em></p><p><em>Which statistical analysis techniques do you want to apply?</em></p><p><em>Who are the final users of your analysis results?</em></p><p><em>What data visualizations should you choose?</em></p><p><em>How can you create a data-driven culture?</em></p><blockquote>We will try to understand the analyzing process by considering the question to be “Which category of people survived the most?”</blockquote><h4><strong>Data Wrangling:</strong></h4><p><em>Raw data may be collected in several different formats. The collected data must be cleaned and converted so that data analysis tools can import it. The data analyst must aggregate these different forms of data and convert it into a form suitable for the analysis tools.</em> <em>It is what 80% of what a data scientist does. It’s where most of the real value is created. There are three main steps which are being followed during this process:</em></p><ul><li><strong><em>Gathering Data : </em></strong><em>That is from where you are getting the data. You might be getting data directly at times, but then there will be times when you have to get the data from CSV files, API’s, by Web Scraping and even through Database directly.</em></li><li><strong><em>Assessing Data:</em></strong><em> This is about the commands you perform when you get a data set. This can be done by using operations like info(), shape etc. to know the data more.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*9KCdkEnyqljPqf40.png" /><figcaption>data.info() function on the data set.</figcaption></figure><blockquote><em>From the above picture, we can easily get the idea of how useful an info() operation is. We get way too much information in this step including how many values are missing and where. We can get a rough idea that there was a number of people whose age is missing. Therefore, if we try to find a relation of survival with age we need to perform more operation on it, which we will see ahead.</em></blockquote><ul><li><strong><em>Cleaning Data: </em></strong><em>It includes removing or changing the missing data, removing duplicates or incorrect data types.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*jhjVCbktrQUmd9rB1a6m3Q.png" /><figcaption>Code to remove columns</figcaption></figure><blockquote>From the above code, we can see that in this process we are removing the columns which won’t help us in any way. That is we remove the unnecessary information to filter out the needed for better and more accurate results.</blockquote><h4>Exploratory Data Analysis:</h4><p><em>Exploratory Data Analysis(EDA) refers to the critical process of performing initial investigations on data to discover patterns, spot anomalies, test hypotheses and to check assumptions with the help of summary statistics and graphical representations.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/0*3cD9D38iHsx_rdxb.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/0*cpCxlJ_1kUOUUH6X.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/0*Z_rzxOkyIhFat3LJ.png" /><figcaption>Random Graph Pictures</figcaption></figure><p><strong><em>Explore: </em></strong><em>It is about finding the correlation and covariance, plotting graphs, doing univariate and multivariate analysis on the given data.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*zKacvHEIED2Krk_w.png" /><figcaption>Survival Graph of the Titanic Data set</figcaption></figure><blockquote>From the above graphs from titanic dataset, we can see that men have a high probability of survival when they are between 18 and 30 years old, which is also a little bit true for women but not fully. For women the survival chances are higher between 14 and 40. For men the probability of survival is very low between the age of 5 and 18. Another thing to note is that infants also have a little bit higher probability of survival.</blockquote><p><strong><em>Augment: </em></strong><em>When the data is not processed properly or isn’t sufficient enough to work on, then we do this process. Augmenting data is about removing the outliers or merging graphs or even adding new columns.</em></p><h4>Drawing Conclusion:</h4><p><strong>Inferential Statistics:<em> </em></strong><em>Inferential statistics allows you to make inferences about the population from the sample data.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/0*LUbQqzf5858WWtry.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*zBQcs4aRiRRDv0KVZ9kOXA.png" /><figcaption>Total number of Survivals</figcaption></figure><p><strong>Descriptive Statistics:<em> </em></strong><em>A descriptive statistic is a summary statistic that quantitatively describes or summarizes features of a collection of information. Descriptive statistics are just descriptive. They do not involve generalizing beyond the data at hand.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*Zz_KVeUmpUtUXc-LIQVGVw.png" /></figure><h4>Communicating Results:</h4><p><em>One of the most important skills for data scientists to have is being able to clearly communicate results so different stakeholders can understand. Since data projects are collaborative across functions and data science results are often incorporated into a larger final project, the true impact of a data scientists’ work depends on how well others can understand their insights to take further action.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*vjMO--6ZG5-f5xCzTuUl7A.png" /></figure><blockquote>Result: By performing the above steps we could figure out that mostly women and children (below 18) survived as they were given more priorities.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/0*zkHrsWCb4xKwJEH-.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/0*0nQYPJYupC1o4-4A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S8spakzpK_z1Jl-g.png" /></figure><p>You would mainly have to convey your results to your audience through the following processes:</p><ul><li><em>In-Person</em></li><li><em>Reports</em></li><li><em>PPTs/Slides</em></li><li><em>Blog Post</em></li></ul><p><strong><em>Who is your audience?</em></strong></p><ul><li><strong><em>Your team manager: </em></strong><em>This is the first line of review for any work you do or show to other stakeholders. Your manager may or may not be technical, but they certainly will be communicating with other teams/stakeholders.</em></li><li><strong><em>Line-of-business (LOB) stakeholders:</em></strong><em> This person could be a product manager, business analyst, or a VP of customer support.</em></li><li><strong><em>Data engineers/engineering team:</em></strong><em> The team that’s working to deploy the projects.</em></li></ul><h3>Conclusion:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*sK7a0iqgKUno7UR0.png" /></figure><blockquote>The most surprising thing from the above steps is that the processes can be done at random, i.e. you don’t have to follow the process one after another, you can be at the result stage and still go back to exploring the data to find out more.<br>Considering the Titanic Dataset, we can conclude that after performing the steps of the analysis process we could figure out many things. We started at a point where we were just given data and ended up getting some results and more idea about the Dataset.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d1de85f74ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/campusx/analyze-your-data-8d1de85f74ce">Analyze Your Data</a> was originally published in <a href="https://medium.com/campusx">CampusX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Mystery Behind Different Job Titles For Machine Learning and Data Science]]></title>
            <link>https://medium.com/campusx/exploring-the-mystery-behind-different-job-titles-for-machine-learning-and-data-science-9352849f283a?source=rss----1c366dc378c5---4</link>
            <guid isPermaLink="false">https://medium.com/p/9352849f283a</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[Kunal Gohrani]]></dc:creator>
            <pubDate>Mon, 29 Jul 2019 16:37:18 GMT</pubDate>
            <atom:updated>2019-07-29T16:37:18.809Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Exploring the Mystery Behind Different Job Titles for Machine Learning and Data Science</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sRc3Y7fYb4DttN18slQnyw.png" /><figcaption>Relation between skill set and job title(<a href="https://learn.co/lessons/introduction-to-data-science">Source</a>)</figcaption></figure><p>Do you want to start a career in the field of Data Science and Machine Learning; but confused about the different job titles available in this Data-Driven career and the appropriate skill sets needed to excel in one?</p><p><strong>Then this article is for you!</strong></p><p>This article aims to demystify the different job titles for data science and machine learning based career paths. We would look into some job titles such as <strong>Data Analyst, Data Scientist, Data Engineer, and Machine Learning Engineer; </strong>and learn about the job &amp; responsibilities of each title along with the skills/qualifications required and estimated salary earned in different job titles.</p><h4><strong>DATA ANALYST</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*AeuuMzMUZqTOkrBVAE_kSA.jpeg" /><figcaption><a href="https://www.kdnuggets.com/2015/11/different-data-science-roles-industry.html">Source</a></figcaption></figure><p>As defined in Wikipedia:<strong> </strong>Data analysis is a process of inspecting, cleansing, transforming and modeling data to discover useful information, informing conclusions and supporting decision-making. Data analysts collect, process and perform statistical analysis on the given data.</p><p><strong>Responsibilities of a Data Analyst</strong></p><ul><li><em>Cleaning and organizing Raw data.</em></li><li><em>Analyzing data to derive insights.</em></li><li><em>Creating data visualizations.</em></li><li><em>Producing and maintaining reports.</em></li><li><em>Collaborating with teams/colleagues based on the insight gained.</em></li><li><em>Optimizing data collection procedures.</em></li></ul><p><strong>Skills required to be a data analyst</strong></p><p>A degree in the following subjects is beneficial in developing a career as a data analyst:</p><ul><li><em>Mathematics</em></li><li><em>Computer Science</em></li><li><em>Statistics</em></li></ul><p>Furthermore, additional skills required to be a data analyst are:</p><ul><li><em>Statistical Programming</em></li><li><em>Programming Languages (R/SAS/Python)</em></li><li><em>Creative and Analytical Thinking</em></li><li><em>Business Acumen — Medium to High preferred</em></li><li><em>Strong Communication Skills.</em></li><li><em>Data Mining, Cleaning, and Munging</em></li><li><em>Data Visualization</em></li><li><em>Data Warehousing</em></li><li><em>Data Story Telling</em></li><li><em>SQL Databases</em></li><li><em>Database Querying Languages</em></li><li><em>Advanced Microsoft Excel.</em></li></ul><p><strong>Average Annual Salary of Data Analysts</strong></p><p>An entry-level data analyst may receive an annual salary anywhere between $40,000 — $80,000 while experienced analysts can expect to receive between $65,000 — $120,000 approximately.</p><h4>DATA SCIENTIST</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*bGv2ha_7BYurB3sLzcukbQ.jpeg" /></figure><p>“A data scientist is someone who is better at statistics than any software engineer and better at software engineering than any statistician”. — <a href="https://www.quora.com/What-is-the-difference-between-a-data-scientist-and-a-statistician">Josh Wills on Quora</a></p><p>At the core of data science, Data Analysts and Data Scientists have the same job, that is, getting valuable information from the data. Nevertheless, they differ largely in their job roles &amp; responsibilities.</p><p>Data Analysts derives insights from historical data and answers questions such as “What is the cause behind decreased sales?”, “What is the reason behind a particular products failure?”, and shares it with the concerned people for informed business decisions. On the other hand, Data Scientists, are more forward-looking people. They are more concerned with using these insights combined with Machine Learning, hypothesis, Statistical Tests, A/B testing for further development of products. They are more into asking questions such as “Will a larger motor in my product create more demand for it?”, or “Will targeting a particular market to enter into help me grow my company?”.</p><p>The above is the general difference between the roles of Data Analyst and a Data Scientist, but it may not always be the case since data science is still new and is far from being standardized. You can sometimes have data scientists doing basic analysis work and data analysts performing ML modeling.</p><p>Regardless of the titles, these two career profiles are the most important ones that are being sought after by employers when it comes to analytic roles in data science, and therefore should be our targets when job searching and thinking about the best fit</p><p>To summarize, Skills required to be a Data Scientist include that of Data Analysts, Mathematics, Machine Learning, Deep Learning, Reinforcement Learning, Hypothesis Testing, Subject Matter Expertise (SME), Intuition.</p><p><strong>Salary of Data Scientists</strong></p><p>A Data Scientist’s annual salary ranges anywhere from $80,000 to $160,000 depending upon the experience and subject matter expertise.</p><h4>DATA ENGINEERS</h4><p>Gordon Lindsay Glegg once quoted, “A scientist can discover a new star, but he cannot make one. He would have to ask an engineer to do it for him.”</p><p>So, the role of the Data Engineer is really valuable.</p><p>Data Engineers are people who are in charge of the delivery, storage, and processing of data. The main task of data engineers is to provide a reliable infrastructure for data. If we look at the AI Hierarchy of Needs, data engineering occupies the first 2–3 roles in it: <strong>Collect, Move &amp; Store, Data Preparation.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XakCd8uFi72C2nznkdBYDw.png" /><figcaption>AI Hierarchy of Needs (<a href="https://hackernoon.com/the-ai-hierarchy-of-needs-18f111fcc007">Source</a>)</figcaption></figure><p><strong>Responsibilities of Data Engineer</strong></p><ul><li>Scrape Data from the given sources.</li><li>Move/Store the data in optimal servers/warehouses.</li><li>Build data pipelines/APIs for easy access to the data.</li><li>Handle databases/data warehouses.</li></ul><p><strong>Skills required to be a Data Engineer</strong></p><ul><li>Strong grasp of algorithms and data structures</li><li>Programming Languages (Java/R/Python/Scala) and script writing</li><li>Advanced DBMS’s</li><li>BIG DATA Tools (Apache Spark, Hadoop, Apache Kafka, Apache Hive)</li><li>Cloud Platforms (Amazon Web Services, Google Cloud Platform)</li><li>Distributed Systems</li><li>Data Pipelines</li></ul><p><strong>Is a Data Engineer more in demand than Data Scientist?</strong></p><p>The answer is YES, To explain it, let’s consider an analogy:- A potato chips factory needs lots of potatoes daily to be stored before it can start processing it. But potatoes need to be harvested, cleaned and transported before they can become potato chips. Similarly, A piece of data needs to be first collected, stored, and pipelines need to be made for easy access to data before it can be worked on. Therefore, Data Engineering is the preliminary step in any data related work and it is more in demand than any other data-science based job roles.</p><p><strong>Salary of a Data Engineer</strong></p><p>Salary of a Data Engineer varies anywhere in the range between $110,000 to $155,000 per year depending on skills, experience, and location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*2iSfhOOwujNj9BLu4O1fHg.png" /><figcaption>Salary Range of Data Engineers</figcaption></figure><h4><strong>MACHINE LEARNING ENGINEER</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VUCxUt0dJVs0if27T_gYdQ.png" /></figure><p>The work of a Machine Learning Engineer is to bridge the gap between Data Scientist’s work and production environment. A Machine Learning Engineer is more concerned with deploying production-ready models. For an example, think of a recommender system machine learning model trained with a data set and has achieved great results, now that model needs to be deployed as part of a company’s website to make the site better and thus, help generate more revenue. But what if that model is not production-ready yet? This is where a Machine Learning Engineer comes into play. Deploying machine learning models to a production-ready environment is an engineering concern that is different from building the model. It involves different types of engineering work such as integrating the model to a software system, optimizing the model for performance and scalability, and re-training it with new data, monitoring, and maintenance the ML system</p><p>Thus, Responsibilities of Machine Learning Engineer include:</p><ul><li>Deploying machine learning models to production ready environment</li><li>Scaling and optimizing the model for production</li><li>Monitoring and maintenance of deployed models</li></ul><p>Skills required to be a Machine Learning Engineer:</p><ul><li>Linear Algebra, Calculus</li><li>Probability and Statistics</li><li>Programming Languages (R/Python/Java/Scala mainly)</li><li>Distributed Systems</li><li>Data model and evaluation</li><li>Machine Learning models</li><li>Software Engineering &amp; Systems design</li></ul><h3>CONCLUSION</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uL7paMWm4_IxCzhw8HBMyA.png" /><figcaption>Comparison of skills required for different job roles</figcaption></figure><p>Presuming, now you have a brief idea about the different job profiles. From here, it’s all about selecting a field you are interested to work in and start planning out on building the necessary skill set. The demand for Data-Driven careers are always gonna soar high as more and more data is being generated every single day and there’s a high demand for people in these fields.</p><p><strong>All the best for your career and job search in Data Science!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9352849f283a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/campusx/exploring-the-mystery-behind-different-job-titles-for-machine-learning-and-data-science-9352849f283a">Exploring the Mystery Behind Different Job Titles For Machine Learning and Data Science</a> was originally published in <a href="https://medium.com/campusx">CampusX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning: From a 5-year old perspective]]></title>
            <link>https://medium.com/campusx/machine-learning-from-a-5-year-old-perspective-93278fbf73ce?source=rss----1c366dc378c5---4</link>
            <guid isPermaLink="false">https://medium.com/p/93278fbf73ce</guid>
            <category><![CDATA[for-beginners]]></category>
            <category><![CDATA[easy]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[explained]]></category>
            <category><![CDATA[basics]]></category>
            <dc:creator><![CDATA[Purbita Sur]]></dc:creator>
            <pubDate>Mon, 29 Jul 2019 15:24:45 GMT</pubDate>
            <atom:updated>2019-07-29T15:24:45.055Z</atom:updated>
            <content:encoded><![CDATA[<h3>Machine Learning: From a 5-year old’s perspective</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/207/1*NHlxYD7son1z9t3Y8jkp-Q.png" /></figure><p>Ever wondered how YouTube recommends your videos or how Facebook auto-tags your profile from a picture? Well, this is all the magic of Machine Learning. Today we are going to understand Machine Learning in layman terms. So what does the word “Machine Learning” means? The words ‘<strong>Machine Learning’ </strong>consists of two words “Machine” and “Learning”. The word ‘<strong>Machine</strong>’ stands for an apparatus that can perform any kind of task, like a computer, printer and so on. When we add the word ‘<strong>Learning</strong>’ after it, together it means how a machine learns. A machine can learn too like a human being and can be closely related to how a human learns.</p><h4><strong><em>So what is Machine Learning?</em></strong></h4><blockquote>Machine learning (abbreviated as ML) is the ability to learn and improve from experience <strong>without being explicitly programmed</strong>. This can be explained with a very simple example. <br>For example, I take you to a pet shop which has 4 dogs and 4 cats and I teach you which of them is a dog and which of them is a cat. After this, I bring in a different breed of dog which was not present in those 8 animals. You can predict that it is a dog. So here I didn’t teach you that the other breed of the animal was a dog but you were still able to predict it as you were already taught previously. A machine works in a very similar manner. The 8 animals are equivalent to the ‘<strong>training data</strong>’ as it is used for training the machine. The other breed of dog is equivalent to the ‘<strong>testing data</strong>’ and is used for testing our machine.</blockquote><h4><strong>What are the different ways a Machine can learn?</strong></h4><blockquote>There are three types of Machine learning:</blockquote><blockquote><strong>1. Supervised Machine Learning:</strong></blockquote><blockquote>Supervised machine learning means when a machine learns in the <strong>presence of a trainer</strong>. The above was an example of supervised machine learning. In the above case, there might be times where you fail to correctly predict whether it is a dog or a cat. This leads to testing your accuracy about distinguishing between dogs and cats. Similarly, accuracy for the trained machine can be calculated too.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*bJEAlEsjBHovXxi7P6BR9w.png" /><figcaption>Supervised Machine Learning</figcaption></figure><blockquote><strong>2. Unsupervised machine learning</strong></blockquote><blockquote>Unlike supervised learning in unsupervised learning <strong>no teacher is present</strong>. It can be easily explained with the following example.<br>There are 4 dogs and 4 cats. Supposedly you have never seen a dog or a cat. So you can categorize them based on similarities, patterns, and differences. Thus we can categorize them in 2 groups: a group containing cats and the other containing dogs. Here you did not learn anything from before which means there was <strong>no training data</strong>.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*gtj3E96u4DBuyFgl3zQ0-g.png" /><figcaption>Unsupervised Learning</figcaption></figure><blockquote><strong>3. Reinforcement learning</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/0*mlVDty8QV2GejMqf" /><figcaption>A girl Learning to cycle</figcaption></figure><blockquote>Reinforcement learning is about taking suitable actions to maximize reward in a particular situation. Let’s look at an example to understand it better.<br>Consider an example of a girl learning to cycle.<br>i) First, the girl will observe how we are cycling. We use two legs to paddle and try to keep balance. Now the girl will try to cycle.<br>ii) But soon she will realize that she has to balance the cycle to paddle properly. So now the girl tries to balance, failing most of the time but still determinant to keep the balance.<br>iii) Now the real challenge is paddling. There are so many things to keep in mind, like balancing the body weight, holding the handle firmly and look out for obstacles.<br>In the above example, the girl is an agent trying to manipulate the environment (cycling) and taking actions as she tries to go from one state to another. The girl gets a reward(say ice cream) for accomplishing part of the task(like paddling for a few seconds) and is being punished(not given ice cream) on not being able to cycle. This is the same way reinforcement learning is applied in machine learning.</blockquote><h4><strong><em>What are some of the real-life applications of machine learning?</em></strong></h4><p><strong>Facebook:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/266/1*_nCxahSeA1OUMcL3wO7fKA.png" /></figure><blockquote>Facebook is the most widely used social media. Did you know that Facebook uses Machine Learning in almost every aspect? Whether your friend recommendations or auto-tagging of your friends in pictures Facebook uses Machine Learning.</blockquote><blockquote><strong>Auto-Tagging of friends:</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/0*-B1jv4-73MrhCedd.jpg" /><figcaption>Auto-tagging</figcaption></figure><blockquote>When a pic is uploaded on Facebook, a suggestion asking if you want to tag your friend in the pic appears. This is done by Facebook’s face detection and recognition algorithms which is based on the advanced deep learning neural network project <strong>Deepface</strong>.</blockquote><blockquote><strong>Friend suggestions:</strong></blockquote><blockquote>Machine learning is used by Facebook to suggest friends based on similar interests, area of living, etc.</blockquote><p><strong>Google:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/242/1*-UcE0lVTnHmZGqSgWhWZvw.png" /></figure><blockquote>Ever wondered how google assistant works? Well, it is based on machine learning and artificial intelligence. Some of the ways in which Google uses machine learning are as follows:<br><strong>Google Music: </strong>It creates recommendations based on what kind of music you are listening to.<br><strong>Ok, Google:</strong> This uses Speech recognition to interpret what you are asking it to do.<br><strong>Google photos:</strong> Creates the categories of pictures you can search through. If we search ‘dogs’ it will show all images having dogs in it. It is a part of image recognition.</blockquote><p><strong>Suspicious activity detection from CCTVs:</strong></p><blockquote>Imagine a single person monitoring multiple video cameras. It will certainly be a difficult and boring job. So we train machines to do it. It captures video all the time and learns from it the normal activities of people like standing, running, etc. If any unusual activities occur like robbery, it warns the human attendants in real-time to prevent any mishap. And when such activities are reported and counted to be true, they help to improve the surveillance services.</blockquote><p><strong>Entertainment:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/160/1*x72l72lZhscZ-pXCuimecA.png" /></figure><blockquote>Do you know how Netflix recommends you movies? Let’s say users who watch movie A are likely to watch a movie B. This is perhaps the most well-known feature of Netflix. Netflix uses the watching history of other users with similar tastes to recommend what you may be most interested in watching next so that you stay engaged and continue your monthly subscription for more.</blockquote><p><strong>Healthcare:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/176/1*6dIA7G-OkQ8HBbZz4Z9ADA.png" /></figure><blockquote>Machine learning is used in hospitals to detect cancer. It helps doctors to make much more informed decisions by increasing the efficiency to recognize cancer and spot the cases where it is difficult for the doctors to identify.</blockquote><p><strong><em>Conclusion:</em></strong></p><blockquote>&quot;….what we want is a machine that can learn from experience” <br>-Alan Turing<br>This can be regarded as one of the aims of machine learning. Most apps like Snapchat, Facebook, etc. that we use today are powered by ML. There are many fields where Machine Learning can still be applied. This will reduce human error and increase the efficiency of work. In the near future, machine learning will play a very important role in our day to day lives.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*tTForRO8PTFyVCxmai4Hkg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93278fbf73ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/campusx/machine-learning-from-a-5-year-old-perspective-93278fbf73ce">Machine Learning: From a 5-year old perspective</a> was originally published in <a href="https://medium.com/campusx">CampusX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>