<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7844422598860271590</id><updated>2021-04-25T01:35:23.618+05:30</updated><title type='text'>All about Data Science </title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-2904019202008198899</id><published>2020-08-27T20:36:00.004+05:30</published><updated>2020-08-27T20:54:45.727+05:30</updated><title type='text'>Skillset, topics, projects and virtual internships for DS</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;This post is for those who are beginner and do not have any idea about topics that they need as a beginner DATA SCIENCE/ DATA ANALYST.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;I am also facing the same problem before a year ago and till date I have some relevant knowledge about data science and also have some projects.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;People are saying the we need so many skills like Mathematics, Programming language, some cloud concepts too. Actually they are right. Being a Data Scientist is not like being a web developer or a front-end developer that have limited skill set.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;In this post I will tell you the exact topics that you need to learn at beginner level.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;h1 style=&quot;text-align: left;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MATHEMATICS&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/h1&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Descriptive Statistics, distributions, hypothesis testing and regression analysis.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Bayesian Thinking, conditional probability, priors, maximum likely hood.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Vectors and matrices&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Matrices operations&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Eigenvalues and eigenvectors&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Linear and non linear functions&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Multivariable calculus&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;text-align: left;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;PROGRAMMING LANGUAGE(Python or R)&amp;nbsp;&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Data types, String operations, Expressions and variables&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Tuple, List, Dictionaries and set.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Conditioning and branching( if, if-else, if-elif-else)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Loops(for, while)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Functions&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Object and classes&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;File operations&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Libraries - Pandas , Numpy, matplotlib and sklearn.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;DATA ANALYSIS AND MACHINE LEARNING -&lt;/u&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Importing and exporting of data.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Identifying and dealing with missing values.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Data normalization&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Binning&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Co - relation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Linear regression with single and multiple variables(prediction).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;R - Squared and Mean Squared error.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;a href=&quot;https://www.allaboutdatascience.info/2020/04/precision-recall-accuracy-f1-score-ml.html&quot; target=&quot;_blank&quot;&gt;Model Evaluation parameters.&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;a href=&quot;https://www.allaboutdatascience.info/2020/03/types-of-machine-learning-supervised.html&quot; target=&quot;_blank&quot;&gt;Supervised and unsupervised learning.&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Classification and algorithms( &lt;a href=&quot;https://www.allaboutdatascience.info/2020/04/support-vector-machine-with.html&quot; target=&quot;_blank&quot;&gt;SVM&lt;/a&gt;, Logistics regression, &lt;a href=&quot;https://www.allaboutdatascience.info/2020/04/decision-tree-machine-learning.html&quot; target=&quot;_blank&quot;&gt;Decision tree&lt;/a&gt;, K- nearest neighbours )&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Clustering(&lt;a href=&quot;https://www.allaboutdatascience.info/2020/03/k-mean-cluster-algorithm-classification.html&quot; target=&quot;_blank&quot;&gt; k mean cluster&lt;/a&gt;, hierarchical cluster, and density based clustering).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;These are the core skills that everyone should need. You can learn all skills on internet ( YOUTUBE IS THE BEST SOURCE) if any one want to go for paid courses. IBM DATA SCIENCE is one of the best.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;There are more skills like MS - EXCEL , handling with database queries, story telling and presentation skills.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;text-align: left;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;VIRTUAL DATA SCIENCE INTERNSHIPS -&lt;/span&gt;&lt;/u&gt;&lt;/h1&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;KPMG DATA ANALYTICS INTERNSHIP&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;QUANTIUM DATA ANALYTICS&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;DATA@ANZ&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;I try to covered many resources and skillset that are required for an entry level Data Science / Data Analyst profile.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;If anyone has query regarding post, do comments.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For projects -&amp;nbsp;&lt;a href=&quot;https://www.instagram.com/kavyansh.pandey&quot;&gt;kavyansh.pandey&lt;/a&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Thanking You.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/2904019202008198899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/08/this-post-is-for-those-who-are-beginner.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/2904019202008198899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/2904019202008198899'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/08/this-post-is-for-those-who-are-beginner.html' title='Skillset, topics, projects and virtual internships for DS'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-5813831424108385133</id><published>2020-08-03T02:44:00.003+05:30</published><updated>2020-08-03T02:44:42.657+05:30</updated><title type='text'>KPMG Data Science Virtual Internship Task 2 | KPMG virtual internship </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;I&#39;m sharing the content of my PPT that I submitted as Task 2 solution for KPMG Virtual Internship.&lt;br /&gt;&lt;br /&gt;Let me add some snapshots of my Presentation, ( It&#39;s not very good looking but consize all meaningful words)&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-e7zWiSUH6wI/Xycq_1p5eAI/AAAAAAAANy0/fTAqTA14UOcm_GCKCEzzdyCe3S9fJDkzACLcBGAsYHQ/s1600/20200803_023552.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;472&quot; data-original-width=&quot;720&quot; height=&quot;209&quot; src=&quot;https://1.bp.blogspot.com/-e7zWiSUH6wI/Xycq_1p5eAI/AAAAAAAANy0/fTAqTA14UOcm_GCKCEzzdyCe3S9fJDkzACLcBGAsYHQ/s320/20200803_023552.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-Vw2QZ1tPXpA/XycrDGZzXII/AAAAAAAANy4/fdLHdGf4fHYJmzCYOT0J-mIg3T8uXn4qQCLcBGAsYHQ/s1600/20200803_023606.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;461&quot; data-original-width=&quot;699&quot; height=&quot;211&quot; src=&quot;https://1.bp.blogspot.com/-Vw2QZ1tPXpA/XycrDGZzXII/AAAAAAAANy4/fdLHdGf4fHYJmzCYOT0J-mIg3T8uXn4qQCLcBGAsYHQ/s320/20200803_023606.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-6OW7aDdgwvY/XycrDZzIOuI/AAAAAAAANy8/HqQQ_uzUz6UY10rTZjeRK2Wh9PTEzOthACLcBGAsYHQ/s1600/20200803_023615.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;415&quot; data-original-width=&quot;711&quot; height=&quot;186&quot; src=&quot;https://1.bp.blogspot.com/-6OW7aDdgwvY/XycrDZzIOuI/AAAAAAAANy8/HqQQ_uzUz6UY10rTZjeRK2Wh9PTEzOthACLcBGAsYHQ/s320/20200803_023615.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Now what you have to do is just copy the below content and paste in a ms PowerPoint file.&lt;br /&gt;&lt;br /&gt;In the place of Powerpoint, you can also make a document file.&lt;br /&gt;&lt;br /&gt;-------------------------------&lt;br /&gt;&lt;b&gt;Sections&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1.Data exploration&lt;br /&gt;2.Model development&lt;br /&gt;3.Interpretation and report&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&amp;nbsp;Data Exploration&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Understand the characteristics of given fields in the underlying data such as variable distributions, whether the dataset is skewed towards a certain demographic and the data validity of the fields. For example, a training dataset may be highly skewed towards the younger age bracket. If so, how will this impact your results when using it to predict over the remaining customer base.&lt;br /&gt;&lt;br /&gt;There are some limitations&amp;nbsp; in the given datasets like some values are missing and some&amp;nbsp; data types are different according to their value.&lt;br /&gt;&lt;br /&gt;Furthermore, transformation of required data so that it is in an appropriate format for analysis. This may include steps such as ensuring that the data types are appropriate and rolling data up to an aggregated level. Or, joining in already aggregated ABS data at a geographic level to create additional variables.&lt;br /&gt;&lt;br /&gt;Document assumptions, limitations and exclusions for the data; as well as how you would further improve in the next stage if there was additional time to address assumptions and remove limitations.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Model Development&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1.First of all, we have to determine a hypothesis related to the business question that can be answered with the help of existing data. Perform statistical testing to determine if the hypothesis is valid or not.&lt;br /&gt;&lt;br /&gt;2.Create calculated fields based on existing data, for example, convert the D.O.B into an age bracket&lt;br /&gt;&lt;br /&gt;3. Test the performance of the model using factors like residual deviance, AIC, ROC curves, R Squared). Appropriately according to the model performance, assumptions and limitations.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Interpretation and Report&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Visualization and presentation of findings. This may involve interpreting the significant variables and co-efficient from a business perspective.&lt;br /&gt;&lt;br /&gt;With the help of this slide, we get an idea around the business issue and support our case with quantitative and qualitative observations.&lt;br /&gt;&lt;br /&gt;_______________________________&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thats how you will make your presentation.&lt;br /&gt;Pleanse Note - Sorry for the inconvenience, I&#39;m receiving number of emails regarding ppt and this is not possible for me to send ppt each and every one.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/5813831424108385133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/08/kpmg-data-science-virtual-internship.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/5813831424108385133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/5813831424108385133'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/08/kpmg-data-science-virtual-internship.html' title='KPMG Data Science Virtual Internship Task 2 | KPMG virtual internship '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-e7zWiSUH6wI/Xycq_1p5eAI/AAAAAAAANy0/fTAqTA14UOcm_GCKCEzzdyCe3S9fJDkzACLcBGAsYHQ/s72-c/20200803_023552.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-373771961654769060</id><published>2020-08-01T02:13:00.002+05:30</published><updated>2020-08-01T02:28:26.456+05:30</updated><title type='text'>Computer Graphics in Artificial Intelligence | Image Processing and Computer Vision </title><content type='html'>If we look back, when there was only CLI( command line interface), number of computer users are less beacuse working in command line was quite typical.&amp;nbsp;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then Microsoft released Microsoft Windows and working on computer become very easier due to graphical user interface. Things became quite easier and people can perform any operation by just pointing specifics places, like work on specific applications etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That is about the beginning of GUI and from there, a new term came out and it was Computer Graphics.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Till today, there are number of Applications of Computer Graphics in various fields.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Medical field&lt;/div&gt;&lt;div&gt;2. Analytics and Visualization&amp;nbsp;&lt;/div&gt;&lt;div&gt;3. Gaming&amp;nbsp;&lt;/div&gt;&lt;div&gt;4. Artificial Intelligence (image proccesing and computer Vision)&lt;/div&gt;&lt;div&gt;5. Movies&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And so on..&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;AI is the technology of present and future as well. Let&#39;s take a deep look, how computer graphics are useful in AI.&lt;/div&gt;&lt;div&gt;Two terms are there i.e; image processing and Computer vision.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-LGkwostuTl4/XySFzfWG-dI/AAAAAAAANyQ/GY-XSCI-fFI6yPXw8KGxwCjpBLKXq6qWgCLcBGAsYHQ/s616/20200801_022318-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;317&quot; data-original-width=&quot;616&quot; src=&quot;https://1.bp.blogspot.com/-LGkwostuTl4/XySFzfWG-dI/AAAAAAAANyQ/GY-XSCI-fFI6yPXw8KGxwCjpBLKXq6qWgCLcBGAsYHQ/s0/20200801_022318-01.jpeg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Computer vision&lt;/h2&gt;&lt;p style=&quot;text-align: left;&quot;&gt;It is the field of AI that trains computer to interpret and understand tha visual (graphical worlds).&lt;/p&gt;&lt;div&gt;Eg. Facial recognition, object detection etc.&lt;/div&gt;&lt;div&gt;These two procces can work in static as well as in real time.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Image processing&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Process of performing some operations on an digital image is know as image processing. Operations like enhanced version of a given image, extracting some useful information, re - coloring of a given image etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Do you know, there is website &quot;thispersondoesnotexist&quot; has the million faces and all faces are totally artificial and generated by Image Processing.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Working of a Image Processing Model -&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. working on any image is totally based on working with pixels and vertices.&lt;/div&gt;&lt;div&gt;2. We need GPUs for this. GPUs has the number of precessing cores.&amp;nbsp;&lt;/div&gt;&lt;div&gt;3. Some cores work with vertices and processing on vertices is done by using Co - ordinate systems.&lt;/div&gt;&lt;div&gt;4. Working on pixels take more Computation as the compare of vertices.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thank You for reading.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/373771961654769060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/08/computer-graphics-application-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/373771961654769060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/373771961654769060'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/08/computer-graphics-application-in.html' title='Computer Graphics in Artificial Intelligence | Image Processing and Computer Vision '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-LGkwostuTl4/XySFzfWG-dI/AAAAAAAANyQ/GY-XSCI-fFI6yPXw8KGxwCjpBLKXq6qWgCLcBGAsYHQ/s72-c/20200801_022318-01.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-412237878168232151</id><published>2020-05-22T04:14:00.000+05:30</published><updated>2020-05-22T04:14:02.715+05:30</updated><title type='text'>What Data Scientist do | Jobs and Scope | Necessary Skills for Data Scientist </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1. Who is Data Scientist?&lt;br /&gt;2. What is the job of Data Scientist?&lt;br /&gt;3. Skillset required for Data Scientist.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-zO3QSVtPT_U/XscCYy_2h2I/AAAAAAAANYM/3lGfETExbMUaX4Om5Bca5LTjeXsaGhnXQCPcBGAYYCw/s1600/20200522_035541-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;726&quot; data-original-width=&quot;1408&quot; height=&quot;165&quot; src=&quot;https://1.bp.blogspot.com/-zO3QSVtPT_U/XscCYy_2h2I/AAAAAAAANYM/3lGfETExbMUaX4Om5Bca5LTjeXsaGhnXQCPcBGAYYCw/s320/20200522_035541-01.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&amp;nbsp;Data Scientist&lt;/h2&gt;&lt;div&gt;&lt;div&gt;In a nutshell, Data Scientist is the person having statistical knowledge with some coding skills.&lt;/div&gt;&lt;div&gt;Data Scientist are those who analyze the previous&amp;nbsp; records and fetch out the future insights. And that is the difference between Data Scientist and Data Analyst.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Analyst are those who tells about past insights of data and data Scientist are those, who can tell about the future related with those insights.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Let&#39;s take an simple example, suppose we have a some records of person salary related to their yearly experience. By having records, we can perform number of operations. Analysts can tell about the annually growth in salary, can give the different different visualization with clarity.&amp;nbsp;&lt;/div&gt;&lt;div&gt;What will happen if we will want to predict the salary of new employees who was not working with company previously, here the role of Data Scientist comes as he is going to tell about the future insights.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Big tech companies like amazon or google , they all are doing their daily activities oj the basis of data they stored in their Information system.&lt;/div&gt;&lt;div&gt;And these work are done by the Data Scientist/ Data Analyst and Machine learning engineers.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Scope&lt;/h2&gt;&lt;div&gt;&lt;div&gt;Data is everywhere so scope of data Scientist in every fields like medical, information technology, finance and so on..&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&quot;According to Linked In Data Scientist job is the highest paying job from 2019.&quot;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Skills&lt;/h2&gt;&lt;div&gt;&lt;div&gt;If we talk about skills, there will not be any end&amp;nbsp; As much you can get, will good for you. But some of important skills that Data Scientist should have are listed below.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Programming skills&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. Statistical knowledge&amp;nbsp;&lt;/div&gt;&lt;div&gt;3. Multivariable calculus&amp;nbsp;&lt;/div&gt;&lt;div&gt;4. Linear algebra&lt;/div&gt;&lt;div&gt;5. Knowledge of Data bases and cloud based architecture&amp;nbsp;&lt;/div&gt;&lt;div&gt;6. Ms Excel&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If person from non mathematical background are wanted to be Data Scientist, things will be quite challenging for them.&amp;nbsp;&lt;/div&gt;&lt;div&gt;But programming languages like python, R are number of libraries that makes things quite easier.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thank you for reading this post.&amp;nbsp;&lt;/div&gt;&lt;div&gt;If you have any query, let me know in comment section.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/412237878168232151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/05/what-data-scientist-do-jobs-and-scope.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/412237878168232151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/412237878168232151'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/05/what-data-scientist-do-jobs-and-scope.html' title='What Data Scientist do | Jobs and Scope | Necessary Skills for Data Scientist '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-zO3QSVtPT_U/XscCYy_2h2I/AAAAAAAANYM/3lGfETExbMUaX4Om5Bca5LTjeXsaGhnXQCPcBGAYYCw/s72-c/20200522_035541-01.jpeg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-6911215100309392887</id><published>2020-05-17T19:39:00.000+05:30</published><updated>2020-05-20T02:50:39.166+05:30</updated><title type='text'>Recommendation System | Types of recommendation system | Data sparsity | Scalability | Cold start</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Introduction&amp;nbsp;&lt;/h2&gt;&lt;div&gt;It is the system that recommends something to the persons or the machine. For example, suppose a person purchase two books i.e; machine learning and python. Most probably that person also interested in visualization or analysis. Book seller recommend these books to that person.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-TYjw4cHxDoY/XsFFEbJztgI/AAAAAAAANW4/QTcPd2Aj0iMVoJuhrNBsSXDOj2SwJxyMACLcBGAsYHQ/s1600/20200517_193512.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;410&quot; data-original-width=&quot;720&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-TYjw4cHxDoY/XsFFEbJztgI/AAAAAAAANW4/QTcPd2Aj0iMVoJuhrNBsSXDOj2SwJxyMACLcBGAsYHQ/s640/20200517_193512.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Now a days we are surrounded with the lots of applicantions. And most of them are worked on recommendation system. Applications on -&lt;br /&gt;&lt;br /&gt;E- commerce platforms&lt;br /&gt;Amazon and other e commerce websites are using recommendations system to recommend their products to the users.&lt;br /&gt;&lt;br /&gt;Social platforms&lt;br /&gt;Linked in, facebook and other social media platform are also used recommendation system to recommend new connections , products etc.&lt;br /&gt;&lt;br /&gt;Suppose according to your linked in profile, you are a software engineer and have number of connections related to similar domain. So linked in automatically reccomend profiles that have occupation as software engineer.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Types of recommendation system&lt;/h2&gt;&lt;div&gt;&lt;div&gt;1. Content based&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. Collaborative filtering&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Content based -&lt;/h2&gt;&lt;div&gt;&lt;div&gt;Content based recommendations system tries to recommend things to the user according to their profile, taste, preferences and their past activities.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-yKz7zPO2Wh8/XsFBL9mTgXI/AAAAAAAANWo/u-MSk7Vusggx8vHt2axuLyss55sYRkH2ACPcBGAYYCw/s1600/IMG_20200517_183353_337-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;460&quot; data-original-width=&quot;718&quot; height=&quot;410&quot; src=&quot;https://1.bp.blogspot.com/-yKz7zPO2Wh8/XsFBL9mTgXI/AAAAAAAANWo/u-MSk7Vusggx8vHt2axuLyss55sYRkH2ACPcBGAYYCw/s640/IMG_20200517_183353_337-01.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Suppose we have dataset of number of movies and all movies have different diffrent genre like action, horrar, comics etc.&lt;/div&gt;&lt;div&gt;And we have a user profile with his interest and rating for different different movies.&lt;/div&gt;&lt;div&gt;We want to recommend new movies to the users.&lt;/div&gt;&lt;div&gt;But which movie user like most. That can be done by recommendation system.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Suppose we have four movies&amp;nbsp; and user already liked first and second movies. So among third and fourth which movie user like most? Movie fourth is as same genre as movie first, and movie third is completely different genre. Most probably will user like movie fourth.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Collaborative filtering -&lt;/h2&gt;&lt;div&gt;&lt;div&gt;1. User based&lt;/div&gt;&lt;div&gt;2. Item based&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/--AJzDGKewqs/XsFBIZgOeYI/AAAAAAAANWk/bVjFmqR7YbEHu4Bvyaop4uPzfexY3b2_wCLcBGAsYHQ/s1600/IMG_20200517_183717_496-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;464&quot; data-original-width=&quot;716&quot; height=&quot;412&quot; src=&quot;https://1.bp.blogspot.com/--AJzDGKewqs/XsFBIZgOeYI/AAAAAAAANWk/bVjFmqR7YbEHu4Bvyaop4uPzfexY3b2_wCLcBGAsYHQ/s640/IMG_20200517_183717_496-01.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;In user based collaborative filtering, we took different user profiles having apporx same interest and preferences. And according to that preferences, It recommends products or movie to the target users.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In item baesd, we check the number of user records and check their previous reviews related to product, then compare their profile to the target user( for whom, we are going to recommend products) and then recommend products to the customer.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 18.72px;&quot;&gt;Problems related to collaborative filtering&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;1. Data sparsity - It refers to the difficulty during finidng sufficient active users for recommend a product to the target users.&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Cold starts - It is not possible to recommend the best things to the new users.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Scalability - Due to large anount of past preferences and reviews, it would be a challange&amp;nbsp; to recommend most appropriate products to the target user.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Advantage of recommendation system&amp;nbsp;&lt;/h2&gt;&lt;div&gt;&lt;div&gt;1. Broader exposure to thr users.&lt;/div&gt;&lt;div&gt;2. Tends to more selling and increase revenues.&lt;/div&gt;&lt;div&gt;3. Too many options for selecting a product.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I hope, now you have a better understanding about recommendation system and it&#39;s working.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you want a project on how to make recommendation system, write Project in comment section.&lt;/div&gt;&lt;div&gt;If you have any doubts, let me know in comment section or connect with me from the following link -&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.instagram.com/kavyansh.pandey&quot;&gt;www.instagram.com/kavyansh.pandey&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thank you.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/6911215100309392887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/05/recommendation-system-type-of.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/6911215100309392887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/6911215100309392887'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/05/recommendation-system-type-of.html' title='Recommendation System | Types of recommendation system | Data sparsity | Scalability | Cold start'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-TYjw4cHxDoY/XsFFEbJztgI/AAAAAAAANW4/QTcPd2Aj0iMVoJuhrNBsSXDOj2SwJxyMACLcBGAsYHQ/s72-c/20200517_193512.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-7557936830981912288</id><published>2020-05-06T19:02:00.006+05:30</published><updated>2020-05-28T20:25:53.083+05:30</updated><title type='text'>GRADIENT DESCENT IN MACHINE LEARNING | WORKING OF GRADIENT DESCENT ALGORITHM </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;  Gradient descent is the most popular algorithm and its concept is used in so many machine learning topics like regression etc.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-40btSKncG7U/XrK8LqOrADI/AAAAAAAANVM/EEKSRn0MLBcOgf1Yh5VLqkcUnwY2xXdtgCLcBGAsYHQ/s1600/20200506_185758-01.jpeg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;880&quot; data-original-width=&quot;1600&quot; height=&quot;218&quot; src=&quot;https://1.bp.blogspot.com/-40btSKncG7U/XrK8LqOrADI/AAAAAAAANVM/EEKSRn0MLBcOgf1Yh5VLqkcUnwY2xXdtgCLcBGAsYHQ/s400/20200506_185758-01.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After reading this post, you have an idea about the following topics.&lt;br /&gt;1. What is gradient descent ?&lt;br /&gt;2. How does it work ?&lt;br /&gt;3. How gradient descent are used in machine learning.&lt;br /&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Gradient Descent&lt;/h2&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Gradient descent is an optimization algorithm that works iteratively&amp;nbsp; and use for finding local minimum or global minimum of an differentiable function.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Working of gradient descent&lt;/h2&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-VgFczrTCJNE/XrK5tirBfOI/AAAAAAAANVE/CTEVo1oGCX4zwiIdjbZJEzKxRBloFcFkgCLcBGAsYHQ/s1600/20200506_184909.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;652&quot; data-original-width=&quot;1058&quot; height=&quot;246&quot; src=&quot;https://1.bp.blogspot.com/-VgFczrTCJNE/XrK5tirBfOI/AAAAAAAANVE/CTEVo1oGCX4zwiIdjbZJEzKxRBloFcFkgCLcBGAsYHQ/s400/20200506_184909.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Suppose a person is on the top of the mountain(let &lt;i&gt;A&lt;/i&gt; in above figure) and he want to come down to the ground.&amp;nbsp;&lt;/div&gt;&lt;div&gt;From top of the mountain, he will go to that point which will less then his previous height.&lt;/div&gt;&lt;div&gt;After that again, he will search for that point which will less than his current height.&lt;/div&gt;&lt;div&gt;After the number of jumps, he will come down to the ground, that&#39;s how gradient descent algorithm works iteratively.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;      Let&#39;s see formally,&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-49DWx4bqQW8/XrKnQyRajxI/AAAAAAAANUo/aTFEmA8S5gYhjPNO6sXJ1nqmuBWQsNsxACLcBGAsYHQ/s1600/GD1.PNG&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;255&quot; data-original-width=&quot;409&quot; height=&quot;199&quot; src=&quot;https://1.bp.blogspot.com/-49DWx4bqQW8/XrKnQyRajxI/AAAAAAAANUo/aTFEmA8S5gYhjPNO6sXJ1nqmuBWQsNsxACLcBGAsYHQ/s320/GD1.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;This is the mathematical formula for calculating gradient descent.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;:= is the assignment operator that is assigning new point to the previous point.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;If the value of &#39;&lt;i&gt;alpha&#39;&amp;nbsp;&lt;/i&gt;should not be very large otherwise our model never reach on convergence.&lt;br /&gt;&lt;br /&gt;Here is the 3d graph that is showing, how this algorithm works.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-DBjXQGYGKYI/XrKpo62oUTI/AAAAAAAANU4/-v5Nf4selksCdF0ZrbVko44xJQdD_RBdQCPcBGAYYCw/s1600/Capture4.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;408&quot; data-original-width=&quot;755&quot; height=&quot;215&quot; src=&quot;https://1.bp.blogspot.com/-DBjXQGYGKYI/XrKpo62oUTI/AAAAAAAANU4/-v5Nf4selksCdF0ZrbVko44xJQdD_RBdQCPcBGAYYCw/s400/Capture4.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&quot;The above showing picture is the snapshot from Andrew ng Machine learning&quot;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;In vertical axes, we have our cost function J(Theta 0, Tbeeta 1).&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;How Gradient Descent use in machine learning&amp;nbsp;&lt;/h2&gt;&lt;div&gt;As we know this algorithm is use for getting local mnimum, let&#39;s take an example of linear regression. We want to draw a best fit line in for a dataset... then gradient descent work for coming points near the line by applying above mentioned algorithm.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-r1xDOtc00tE/XrK1GtciiGI/AAAAAAAANU8/lt6E5iaWvyEzNpz9IJNZrbaVG98UPRKywCEwYBhgL/s1600/IMG_20200506_183019_737.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1424&quot; height=&quot;321&quot; src=&quot;https://1.bp.blogspot.com/-r1xDOtc00tE/XrK1GtciiGI/AAAAAAAANU8/lt6E5iaWvyEzNpz9IJNZrbaVG98UPRKywCEwYBhgL/s640/IMG_20200506_183019_737.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;In this figure, we will minimize the distance of the red circle points ( the same apply for all points) from the best fit line.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I hope, now you have better understanding regarding gradient descent algorithm.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you have any doubt, let me know in comment section.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thank you for reading this post.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/7557936830981912288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/05/gradient-descent-in-machine-learning.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/7557936830981912288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/7557936830981912288'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/05/gradient-descent-in-machine-learning.html' title='GRADIENT DESCENT IN MACHINE LEARNING | WORKING OF GRADIENT DESCENT ALGORITHM '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-40btSKncG7U/XrK8LqOrADI/AAAAAAAANVM/EEKSRn0MLBcOgf1Yh5VLqkcUnwY2xXdtgCLcBGAsYHQ/s72-c/20200506_185758-01.jpeg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-7931277902663335502</id><published>2020-05-02T04:28:00.000+05:30</published><updated>2020-05-02T04:28:17.178+05:30</updated><title type='text'>What is GPU and how does it work | GPU vs CPU</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;GPU is the term that is using in so many fields but most of the persons are not very familier with this term.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-c1P99zTEZO8/XqyoAeJnozI/AAAAAAAANT8/LPAMDQDDrZ46zmMNX1aBY2gRaQDZuR6NgCLcBGAsYHQ/s1600/20200502_042129.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;324&quot; data-original-width=&quot;715&quot; height=&quot;181&quot; src=&quot;https://1.bp.blogspot.com/-c1P99zTEZO8/XqyoAeJnozI/AAAAAAAANT8/LPAMDQDDrZ46zmMNX1aBY2gRaQDZuR6NgCLcBGAsYHQ/s400/20200502_042129.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;1. What is GPU?&lt;br /&gt;2. How it is differ from CPU?&lt;br /&gt;3. How to make AI/ML models without having GPU inside your machine?&lt;br /&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;GPU&lt;/h2&gt;&lt;div&gt;GPU is an acronym and it stands for GRAPHIC PROCESSING UNIT. It is use for doing complex computation task that CPU can not do with ease. Nvidia and AMD are the two main gpu manufacturer of the world. It is a hardware device that is used to run applications having heavy graphics or 3D gaming etc.&lt;/div&gt;&lt;div&gt;GPU is made for doing efficient calculation on graphical information.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Working of a GPU&lt;/h2&gt;&lt;div&gt;GPU has number of processing cores running on slow speed. This slow speed is actual very fast because every cores deals with two functions, pixels and vertices. That is how we do parallel processing by using GPU.&lt;/div&gt;&lt;div&gt;Vertex processing is done by co-ordinate system(x,y) and GPU does geometrical calculation to reproduce dimensional space on screen.&lt;/div&gt;&lt;div&gt;Pixel processing requires&amp;nbsp; more computational power than vertices processing.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-D4Ct9Js0XBs/XqyTYN558ZI/AAAAAAAANTg/TH_XdwhFM8IHsxfKKFsWg6e62gIFXIE7ACLcBGAsYHQ/s1600/Capture1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;430&quot; data-original-width=&quot;496&quot; height=&quot;343&quot; src=&quot;https://1.bp.blogspot.com/-D4Ct9Js0XBs/XqyTYN558ZI/AAAAAAAANTg/TH_XdwhFM8IHsxfKKFsWg6e62gIFXIE7ACLcBGAsYHQ/s400/Capture1.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;h2&gt;How GPU is differ from CPU&lt;/h2&gt;&lt;/div&gt;&lt;div&gt;CPU is made up with few number of cores like dual, quad, octa core and these core is the power to do any calculation or processing like start operating system, do any calculations, run any program or applications and other all task are done by cpu.&amp;nbsp;&lt;/div&gt;&lt;div&gt;On the other hand GPU has a hundreds of cores. So it works parallel means number of operations at a time while CPU does serial processing.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Suppose we have code having 1000 of instructions.&lt;/div&gt;&lt;div&gt;All instructions send to CPU for processing.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-G8Ojon6BBMw/XqyklBpLcMI/AAAAAAAANTs/-CW73FlihZEtrXIh-esSiT0O64f85gIJQCLcBGAsYHQ/s1600/IMG_20200502_040513_023.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1424&quot; height=&quot;322&quot; src=&quot;https://1.bp.blogspot.com/-G8Ojon6BBMw/XqyklBpLcMI/AAAAAAAANTs/-CW73FlihZEtrXIh-esSiT0O64f85gIJQCLcBGAsYHQ/s640/IMG_20200502_040513_023.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Instructions from 600 to 1000 are very complex and require some additional support. So&amp;nbsp; CPU can&#39;t process that instructions.&lt;/div&gt;&lt;div&gt;Then those instructions will send to the GPU for further processing.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;USE of GPU&lt;/h2&gt;&lt;div&gt;&lt;b&gt;1. VDI ( Virtual Desktop Infrastructure)&lt;/b&gt; - GPUs are used to support high intensive graphic application.&lt;/div&gt;&lt;div&gt;examples - Movie Animation, Rendering, High resolution games etc.&lt;/div&gt;&lt;div&gt;&lt;b&gt;2. Artificial intelligence&lt;/b&gt; - Two main subset of AI are machine learning and deep learning and GPUs are specifically created for these two purpose. Some GPUs are created to run Machine learning model ex - self driving car. Some GPUs are created to run neural networks model.&lt;/div&gt;&lt;div&gt;&lt;b&gt;3.&lt;/b&gt; HPC ( High Performance Computing)&lt;br /&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;How to get GPU in your Machine&amp;nbsp;&lt;/h2&gt;&lt;/div&gt;&lt;div&gt;We can use the facility of GPU in our machine by using cloud.&amp;nbsp;&lt;/div&gt;&lt;div&gt;Cloud is a platform where any one can store thier data and can do intensive computational work that they can&#39;t do in their machine. There are the following well known cloud Plateform -&amp;nbsp;&lt;/div&gt;&lt;div&gt;AWS cloud&lt;/div&gt;&lt;div&gt;IBM cloud&amp;nbsp;&lt;/div&gt;&lt;div&gt;GCP (Google Cloud platform)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Reasons for using GPU on cloud.&lt;/div&gt;&lt;div&gt;Every year new generation GPUs are coming and we can&#39;t change GPUs yearly as it will not very efficient. GPUs on cloud are maintained and time to time updated by the service provider.&amp;nbsp;&lt;/div&gt;&lt;div&gt;It is also very cost effective and load on our system is also reduced.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thank you for reading this post.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you have any doubts, let me know in the comment section.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/7931277902663335502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/05/what-is-gpu-and-how-does-it-work-gpu-vs.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/7931277902663335502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/7931277902663335502'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/05/what-is-gpu-and-how-does-it-work-gpu-vs.html' title='What is GPU and how does it work | GPU vs CPU'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-c1P99zTEZO8/XqyoAeJnozI/AAAAAAAANT8/LPAMDQDDrZ46zmMNX1aBY2gRaQDZuR6NgCLcBGAsYHQ/s72-c/20200502_042129.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-3681468232049005981</id><published>2020-04-30T17:10:00.004+05:30</published><updated>2020-05-28T20:26:39.111+05:30</updated><title type='text'>Continuous Vs Categorical Variables | Neccessary tools for Visualization of variables</title><content type='html'>In a dataset, we have two type of variables.&lt;br /&gt;1. Qualitative Variable&lt;br /&gt;2. Quantitative Variable&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-pLXnCsuYRA4/Xqq4ibtPa2I/AAAAAAAANTM/0QtPd5NVsfcBHT0rBhWTl_JWEOog2uXFACLcBGAsYHQ/s1600/InShot_20200430_170323474-01-01.jpeg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;925&quot; data-original-width=&quot;1600&quot; height=&quot;370&quot; src=&quot;https://1.bp.blogspot.com/-pLXnCsuYRA4/Xqq4ibtPa2I/AAAAAAAANTM/0QtPd5NVsfcBHT0rBhWTl_JWEOog2uXFACLcBGAsYHQ/s640/InShot_20200430_170323474-01-01.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Qualitative Variable&amp;nbsp;&lt;/h3&gt;&lt;div&gt;Qualitative variable are the group of values that represent any category that can be related to any aspects. It is also known as Categorical Variable.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ex. Suppose we have a dataset having numbers of person having different different races( face colour) for example fair, white, Asia, dark and other.&lt;/div&gt;&lt;div&gt;So we assign and integer number for every categories like&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Fair = 1&lt;/div&gt;&lt;div&gt;White = 2&lt;/div&gt;&lt;div&gt;Asian = 3&lt;/div&gt;&lt;div&gt;Dark = 4&lt;/div&gt;&lt;div&gt;Othet = 5&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;So we assign different - different integers with different different categories. And that&#39;s how we deals with categorical varible in our dataset.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Advantage of converting categories in to integers&lt;/h2&gt;&lt;div&gt;Easy to apply mathematical functionality on thr categories.&amp;nbsp;&lt;/div&gt;&lt;div&gt;We can easily summarise our dataset with the help of frequency distribution.&amp;nbsp;&lt;/div&gt;&lt;div&gt;In frequency distribution, we havr two options.&lt;/div&gt;&lt;div&gt;1. Count&lt;/div&gt;&lt;div&gt;2. Percentage&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Just take a look of following pictures.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-TvgWhZrxKCE/Xqqs0NCznBI/AAAAAAAANSw/h-FauofJjskIdHyu0n0TPGyDVEK2lduVgCEwYBhgL/s1600/20200430_161658.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;588&quot; data-original-width=&quot;728&quot; height=&quot;258&quot; src=&quot;https://1.bp.blogspot.com/-TvgWhZrxKCE/Xqqs0NCznBI/AAAAAAAANSw/h-FauofJjskIdHyu0n0TPGyDVEK2lduVgCEwYBhgL/s320/20200430_161658.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;In this table every categories are shown with count as well as proportion.&amp;nbsp;&lt;/div&gt;&lt;div&gt;And It is convenient when and only we convert every categories in to interger.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Visualization for Categorical data.&lt;/h2&gt;&lt;div&gt;We can use Barchart and Pie chart for categorical data, for for better undertanding, go for bar chart.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-iajZ-a3gQdY/XqqvxQCqssI/AAAAAAAANS8/i1de3RSP8_UryotpyOUiuv3NnDnpRhzpwCLcBGAsYHQ/s1600/20200430_162944.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;617&quot; data-original-width=&quot;1231&quot; height=&quot;200&quot; src=&quot;https://1.bp.blogspot.com/-iajZ-a3gQdY/XqqvxQCqssI/AAAAAAAANS8/i1de3RSP8_UryotpyOUiuv3NnDnpRhzpwCLcBGAsYHQ/s400/20200430_162944.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-mmRrjDmaTcw/XqqvxXDixbI/AAAAAAAANS4/K0o_Jte8shg4_slfBNrF-IzHeLvh3hWegCLcBGAsYHQ/s1600/20200430_162954.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;617&quot; data-original-width=&quot;1160&quot; height=&quot;212&quot; src=&quot;https://1.bp.blogspot.com/-mmRrjDmaTcw/XqqvxXDixbI/AAAAAAAANS4/K0o_Jte8shg4_slfBNrF-IzHeLvh3hWegCLcBGAsYHQ/s400/20200430_162954.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Quantitative Variable&amp;nbsp;&lt;/h2&gt;&lt;div&gt;Those variable in which, we can easily perform mathematical operation called quantitative variable.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There are two types of quantitative variable.&amp;nbsp;&lt;/div&gt;&lt;div&gt;1. Continuous variable&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. Discrete variable&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Continuous variables are those that contain all types of numbers including rational numbers.&lt;/div&gt;&lt;div&gt;Ex&amp;nbsp; 1, 1.1, 3.4 etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Discrete varibles are those that don&#39;t contain rational numbers, only intergers are included in it.&lt;/div&gt;&lt;div&gt;Ex 1, 2, 3 .....and so on.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And for Visualization of quantitative variable, we use histograms, boxplot, frequency ploygon etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Histogram example.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://datasciencewithkp27.blogspot.com/2020/04/univariate-analysis.html&quot; target=&quot;_blank&quot;&gt;Go for histrogram description.&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tnank you.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you have any doubt, feel free to comment.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Show you support and subscribe our blog.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We also have a YouTube channel-&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCAVf2yJz-K8LV7dJKES38fw&quot; target=&quot;_blank&quot;&gt;https://www.youtube.com/channel/UCAVf2yJz-K8LV7dJKES38fw&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/3681468232049005981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/04/in-dataset-we-have-two-type-of-variables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/3681468232049005981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/3681468232049005981'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/04/in-dataset-we-have-two-type-of-variables.html' title='Continuous Vs Categorical Variables | Neccessary tools for Visualization of variables'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-pLXnCsuYRA4/Xqq4ibtPa2I/AAAAAAAANTM/0QtPd5NVsfcBHT0rBhWTl_JWEOog2uXFACLcBGAsYHQ/s72-c/InShot_20200430_170323474-01-01.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-9113472805610536636</id><published>2020-04-22T20:24:00.001+05:30</published><updated>2020-04-22T20:24:57.473+05:30</updated><title type='text'>Univariate Analysis </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Analysis of Data is one of the most important activity for any organization. Big techie&#39;s like Amazon, Google are doing their daily activities on the basis of data.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-cT5JXgqofnI/XqBaVLze0NI/AAAAAAAANRY/3BJIxCltmBEDbyaldcrx0dP1t9fBHRg0ACLcBGAsYHQ/s1600/20200422_194109-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;460&quot; data-original-width=&quot;669&quot; height=&quot;275&quot; src=&quot;https://1.bp.blogspot.com/-cT5JXgqofnI/XqBaVLze0NI/AAAAAAAANRY/3BJIxCltmBEDbyaldcrx0dP1t9fBHRg0ACLcBGAsYHQ/s400/20200422_194109-01.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;There ard two reasons for analysis of data.&lt;br /&gt;1. By analyzing data, we have an idea or stats of anything related to any prospectives.&lt;br /&gt;2. Some times these analysis are used for taking future decisions.(For predicting outcomes)&lt;br /&gt;&lt;br /&gt;Univariate analysis is the very first analysis technique that should be done in every analysis scenario.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Univariate Analysis ?&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;It is the simplest form of analyzing data. &#39;Uni&#39; means one , so this is analysis by taking only one variable or we can say when data has only one variable, it is called univariate analysis.&lt;br /&gt;&lt;br /&gt;It&#39;s main purpose is to give description about data.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How it&#39;s work ?&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Step.1&amp;nbsp; It takes data.&lt;br /&gt;Step.2 summarize data.&lt;br /&gt;Step.3 Find different different patterns in the data.&lt;br /&gt;&lt;br /&gt;Patterns like min value,max value, average, IQR etc.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Univariate variable&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Variable can be any condition or categorical representation like age, height, number of goods etc that given into your data.&lt;br /&gt;&lt;br /&gt;There are so many options by which you can describe your data like&amp;nbsp; Barchart, Histogram, Frequency polygon, Pie charts etc.&lt;br /&gt;&lt;br /&gt;example-&lt;br /&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-Dsxh2AbqkBU/XqBUnZP5PfI/AAAAAAAANRM/aVahvCtvDgs1okkfTiyexpS7_hFs6EODQCEwYBhgL/s1600/20200422_194109.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;460&quot; data-original-width=&quot;669&quot; height=&quot;275&quot; src=&quot;https://1.bp.blogspot.com/-Dsxh2AbqkBU/XqBUnZP5PfI/AAAAAAAANRM/aVahvCtvDgs1okkfTiyexpS7_hFs6EODQCEwYBhgL/s400/20200422_194109.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;text-align: center;&quot;&gt;This is Visualization of systolic blood pressure of persons with frequencies.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;text-align: center;&quot;&gt;From the above histograms, we can get the following stats .&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;text-align: center;&quot;&gt;Histogram is bellshaped (unimodal), mean or center is about 115 approx. Range is approx 169 (max -min)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;text-align: center;&quot;&gt;And it has some outliers as distribution is going till 244 on x axis.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;text-align: center;&quot;&gt;If you want to know more about Univariate Analysis,&amp;nbsp; or have any doubts just drop a comment or connect with us from the following link.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;text-align: center;&quot;&gt;-&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.instagram.com/kavyansh.pandey&quot; style=&quot;text-align: center;&quot;&gt;www.instagram.com/kavyansh.pandey&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thank you for reading this post.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/9113472805610536636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/04/univariate-analysis.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/9113472805610536636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/9113472805610536636'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/04/univariate-analysis.html' title='Univariate Analysis '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-cT5JXgqofnI/XqBaVLze0NI/AAAAAAAANRY/3BJIxCltmBEDbyaldcrx0dP1t9fBHRg0ACLcBGAsYHQ/s72-c/20200422_194109-01.jpeg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-4663232134900765395</id><published>2020-04-20T20:18:00.000+05:30</published><updated>2020-04-20T20:18:59.180+05:30</updated><title type='text'>Decision Tree | Machine learning | Supervised Learning Algorithm</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Decision tree is a supervised algorithm and use for solving classification and regression problem means it uses for prediction and forming clusters.&lt;br /&gt;&lt;br /&gt;As we know modeling of machine learning model involves so many steps like collection of data, pre-processing on data, model training (In this phase, we give data to our model) and at last, we have testing phase where we test our model on number of input values.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-nErpKtk_Pok/Xp219FW43rI/AAAAAAAANQs/tJ6pO-AwBhkyJoz1Ad7-V4ewXqsBtJt6QCLcBGAsYHQ/s1600/Capture1-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;383&quot; data-original-width=&quot;608&quot; height=&quot;251&quot; src=&quot;https://1.bp.blogspot.com/-nErpKtk_Pok/Xp219FW43rI/AAAAAAAANQs/tJ6pO-AwBhkyJoz1Ad7-V4ewXqsBtJt6QCLcBGAsYHQ/s400/Capture1-01.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span id=&quot;goog_1212781001&quot;&gt;&lt;/span&gt;It represents a function that takes input in the form of vector and return a decision as an output, so the goal of decision tree based machine learning model that can use to predict the class or value of the target variable by learning simple decision rules which is based on the previous data.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Target variable are those features, which a model want to predict or classify according to that feature.&lt;br /&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Types of Decision Tree&lt;/h2&gt;&lt;div&gt;There are two type of decision tree.&lt;/div&gt;&lt;div&gt;1. Categorical variable decision tree.&lt;/div&gt;&lt;div&gt;2. Continuous variable decision tree.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We can understand above mentioned two terms with the help of following example.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Let&#39;s take a student and based of his previous academic record, we want to predict whether he/she will pass in the next examination or not means (YES/NO), this is the example of categorical because no numeric terms are there for target feature.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;But in the same example, if we want to predict the percentage will be achieved by that student, it&#39;s the example of continuous variable decision tree.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Algorithm&lt;/h2&gt;&lt;div&gt;There are so many approach for decision tree algorithm but ID 3 is one of the most common decision tree algorithm.&lt;/div&gt;&lt;div&gt;ID 3 stands of Iterative Dichtomisers, means dividing a things (features) into two completely opposite things.&lt;/div&gt;&lt;div&gt;Algorithm iteratively divides attributes into two groups.&lt;/div&gt;&lt;div&gt;Calculate the entropy and information gain for each attribute.(this is use for selecting which attribute should divided next into subgroup and work as tree or decision node)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Terminologies in Decision Tree&amp;nbsp;&lt;/h2&gt;&lt;div&gt;Root node&lt;/div&gt;&lt;div&gt;Parent node&lt;/div&gt;&lt;div&gt;Child node&lt;/div&gt;&lt;div&gt;Splitting&lt;/div&gt;&lt;div&gt;Branch/Subgroup&lt;/div&gt;&lt;div&gt;leaf nodes&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-Vhqv60NvKYI/Xp2udJ0yoHI/AAAAAAAANQc/RCj9Cj6M_z4qzDrIsuvsDpkdfO-aI3e7gCEwYBhgLKssDAL1Ocqxybhk94LKd-lYPYeaeeH4end87mhu7ubKdfEMLnjAAPMhuA5JkPQQFXXp3Av4t48drRgpCn7DXZSpzyPcXXI-lIEvliU2Mb2F3A9R2XqtSszpR9bObHfRQFFVeLIliCj6oyyNTqT5RSKHzWIBuYGC4K_m214FyPU9GQeyHHa66igHsVUy0jntfZ7BTMPjLqOQ0isdxtGyf-RTTTjznrvVumtCqu_mzJstW12UpHnLQGuheV8vFvokbK6uPa9atRkVW2YKXNkW3V3JYtT0WiYsYnRaT7QLjlNNDkFCngaiNUJ2n7pWDAf2LivxdTbDnxTHOQYxRn0fQhpNZxyIl-0zvz788elRrnsO9p6BRxwVX6FB05u1xo5GG-sMkNDJe9SyD8__4g6NA9VYAIRBHiVYnKMvRJ0RIQDgg5ELaSQzGkn1JQY8oX-2C0UgVG7rNLK5A8Jh3G5HfEGVFbSgIqo-0sl7wcMcAR3NDgAbMpAVoBmVI0Zvrfi4gqw4pVtm0IwP_gIRO8ZE7dZc4BFayrADcbUDj_Z5XlSat9_Uzc6175R0Tx3fH-d3XSHBThIW_gl1gmQ33gWXbH2SOhjMe6G7ZRjlk3fg7MILi9vQF/s1600/20200420_193921-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1575&quot; height=&quot;400&quot; src=&quot;https://1.bp.blogspot.com/-Vhqv60NvKYI/Xp2udJ0yoHI/AAAAAAAANQc/RCj9Cj6M_z4qzDrIsuvsDpkdfO-aI3e7gCEwYBhgLKssDAL1Ocqxybhk94LKd-lYPYeaeeH4end87mhu7ubKdfEMLnjAAPMhuA5JkPQQFXXp3Av4t48drRgpCn7DXZSpzyPcXXI-lIEvliU2Mb2F3A9R2XqtSszpR9bObHfRQFFVeLIliCj6oyyNTqT5RSKHzWIBuYGC4K_m214FyPU9GQeyHHa66igHsVUy0jntfZ7BTMPjLqOQ0isdxtGyf-RTTTjznrvVumtCqu_mzJstW12UpHnLQGuheV8vFvokbK6uPa9atRkVW2YKXNkW3V3JYtT0WiYsYnRaT7QLjlNNDkFCngaiNUJ2n7pWDAf2LivxdTbDnxTHOQYxRn0fQhpNZxyIl-0zvz788elRrnsO9p6BRxwVX6FB05u1xo5GG-sMkNDJe9SyD8__4g6NA9VYAIRBHiVYnKMvRJ0RIQDgg5ELaSQzGkn1JQY8oX-2C0UgVG7rNLK5A8Jh3G5HfEGVFbSgIqo-0sl7wcMcAR3NDgAbMpAVoBmVI0Zvrfi4gqw4pVtm0IwP_gIRO8ZE7dZc4BFayrADcbUDj_Z5XlSat9_Uzc6175R0Tx3fH-d3XSHBThIW_gl1gmQ33gWXbH2SOhjMe6G7ZRjlk3fg7MILi9vQF/s400/20200420_193921-01%255B1%255D.jpeg&quot; width=&quot;393&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Formula&#39;s&lt;/h2&gt;&lt;div&gt;Information gain = &lt;i&gt;( -P /(P+N)) ㏒₂(P / (P+N)) - (N /(P+N))㏒₂(N/(P+N))&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Entropy = &lt;i&gt;-p㏒₂p - Q㏒₂Q&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;where q = 1-p (probability)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; P = positive outcomes&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; N = negative outcomes&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; P+N = total number of outcomes.&lt;/div&gt;&lt;div&gt;If the sample is completely homogeneous then entropy will be zero.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I hope, now you have better understanding of Decision Tree Algorithm and how&#39;s it work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you have any doubt, let me know in comment section.&lt;/div&gt;&lt;div&gt;connect with us from the following link-&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.instagram.com/datasciencewithkp27&quot;&gt;www.instagram.com/datasciencewithkp27&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanking You.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/4663232134900765395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/04/decision-tree-machine-learning.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/4663232134900765395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/4663232134900765395'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/04/decision-tree-machine-learning.html' title='Decision Tree | Machine learning | Supervised Learning Algorithm'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-nErpKtk_Pok/Xp219FW43rI/AAAAAAAANQs/tJ6pO-AwBhkyJoz1Ad7-V4ewXqsBtJt6QCLcBGAsYHQ/s72-c/Capture1-01.jpeg" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-7461438828514006063</id><published>2020-04-12T19:40:00.002+05:30</published><updated>2020-05-28T20:35:37.366+05:30</updated><title type='text'>Precision | Recall | Accuracy | F1 score | ML model evaluation parameters</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Precision | Recall | Accuracy | F1 score&lt;/h2&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Evaluation of a machine learning model is based on four parameters and that are -&amp;nbsp;&lt;/div&gt;1. Accuracy&lt;br /&gt;2. Recall&lt;br /&gt;3. precision&lt;br /&gt;4. F1 score&lt;br /&gt;&lt;br /&gt;For understanding of above mentioned four parameters, firstly we need to understand what is confusion metrics?&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-ESVrMmZApSM/XpMgTeseyEI/AAAAAAAANOA/9W47_K6vo0gmNU1D7HsRSNtP0oZLpC1JgCLcBGAsYHQ/s1600/graph_precision-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;408&quot; data-original-width=&quot;568&quot; height=&quot;283&quot; src=&quot;https://1.bp.blogspot.com/-ESVrMmZApSM/XpMgTeseyEI/AAAAAAAANOA/9W47_K6vo0gmNU1D7HsRSNtP0oZLpC1JgCLcBGAsYHQ/s400/graph_precision-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Confusion metrics -&amp;nbsp;&lt;/b&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: left;&quot;&gt;It is a two dimensional metrics and these two parameters are actual results and prediction results. It is used for describing the performance of a machine learning classification model with the help of True and False values.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;It contain four type of values.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;For understanding of below mentioned terminologies, let&#39;s take an example -&lt;i&gt; &quot;suppose a person is in the doctor clinic and want to know whether he is suffering from fever or his health is normal. so what are the possibilities of results.&quot;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-mrppexrGFtI/XpMWW7n--1I/AAAAAAAANN0/pKhZWoBC6F0I3ZnuOSfdfOTM7YjLmnSbACLcBGAsYHQ/s1600/cm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;338&quot; data-original-width=&quot;512&quot; height=&quot;262&quot; src=&quot;https://1.bp.blogspot.com/-mrppexrGFtI/XpMWW7n--1I/AAAAAAAANN0/pKhZWoBC6F0I3ZnuOSfdfOTM7YjLmnSbACLcBGAsYHQ/s400/cm.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;TN&lt;/b&gt; (True Negative) Neither person actually suffering from fever nor doctor predict ,he is suffering.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;TP&lt;/b&gt; (True Positive) person actually suffering from fever as well as doctor predict ,he is suffering&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;FP&lt;/b&gt; (False Positive) person is actually not suffering from fever but doctor predict, he is suffering.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;FN&lt;/b&gt; (False Negative) person is actually suffering from fever but doctor predict, he is not suffering.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;With the help of above mentioned (TN, TP, FP, FN), we evaluate all parameters.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;u&gt;Precision -&lt;/u&gt;&lt;/h3&gt;&lt;div&gt;Precision is the ration of&amp;nbsp; &#39;True Positives&#39;&amp;nbsp; with predicted &#39;Positives&#39;. As clear from the above figure i.e; predicted positives contains True Positives and False Positives.&lt;/div&gt;&lt;div&gt;formula - &lt;i&gt;TP / (TP + FP)&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;u&gt;Recall -&lt;/u&gt;&lt;/h3&gt;&lt;div&gt;Recall is the ratio of&amp;nbsp; &#39;True Positives&#39; with Actual &#39;Positives&#39;. And actual positives contains True Positives and False Negatives.&lt;/div&gt;&lt;div&gt;formula - &lt;i&gt;TP/ (TP + FN)&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;u&gt;Accuracy -&lt;/u&gt;&lt;/h3&gt;&lt;div&gt;It is the ratio of&amp;nbsp; &#39;True Positives&#39; and &#39;True Negatives&#39; with Total observations.&amp;nbsp;&lt;/div&gt;&lt;div&gt;formula - (&lt;i&gt;TP + TN)&amp;nbsp; /&amp;nbsp; (TP + TN + FN + FP)&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;u&gt;F1 score -&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;&lt;div&gt;F1 score is the weighted average of Precision and Recall and can be calculated by following formula.&lt;/div&gt;&lt;div&gt;&lt;i&gt;F1 score = 2*(Recall * Precision) / (Recall + Precision)&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Accuracy and F1 score both are quite similar but F1 score is more useful than accuracy because accuracy works better when False Negative and False Positive have similar costs(value) so on that condition we should take F1 score for model selection.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I hope that now you have better understanding regarding terminologies for machine learning model evaluation.&lt;/div&gt;&lt;div&gt;If you found this post helpful , share with your friend. If&amp;nbsp; you have any doubts, just drop a comment.&lt;/div&gt;&lt;div&gt;Connect with us -&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.instagram.com/kavyansh.pandey&quot;&gt;www.instagram.com/kavyansh.pandey&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thank You for reading this.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/7461438828514006063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/04/precision-recall-accuracy-f1-score-ml.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/7461438828514006063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/7461438828514006063'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/04/precision-recall-accuracy-f1-score-ml.html' title='Precision | Recall | Accuracy | F1 score | ML model evaluation parameters'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-ESVrMmZApSM/XpMgTeseyEI/AAAAAAAANOA/9W47_K6vo0gmNU1D7HsRSNtP0oZLpC1JgCLcBGAsYHQ/s72-c/graph_precision-01%255B1%255D.jpeg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-3719701540525667185</id><published>2020-04-07T18:41:00.003+05:30</published><updated>2020-04-07T18:41:49.445+05:30</updated><title type='text'>Support Vector Machine with implementation | supervised learning Algorithm</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Support vector machine is basically used for supervised learning means it deals with classification and regression and the dataset which is used with this, is labeled. It is one of the popular algorithm that is used for classification problem.This algorithm is powerful as well as clear for complex task.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-ll1c_xOqdfo/Xox7DZ-PfhI/AAAAAAAANM4/Ckj_5WbrMXU4dSuXZvjsl2_2fW9nLbFygCLcBGAsYHQ/s1600/20200407_183012-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;876&quot; data-original-width=&quot;1600&quot; height=&quot;218&quot; src=&quot;https://1.bp.blogspot.com/-ll1c_xOqdfo/Xox7DZ-PfhI/AAAAAAAANM4/Ckj_5WbrMXU4dSuXZvjsl2_2fW9nLbFygCLcBGAsYHQ/s400/20200407_183012-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;Definition&lt;/b&gt;&lt;br /&gt;SVM is a supervised algorithm that classifies cases by finding a separator and it involves two steps that are following.&lt;br /&gt;1.Mapping data into a high dimensional feature space.&lt;br /&gt;2.Finding a separator.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-1gioj95QUH4/XoxmwWBE10I/AAAAAAAANLk/TROQ2rL_MCgL_joUNCW7oN6alf2EixOvgCLcBGAsYHQ/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;380&quot; data-original-width=&quot;511&quot; height=&quot;293&quot; src=&quot;https://1.bp.blogspot.com/-1gioj95QUH4/XoxmwWBE10I/AAAAAAAANLk/TROQ2rL_MCgL_joUNCW7oN6alf2EixOvgCLcBGAsYHQ/s400/Capture.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Above figure have three blocks. In first block model is taking dataset ,after then model will be trained on that dataset, in second phase, it will be tested for some inputs and at last we will get the result.&lt;br /&gt;&lt;br /&gt;Support vector machine generally deals with two types of data, first is linear separable and next one is non separable data.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-cMt93R6p4YI/XoxurscpXZI/AAAAAAAANLw/ZkvoK02Klk4vgB5eGlFXGVpW9G3xvTvXgCLcBGAsYHQ/s1600/20200407_174130-02%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1469&quot; data-original-width=&quot;1600&quot; height=&quot;293&quot; src=&quot;https://1.bp.blogspot.com/-cMt93R6p4YI/XoxurscpXZI/AAAAAAAANLw/ZkvoK02Klk4vgB5eGlFXGVpW9G3xvTvXgCLcBGAsYHQ/s320/20200407_174130-02%255B1%255D.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;It is an example of non linear separable data.&lt;br /&gt;We use kernalling to solve non linear problem.&lt;br /&gt;&lt;br /&gt;It is nothing but conversion of non linear into linear by using polynomials, sigmoid function etc.&lt;br /&gt;&lt;br /&gt;eg. non linear data with one variable can be easily converted in to linear separable by using following function.&lt;br /&gt;f(x) = [ x : x^2 ]&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-jEM_9HYlKRk/XoxuwbkYavI/AAAAAAAANL0/9d-aNtP1CKwhYyZp9jHsFXcuDg2eJUeoQCLcBGAsYHQ/s1600/20200407_174130-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1282&quot; data-original-width=&quot;1600&quot; height=&quot;255&quot; src=&quot;https://1.bp.blogspot.com/-jEM_9HYlKRk/XoxuwbkYavI/AAAAAAAANL0/9d-aNtP1CKwhYyZp9jHsFXcuDg2eJUeoQCLcBGAsYHQ/s320/20200407_174130-01%255B1%255D.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this figure data can be separated by a single straight line, that&#39;s why it is linear separable data.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;some terms that are related with SVM are given below.&lt;br /&gt;&lt;b&gt;1.&lt;/b&gt; &lt;b&gt;Hyperplane -&lt;/b&gt; Straight line which divides datasset into two clusters and separate the whole dataset in to two parts is know as hyperplane. It is also known as decision boundary.&lt;br /&gt;&lt;b&gt;2.&lt;/b&gt; &lt;b&gt;Margin-&lt;/b&gt; two straight lines are drawn parallel to hyperplane. The distance between hyperplane and each parallel lines is known as margin. It is denoted by D- and D+ respectively. It is the distance of parallel lines.&lt;br /&gt;&lt;b&gt;3. Support vectors -&lt;/b&gt; two data points that are nearest to the parallel lines is known as support vectors.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Significance of Margin&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;We only take that model which have greater margin because models having large margin are more accurate and it will be good for future prediction.&lt;br /&gt;distance between margin is directly proportional to accuracy.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Advantage&lt;/b&gt;&lt;br /&gt;1. Accurate in high dimensional space&lt;br /&gt;2. memory efficient.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Disadvantage&lt;/b&gt;&lt;br /&gt;1. leads to over-fitting.&lt;br /&gt;2. No probability estimation.&lt;br /&gt;3. Useful for small datasets.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Applications&lt;/b&gt;&lt;br /&gt;1. Image classification.&lt;br /&gt;2. text mining.&lt;br /&gt;3. hand writing recognition.&lt;br /&gt;4. genes expression classification.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Implementation of SVM algorithm&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;here I am going to upload snapshots of code , if you guys want the whole project based on Support vector machine, just drop a comment I&#39;ll explain the whole project to you.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-KPKpZVLodnQ/Xox2xCzUBnI/AAAAAAAANME/1d32o5SojnArblELE_0VW5Wmih5ciEw8gCLcBGAsYHQ/s1600/Capture1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;137&quot; data-original-width=&quot;689&quot; height=&quot;123&quot; src=&quot;https://1.bp.blogspot.com/-KPKpZVLodnQ/Xox2xCzUBnI/AAAAAAAANME/1d32o5SojnArblELE_0VW5Wmih5ciEw8gCLcBGAsYHQ/s640/Capture1.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-EKqVNNI1xPo/Xox2ztYZjsI/AAAAAAAANMI/7lVm9jRXsMs_5mtdrQpVjpGqRGhbadxiwCLcBGAsYHQ/s1600/Capture2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;34&quot; data-original-width=&quot;682&quot; height=&quot;30&quot; src=&quot;https://1.bp.blogspot.com/-EKqVNNI1xPo/Xox2ztYZjsI/AAAAAAAANMI/7lVm9jRXsMs_5mtdrQpVjpGqRGhbadxiwCLcBGAsYHQ/s640/Capture2.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-bgQ9d1OF11k/Xox24pUY4yI/AAAAAAAANMM/5bF5eJejh1QGCDPU2MP6VAoyhyxt5gYAACLcBGAsYHQ/s1600/Capture3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;329&quot; data-original-width=&quot;707&quot; height=&quot;292&quot; src=&quot;https://1.bp.blogspot.com/-bgQ9d1OF11k/Xox24pUY4yI/AAAAAAAANMM/5bF5eJejh1QGCDPU2MP6VAoyhyxt5gYAACLcBGAsYHQ/s640/Capture3.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-Al1_je2XE84/Xox27AHWmPI/AAAAAAAANMQ/AztSMXZ9Y7c-FGpBn3x3EXNNvMdamMQ8wCLcBGAsYHQ/s1600/Capture4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;72&quot; data-original-width=&quot;702&quot; height=&quot;64&quot; src=&quot;https://1.bp.blogspot.com/-Al1_je2XE84/Xox27AHWmPI/AAAAAAAANMQ/AztSMXZ9Y7c-FGpBn3x3EXNNvMdamMQ8wCLcBGAsYHQ/s640/Capture4.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-Kva3-BRT7iQ/Xox2_-lnJiI/AAAAAAAANMU/gQUK88fFTBgtWXCy_JCJa6jbKoxJblEaACLcBGAsYHQ/s1600/Capture6.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;54&quot; data-original-width=&quot;688&quot; height=&quot;50&quot; src=&quot;https://1.bp.blogspot.com/-Kva3-BRT7iQ/Xox2_-lnJiI/AAAAAAAANMU/gQUK88fFTBgtWXCy_JCJa6jbKoxJblEaACLcBGAsYHQ/s640/Capture6.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-aAwtT1qFwHc/Xox3ETf8ZmI/AAAAAAAANMY/TgLyQx4yguwRQCO7inA4DflaYpyqTy1qQCLcBGAsYHQ/s1600/Capture7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;57&quot; data-original-width=&quot;689&quot; height=&quot;50&quot; src=&quot;https://1.bp.blogspot.com/-aAwtT1qFwHc/Xox3ETf8ZmI/AAAAAAAANMY/TgLyQx4yguwRQCO7inA4DflaYpyqTy1qQCLcBGAsYHQ/s640/Capture7.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/--7uqHUXtiys/Xox3JctcX2I/AAAAAAAANMk/WgXZLPBDfpksha3xeVEXMjyx7KL5ngKPwCLcBGAsYHQ/s1600/Capture9.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;40&quot; data-original-width=&quot;690&quot; height=&quot;32&quot; src=&quot;https://1.bp.blogspot.com/--7uqHUXtiys/Xox3JctcX2I/AAAAAAAANMk/WgXZLPBDfpksha3xeVEXMjyx7KL5ngKPwCLcBGAsYHQ/s640/Capture9.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;After running this script you&#39;ll get the value&amp;nbsp;&lt;span style=&quot;background-color: white; color: var(--jp-content-font-color1); font-family: var(--jp-code-font-family); font-size: var(--jp-code-font-size); white-space: pre-wrap;&quot;&gt;0.9635036496350365 which is almost 1, means our model has approx 96 % accuracy that will be better for future prediction.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; color: var(--jp-content-font-color1); font-family: var(--jp-code-font-family); font-size: var(--jp-code-font-size); white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: var(--jp-content-font-color1); font-family: var(--jp-code-font-family); font-size: var(--jp-code-font-size); white-space: pre-wrap;&quot;&gt;If you have any doubt, just drop a comment.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; white-space: pre-wrap;&quot;&gt;connect with us on -&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; white-space: pre-wrap;&quot;&gt; &lt;a href=&quot;https://www.instagram.com/kavyansh.pandey&quot;&gt;https://www.instagram.com/kavyansh.pandey&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thank You.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/3719701540525667185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/04/support-vector-machine-with.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/3719701540525667185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/3719701540525667185'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/04/support-vector-machine-with.html' title='Support Vector Machine with implementation | supervised learning Algorithm'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-ll1c_xOqdfo/Xox7DZ-PfhI/AAAAAAAANM4/Ckj_5WbrMXU4dSuXZvjsl2_2fW9nLbFygCLcBGAsYHQ/s72-c/20200407_183012-01%255B1%255D.jpeg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-4156319650436405426</id><published>2020-03-25T17:10:00.000+05:30</published><updated>2020-05-04T16:24:10.668+05:30</updated><title type='text'>Types of Machine Learning | Supervised, Unsupervised and Reinforcement learning | Post 2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Machine learning is classified into two types.&lt;br /&gt;&lt;div&gt;1. Supervised learning&lt;/div&gt;&lt;div&gt;2. Unsupervised learning&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-0gfFfPH28rA/Xns71aO9HfI/AAAAAAAAM-o/lXQaTBuW6OMvpTbFGvCD9976k4sZ6WQUQCLcBGAsYHQ/s1600/20200325_163411-02%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1073&quot; data-original-width=&quot;1600&quot; height=&quot;267&quot; src=&quot;https://1.bp.blogspot.com/-0gfFfPH28rA/Xns71aO9HfI/AAAAAAAAM-o/lXQaTBuW6OMvpTbFGvCD9976k4sZ6WQUQCLcBGAsYHQ/s400/20200325_163411-02%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Most of the persons think that machine learning has one more field that is reinforcement learning. yes there are two more terms that is reinforcement learning and recommendation but these two terms are totally belong to deep learning and neural networks. As I told in the&lt;a href=&quot;https://datasciencewithkp27.blogspot.com/2020/03/starting-with-machine-learning.html&quot;&gt; Post 1&lt;/a&gt;&amp;nbsp;that deep learning is the subset of machine learning that is why we consider three types.&lt;/div&gt;&lt;div&gt;1. Supervised learning&lt;/div&gt;&lt;div&gt;2. Unsupervised learning&lt;/div&gt;&lt;div&gt;3. Reinforcement learning&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;1.&amp;nbsp; &lt;u&gt;Supervised Learning&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;In this field of machine learning we have enough information about the data sets or labels and we take these data sets as an input into an algorithm, test and train data set and predict the outcomes.&lt;/div&gt;&lt;div&gt;labelled dataset means we have enough information about dataset and it has both input and output parameters.&lt;/div&gt;&lt;div&gt;&lt;i&gt;&quot;when the model is getting trained over the labelled dataset is know as supervised learning.&quot;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Regression and classification are the two approaches that are used in supervised learning.&lt;/div&gt;&lt;div&gt;In &lt;b&gt;Regression&lt;/b&gt;, we give the datasets to the algorithm and predict the result and our result contains continuous values.&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-Uhl9MPd9v3U/Xns75XuqsMI/AAAAAAAAM_E/Y8wYw19Tuzk6C27rgBwE8u-pGw3VTHl9QCPcBGAYYCw/s1600/20200325_163411-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1073&quot; data-original-width=&quot;1600&quot; height=&quot;267&quot; src=&quot;https://1.bp.blogspot.com/-Uhl9MPd9v3U/Xns75XuqsMI/AAAAAAAAM_E/Y8wYw19Tuzk6C27rgBwE8u-pGw3VTHl9QCPcBGAYYCw/s400/20200325_163411-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;for &lt;b&gt;example&lt;/b&gt;- any of your friend wants to sell his house so in what amount he should sell his house.&lt;/div&gt;&lt;div&gt;this type of problems can be solved using regression.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On right hand side, there is a figure in which a straight line and a quadratic function is set over data points.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Classification&lt;/b&gt; is similar to regression but in the place of continuous value , we get discrete values as an output.&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-l8ddQNtD78I/Xns8acGo2GI/AAAAAAAAM_M/aVImxafwl2wT28M8XDVJ4o2Wtedy6-I_wCPcBGAYYCw/s1600/20200325_162714-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;864&quot; data-original-width=&quot;1593&quot; height=&quot;216&quot; src=&quot;https://1.bp.blogspot.com/-l8ddQNtD78I/Xns8acGo2GI/AAAAAAAAM_M/aVImxafwl2wT28M8XDVJ4o2Wtedy6-I_wCPcBGAYYCw/s400/20200325_162714-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;example&lt;/b&gt;- we want to predict or check whether any person has breast cancer or not. for this we have tumor size as our dataset. and we make two assumptions for this case that is 0 for benign( normal) case and 1 for malignant case .These types of problem are stated as classification problem.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;generally we use test and train method to solve supervised learning problem.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In above mentioned two examples there are limited number of attributes . In case that there are infinite number of attributes so we use SVM that is support vector machine.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;2. &lt;u&gt;Unsupervised learning&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;In this type, data doesn&#39;t have any labels or really no labels, so we are given dataset and we&#39;re not told what to do with it and we&#39;re not told what each data point is.&lt;/div&gt;&lt;div&gt;&lt;i&gt;&quot;Unsupervised learning allows us to approach problems with little or no&amp;nbsp; idea what our results should look like. We can derive structure from data where we don&#39;t necessarily known the effect of variables.&quot;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;we can derive this structure by clustering the data based on relationships among the variables in the data.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Clustering is the example of unsupervised learning.&lt;/div&gt;&lt;div&gt;for example- Take a collection of 1000000 different genes, and find a way automatically group these genes into groups that are somehow similar or related by different variables.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;In&amp;nbsp; clustering, unlabeled data provided but in classification, labeled data provided that is why these two put in unsupervised and supervised learning respectively. In both cases, we make group or cluster with coherent groups of data points that&#39;s why we can use k mean cluster algorithm in both cases.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;3. &lt;u&gt;Reinforcement learning&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;learning in neural networks means continuously updating the weights between the neurons of any specific network.&lt;/div&gt;&lt;div&gt;Reinforcement learning is quite similar to supervised learning as we make decisions same as we make prediction in supervised learning.&lt;/div&gt;&lt;div&gt;&lt;i&gt;&quot;Train neural networks model by the actions that agent perform and update set of actions in dataset.&quot;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-XiX0CjJjizY/Xns8SKiFcdI/AAAAAAAAM_I/y904L25AH_A89D9yfn3-Uwq9SbUj-0GOwCPcBGAYYCw/s1600/20200325_162714-03%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;839&quot; data-original-width=&quot;1600&quot; height=&quot;208&quot; src=&quot;https://1.bp.blogspot.com/-XiX0CjJjizY/Xns8SKiFcdI/AAAAAAAAM_I/y904L25AH_A89D9yfn3-Uwq9SbUj-0GOwCPcBGAYYCw/s400/20200325_162714-03%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In reinforcement learning, policy networks are present that can be implemented by policy gradients.&lt;/div&gt;&lt;div&gt;Agent calculate the bunch of experience.&lt;/div&gt;&lt;div&gt;After performing every action agent get a reward , if the value of reward is positive , we add that experience in dataset. In case we receive a neg gradient means that action is not very good for our final outcome.&lt;/div&gt;&lt;div&gt;Actions having negative record slowly filtered out from the program so probability of getting failure is very less so only positive actions are there. That&#39;s how program run by itself.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A term that generally used in reinforcement learning is CAP (credit assignment problem). It is the process of identifying among the set of actions chosen in an event that ones which are responsible for the final outcome.And moreover it is the best and worst set of decisions chosen over an event so that the best decisions are reinforced and worst penalized.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now I hope that you have clear view about the types of machine learning.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If&amp;nbsp; have any doubt, just drop a comment.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Connect with our Data Science community from the below mentioned link.&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.instagram.com/datasciencewithkp27&quot;&gt;www.instagram.com/datasciencewithkp27&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thank you.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/4156319650436405426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/03/types-of-machine-learning-supervised.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/4156319650436405426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/4156319650436405426'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/03/types-of-machine-learning-supervised.html' title='Types of Machine Learning | Supervised, Unsupervised and Reinforcement learning | Post 2'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-0gfFfPH28rA/Xns71aO9HfI/AAAAAAAAM-o/lXQaTBuW6OMvpTbFGvCD9976k4sZ6WQUQCLcBGAsYHQ/s72-c/20200325_163411-02%255B1%255D.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-4067405151036018123</id><published>2020-03-23T00:50:00.000+05:30</published><updated>2020-03-23T15:35:04.297+05:30</updated><title type='text'>K - mean cluster algorithm | classification | machine learning  </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;As we know in classification problem, we deal with unlabeled dataset. Unlabeled data means we don&#39;t have enough information about the dataset. In this type of problems we have to make cluster with similar type of values(data).&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We need an algorithm that can be automatically grouped the data into coherent subset and these groups are known as clusters.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-742SOYbHCBA/Xne5LOg4dDI/AAAAAAAAM8g/RdEKyg22SK0GoFg8m8NfCiEuhQBeraSjQCLcBGAsYHQ/s1600/20200323_004059-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1200&quot; data-original-width=&quot;1600&quot; height=&quot;300&quot; src=&quot;https://1.bp.blogspot.com/-742SOYbHCBA/Xne5LOg4dDI/AAAAAAAAM8g/RdEKyg22SK0GoFg8m8NfCiEuhQBeraSjQCLcBGAsYHQ/s400/20200323_004059-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;What is k-mean cluster ?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;It is an algorithm that is use for classification problem for grouping or clustering of coherent data points. It is divided into two steps.&lt;/div&gt;&lt;div&gt;1. Assignment of centriods.&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. Movement of centriods.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;where centriods are the random points or dataset from given dataset.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-42zJVLjBwOw/XnetekstlzI/AAAAAAAAM8A/Vlt1l1U3X-0JmnAclxjhudQ80s1EMGVhQCLcBGAsYHQ/s1600/20200322_235132-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;955&quot; data-original-width=&quot;1600&quot; height=&quot;238&quot; src=&quot;https://1.bp.blogspot.com/-42zJVLjBwOw/XnetekstlzI/AAAAAAAAM8A/Vlt1l1U3X-0JmnAclxjhudQ80s1EMGVhQCLcBGAsYHQ/s400/20200322_235132-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;Suppose we have unlabeled dataset in this visualization and our task is to grouped data into coherent cluster.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;first of all we select two random points that is known as cluster as shown in figure.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;after then we apply euclidean distance formula that is&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;√(Xo - Xc)^２+ (Yo-Yc)^２&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;where&lt;/div&gt;&lt;div&gt;Xo = observed value&lt;/div&gt;&lt;div&gt;Xc = centriod value&amp;nbsp;&lt;/div&gt;&lt;div&gt;Yo = oberved value&amp;nbsp;&lt;/div&gt;&lt;div&gt;Yc = centriod value , here all values is in the form of x,y pair because every point in figure is in two dimension.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We calculate values for every data point and put that value( data point) with minimum valued cluster as we take initially.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Replace that cluster value with new cluster value by mean of recently got value and initially taking value.&lt;/div&gt;&lt;div&gt;This algorithm is repeatedly work so after number of iterations we will get following clusters.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-WBH1B3QX7XA/XneyhXxQthI/AAAAAAAAM8M/XY8Gl6HXVFIsKc2eAK7wvD25ci5hA-LsACLcBGAsYHQ/s1600/20200322_235132-02%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;852&quot; data-original-width=&quot;1600&quot; height=&quot;211&quot; src=&quot;https://1.bp.blogspot.com/-WBH1B3QX7XA/XneyhXxQthI/AAAAAAAAM8M/XY8Gl6HXVFIsKc2eAK7wvD25ci5hA-LsACLcBGAsYHQ/s400/20200322_235132-02%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-8VrsTFAo1wE/XneylwOe-AI/AAAAAAAAM8Q/OV1SNA44xzURZE1w0cwMbprQl2kWCK4oACLcBGAsYHQ/s1600/20200322_235132-03%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;825&quot; data-original-width=&quot;1600&quot; height=&quot;206&quot; src=&quot;https://1.bp.blogspot.com/-8VrsTFAo1wE/XneylwOe-AI/AAAAAAAAM8Q/OV1SNA44xzURZE1w0cwMbprQl2kWCK4oACLcBGAsYHQ/s400/20200322_235132-03%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;This two circle (clusters) will get after number of iterations and these clusters will be coherent groups.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Algorithm:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Input :-&lt;/div&gt;&lt;div&gt;k ( number of clusters , it can be one, two, three and so on... )&lt;/div&gt;&lt;div&gt;training set ( x1, x2 ,x3.......data points)&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;for i=1 to m&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; c(i) = index (from 1 to k) of cluster centriod closest to x(i)&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;for k=1 to K&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 𝜇k = average of points assign to cluster k.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;suppose we have four cluster then&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;i&gt;𝜇k = (𝜇1 + 𝜇2 + 𝜇3 + 𝜇4)/4&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;If in any case that centriod don&#39;t have any points, we just eliminate that centriod.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Why use k - mean cluster ?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;k - mean clustering algorithm is one of the most popular algorithm for solving classification problem and it is also easy to implement as it use only two formulas euclidean distance and normal mean.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This algorithm is also used for solving non separated clusters problem.&lt;/div&gt;&lt;div&gt;suppose we have a large data set of height and width. our task is to separate small, ,medium and large size shirts from that data points. This problem can be solved with the help of&amp;nbsp; k - mean cluster algorithm.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So this is all about k - mean cluster algorithm.&lt;/div&gt;&lt;div&gt;If you have any query, just drop a comment.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Connect with our Data Science community -&lt;/div&gt;&lt;div&gt;www.instagram.com/datasciencewithkp27&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thank You.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/4067405151036018123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/03/k-mean-cluster-algorithm-classification.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/4067405151036018123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/4067405151036018123'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/03/k-mean-cluster-algorithm-classification.html' title='K - mean cluster algorithm | classification | machine learning  '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-742SOYbHCBA/Xne5LOg4dDI/AAAAAAAAM8g/RdEKyg22SK0GoFg8m8NfCiEuhQBeraSjQCLcBGAsYHQ/s72-c/20200323_004059-01%255B1%255D.jpeg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-2177164693778156873</id><published>2020-03-20T16:19:00.000+05:30</published><updated>2020-03-20T16:19:56.711+05:30</updated><title type='text'>Starting with Machine learning | Introduction | Post 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;In this series of articles, we are to going to have basic understanding of machine learning. We will start from introduction then we will move forward towards the types of machine learning. After then we will go in depth in every topic in easiest way.&lt;br /&gt;&lt;br /&gt;We will also discuss some tools for implementing the ideas behind concepts.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-UqINBR8TGXE/XnSbIPGu_hI/AAAAAAAAM6s/jYMhnbpSyq4tN7FdRb0ZwPIUiP3OAgDJgCLcBGAsYHQ/s1600/20200320_154004-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1200&quot; data-original-width=&quot;1600&quot; height=&quot;300&quot; src=&quot;https://1.bp.blogspot.com/-UqINBR8TGXE/XnSbIPGu_hI/AAAAAAAAM6s/jYMhnbpSyq4tN7FdRb0ZwPIUiP3OAgDJgCLcBGAsYHQ/s400/20200320_154004-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;WHAT IS MACHINE LEARNING ?&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In this time ,there are several terms that we hear in our daily life i.e; AI , ML, DEEP LEARNING and so on..&lt;br /&gt;Some person says that these terms are totally different but some where they are related to each other. Machine learning and deep learning is the subset of AI that is nothing but Artificial Intelligence.&lt;br /&gt;&lt;br /&gt;We involve with Machine Learning in our daily life . Let&#39;s take some examples..&amp;nbsp; Whenever we type or search something in google or bing then google or bing search engines use machine learning algorithms to rank up the websites.&lt;br /&gt;Whenever you see some tags (typically with square shape ) on you and your friends face in the pictures that save in phone or post on social media, it is also done by machine learning.&lt;br /&gt;There are number of activities in daily life like using google map, using any e commerce website,scrolling instagram or using Netflix and so on....we involve with machine learning.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-AkJrTrTgQjs/XnSbRAf2jHI/AAAAAAAAM64/e0ctBW4gYOQGdbTX2waAYOHyc2mvzHarACEwYBhgL/s1600/Screenshot_20200320-154353_Gallery-02%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;621&quot; data-original-width=&quot;720&quot; height=&quot;345&quot; src=&quot;https://1.bp.blogspot.com/-AkJrTrTgQjs/XnSbRAf2jHI/AAAAAAAAM64/e0ctBW4gYOQGdbTX2waAYOHyc2mvzHarACEwYBhgL/s400/Screenshot_20200320-154353_Gallery-02%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;It is the picture showing facial recognition of several persons, done by machine learning algorithm.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DEFINITION&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;According to Arthur Samuel(1959):&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&quot;Machine learning is the filed of study that gives computers the ability to learn without being explicitly programmed.&quot;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;According to Tom Mitchell(1998):&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&quot;Well-posed learning, A computer program is said to learn from experience E with respect to some task T and some performance measure P, if it&#39;s performance on T, as measured by P, improves with experience E.&quot;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;there are numbers of definition given by the different authors but above mentioned definition are well known and standard.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SOME OTHER EXAMPLES&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;have you ever wonder why amazon always show products that you frequently searched, how our email system automatically put some number of mails in side spam folder which are not very useful to us..how every person has different google feed inside their phones...&lt;br /&gt;&lt;br /&gt;Well it all are caused by MACHINE LEARNING algorithms.&lt;br /&gt;&lt;br /&gt;I hope that now you have basic understanding of what machine learning exactly is...&lt;br /&gt;&lt;br /&gt;Thank You.&lt;br /&gt;&lt;br /&gt;If you have any doubt, feel free to drop comment or connect-&lt;br /&gt;&lt;br /&gt;https:www.instagram.com/kavyansh.pandey&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/2177164693778156873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/03/starting-with-machine-learning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/2177164693778156873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/2177164693778156873'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/03/starting-with-machine-learning.html' title='Starting with Machine learning | Introduction | Post 1'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-UqINBR8TGXE/XnSbIPGu_hI/AAAAAAAAM6s/jYMhnbpSyq4tN7FdRb0ZwPIUiP3OAgDJgCLcBGAsYHQ/s72-c/20200320_154004-01%255B1%255D.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-5069041885095023782</id><published>2020-03-12T11:57:00.000+05:30</published><updated>2020-03-12T11:57:16.835+05:30</updated><title type='text'>Difference between DFA and NDFA | Automata | Theory of computation </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;What are DFA and NDFA ?&lt;br /&gt;&lt;div&gt;What are the major differences between DFA and NDFA?&lt;/div&gt;&lt;div&gt;Which one is more powerful?&lt;/div&gt;&lt;div&gt;Examples&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-6tcby1IeGrA/XmnUWQFxr_I/AAAAAAAAMwU/_45ZgYmEkjITyG-p0CaXK-MWiBBZSAVdACLcBGAsYHQ/s1600/20200312_114425-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1206&quot; data-original-width=&quot;1600&quot; height=&quot;482&quot; src=&quot;https://1.bp.blogspot.com/-6tcby1IeGrA/XmnUWQFxr_I/AAAAAAAAMwU/_45ZgYmEkjITyG-p0CaXK-MWiBBZSAVdACLcBGAsYHQ/s640/20200312_114425-01%255B1%255D.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;DFA is acronym of deterministic finite automata and it is subpart of finite automata.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Definition of DFA&lt;/b&gt;&lt;/div&gt;&lt;div&gt;A deterministic finite automata can be defined with the help of 5 tuples(signatures).&lt;/div&gt;&lt;div&gt;That are Σ ,δ, q0 ,Q , F.&lt;br /&gt;where&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; Σ = set of inputs / alphabets&lt;/div&gt;&lt;div&gt;&amp;nbsp; δ = transition function&amp;nbsp; ( Σ × Q = Q )&lt;/div&gt;&lt;div&gt;&amp;nbsp; q0 = initial state&amp;nbsp; Q = set of states&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; F = set of final states&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Definition of NDFA&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;A non deterministic finite automata can be defined with the help of following 5 tuples.&lt;br /&gt;i.e; Σ ,δ, q0 ,Q , F.&lt;br /&gt;where&lt;br /&gt;&amp;nbsp; Σ = set of inputs / alphabets&lt;br /&gt;&lt;div&gt;&amp;nbsp; δ = transition function&amp;nbsp; ( Σ × Q = 2^Q )&lt;br /&gt;&amp;nbsp; &lt;i&gt;&quot;here transition function is in the form subsets.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp; and 2^Q showing for single input symbol , there will be multiple output or states.&quot;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; q0 = initial state&lt;/div&gt;&lt;div&gt;&amp;nbsp; Q = set of states&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; F = set of final states&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Difference between DFA and NDFA&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;In DFA there is a single output state for a single input but in the case of NDFA there is multiple output for single input.&lt;/li&gt;&lt;li&gt;DFA is more complex to construct in the comparison of NDFA.&lt;/li&gt;&lt;li&gt;NDFA is more powerful in the comparison of DFA.&lt;/li&gt;&lt;li&gt;NDFA is less efficient in the comparison of DFA.&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Figures&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-j8VWS8757w0/XmnQ5_S1bmI/AAAAAAAAMwA/d8ehWLEYpu42L8RlToU6cSK6hP7lAXUdACLcBGAsYHQ/s1600/20200311_212608-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1200&quot; data-original-width=&quot;1600&quot; height=&quot;300&quot; src=&quot;https://1.bp.blogspot.com/-j8VWS8757w0/XmnQ5_S1bmI/AAAAAAAAMwA/d8ehWLEYpu42L8RlToU6cSK6hP7lAXUdACLcBGAsYHQ/s400/20200311_212608-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&amp;nbsp;In this figure, &lt;i&gt;q0&lt;/i&gt; is initial state and here &lt;i&gt;a &lt;/i&gt;and &lt;i&gt;b &lt;/i&gt;are inputs and qf is final state.&lt;br /&gt;so on &lt;i&gt;&#39;a&#39; &lt;/i&gt;inputs we have &lt;b&gt;single&lt;/b&gt; output state i.e; &lt;i&gt;qf&lt;/i&gt;.&lt;br /&gt;so this is DFA.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-EHSImLUFoCs/XmnRFOJUfPI/AAAAAAAAMwE/GQZR4ujVPrURFQCcMEI3SXkS-EE5I1S1wCLcBGAsYHQ/s1600/20200311_212615-01%255B1%255D.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1236&quot; data-original-width=&quot;1600&quot; height=&quot;308&quot; src=&quot;https://1.bp.blogspot.com/-EHSImLUFoCs/XmnRFOJUfPI/AAAAAAAAMwE/GQZR4ujVPrURFQCcMEI3SXkS-EE5I1S1wCLcBGAsYHQ/s400/20200311_212615-01%255B1%255D.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;In this figure,&amp;nbsp;&lt;i&gt;q0&lt;/i&gt;&amp;nbsp;is initial state and here&amp;nbsp;&lt;i&gt;a&amp;nbsp;&lt;/i&gt;is input and qf is final state.&lt;br /&gt;so on&amp;nbsp;&lt;i&gt;&#39;a&#39;&amp;nbsp;&lt;/i&gt;inputs we have &lt;b&gt;multiple&lt;/b&gt; output states i.e;&amp;nbsp;q0 and&amp;nbsp;&lt;i&gt;qf&lt;/i&gt;.&lt;br /&gt;so this is NDFA.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Both DFA and NDFA is the part of finite automata.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If have some doubts feel free to connect.&lt;br /&gt;https://www.instagram.com/kavyansh.pandey&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanking you.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/5069041885095023782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2020/03/difference-between-dfa-and-ndfa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/5069041885095023782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/5069041885095023782'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2020/03/difference-between-dfa-and-ndfa.html' title='Difference between DFA and NDFA | Automata | Theory of computation '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-6tcby1IeGrA/XmnUWQFxr_I/AAAAAAAAMwU/_45ZgYmEkjITyG-p0CaXK-MWiBBZSAVdACLcBGAsYHQ/s72-c/20200312_114425-01%255B1%255D.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-6742711314357136146</id><published>2019-10-21T15:05:00.000+05:30</published><updated>2019-10-21T15:11:09.294+05:30</updated><title type='text'>Knapsack &amp; Backtracking | Design &amp; Analysis of Algorithms | post 2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Some important applications of dynamic programming.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-MvipNn4pNw8/Xa17U6dnKYI/AAAAAAAAKL8/6sKnGNh_ox40S7rlWmnbBrw_vBrJXo1-QCLcBGAsYHQ/s1600/20191021_143249-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;759&quot; data-original-width=&quot;1600&quot; height=&quot;303&quot; src=&quot;https://1.bp.blogspot.com/-MvipNn4pNw8/Xa17U6dnKYI/AAAAAAAAKL8/6sKnGNh_ox40S7rlWmnbBrw_vBrJXo1-QCLcBGAsYHQ/s640/20191021_143249-01.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;0/1 knapsack problem-&lt;/h2&gt;&lt;div&gt;In this problem , knapsack is just like a bag and we have to fill items in this bag by making sure two things -&lt;/div&gt;&lt;div&gt;1) Value of the bag should be maximum.&lt;/div&gt;&lt;div&gt;2) Wight of the bag should be minimum.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&quot; In numerical problems, weight is given in numeric form so be sure that the weight of knapscak should not be exceeded from given Total weight. &quot;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Differences between knapsack and 0/1 knapsack problem is that we can split items in parts for the first one but we cant split item in 0/1 knapsack problem. 0 stands for item is not picked and 1 stands for item is picked inside the knapsack.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is a formula for putting item in knapsack with values -&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Max { ([i].value with given weight + j-n) , [i-1].value from knapsack table) }&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Where ,&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i = row number in knapsack table&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j = values in columns of knapsack table&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; n = number of backward steps to the&amp;nbsp; &amp;nbsp; &amp;nbsp; knapsack table( column wise)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Example&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Total weight = 7&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;Set of weights are given = { 1, 3, 4, 5 }&lt;/div&gt;&lt;div&gt;&amp;nbsp;Set of values respective wts = { 3, 4, 7, 9 }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;So you have to fill all the items in knapsack like that the weight should be minimum and the value of knapsack should be maximum.&lt;br /&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Backtracking -&lt;/h2&gt;&lt;/div&gt;&lt;div&gt;It is used to solve a problem in which a sequence of objects is chosen from a specified set so that sequence satisfy some criteria.&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;When is it used ?&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Difference choices are given and from these choices we have to select a decision.&lt;/div&gt;&lt;div&gt;2. When a sufficient information is not avialable on best choice.&lt;/div&gt;&lt;div&gt;3. Each decision leads to new set of choices.&lt;/div&gt;&lt;div&gt;4. Some sequences of choices may be the solution.&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;How is it performed ?&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Backtracking is a systematic method of trying out various sequences of decisions until you find out that works (solution).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;u&gt;&lt;i&gt;Block diagram (Backtracking) -&lt;/i&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-vFtB5QNxi5k/Xa14WsSHINI/AAAAAAAAKLw/Y86BtmbU9gcaaZrxw1rQp-wUc_YbfSkQQCLcBGAsYHQ/s1600/20191021_143205-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1287&quot; data-original-width=&quot;1600&quot; height=&quot;513&quot; src=&quot;https://1.bp.blogspot.com/-vFtB5QNxi5k/Xa14WsSHINI/AAAAAAAAKLw/Y86BtmbU9gcaaZrxw1rQp-wUc_YbfSkQQCLcBGAsYHQ/s640/20191021_143205-01.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There are two type of constraints in Backtracking.&lt;br /&gt;&lt;br /&gt;1. Implicit - means how each element in tuple should be related.&lt;br /&gt;&lt;br /&gt;2. Explicit - means rules which are restricted choosen from a given set.&lt;br /&gt;&lt;u&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/u&gt;&lt;u&gt;&lt;i&gt;Applications of Backtracking -&lt;/i&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;1. N queens problem&lt;br /&gt;2. Sum of subsets&lt;br /&gt;3. Graph colouring&lt;br /&gt;4. Hemiltonian problem&lt;br /&gt;&lt;br /&gt;These all applications are dictate in further posts.&lt;br /&gt;&lt;br /&gt;If have any queries, just drop a comment or feel free to connect at -&lt;br /&gt;https://www.instagram.com/kavyansh.pandey&lt;br /&gt;&lt;br /&gt;Thanking you.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/6742711314357136146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2019/10/knapsack-backtracking-design-analysis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/6742711314357136146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/6742711314357136146'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2019/10/knapsack-backtracking-design-analysis.html' title='Knapsack &amp; Backtracking | Design &amp; Analysis of Algorithms | post 2'/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-MvipNn4pNw8/Xa17U6dnKYI/AAAAAAAAKL8/6sKnGNh_ox40S7rlWmnbBrw_vBrJXo1-QCLcBGAsYHQ/s72-c/20191021_143249-01.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-3150097387178196631</id><published>2019-10-16T02:18:00.003+05:30</published><updated>2019-10-16T02:22:37.943+05:30</updated><title type='text'>Dynamic Programming | Design &amp; Analysis of Algorithms </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;In this post I&#39;m going to give you a brief description about what the Dyanmic programming actually is !!&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-hFnUBVNPZeE/XaYvIiKqPRI/AAAAAAAAKKs/zQsZKPOsOEwjRKBYgYhoUHDnULdMz4NfgCLcBGAsYHQ/s1600/20191016_020236-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;926&quot; data-original-width=&quot;1600&quot; height=&quot;230&quot; src=&quot;https://1.bp.blogspot.com/-hFnUBVNPZeE/XaYvIiKqPRI/AAAAAAAAKKs/zQsZKPOsOEwjRKBYgYhoUHDnULdMz4NfgCLcBGAsYHQ/s400/20191016_020236-01.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Dynamic programming is a strategy for designing of algorithms with attaining optimal solution. Don&#39;t confuse like this is a programming language like C , C++ etcetera.&lt;br /&gt;&lt;br /&gt;It is used in that place where problem breaks down into recurring small subproblems.&lt;br /&gt;&lt;br /&gt;Because In this technique, problem divides in many subproblems so there will be sequences of decisions (solutions) and with the help of these sequences, we get an optimal solution.&lt;br /&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Elements and characteristics of Dynamic programming&amp;nbsp;&lt;/h2&gt;&lt;div style=&quot;text-align: left;&quot;&gt;1. Simple subproblem - A problem breaks in small subproblems which have same structure ture as main problem.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;2. Optimal Sub structure problem - Optimal solution to the problem contain with inoptimal solution to its subproblems.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;3. Overlapping sub problem - Some times there are some cases for which we have to solve subproblems more than one time, this is called overlapping in subproblems.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Steps for Designing Dynamic Algorithms&amp;nbsp;&lt;/h2&gt;&lt;div style=&quot;text-align: left;&quot;&gt;1. Characterize optimal sub structure.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;2. Recursively defined the value of an optimal solution.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;3. Compute the value by using bottom up approach.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;4. Construct an Optimal solution (if needed).&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Block Diagram&lt;/h2&gt;&lt;div&gt;We can understand Dynamic Programming with the help of following diagram.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-SIxQtpYEmaI/XaYvMxEJtSI/AAAAAAAAKK4/hvv8QzWKOtUhXvMTfyWUFN2berOeCP3fQCEwYBhgL/s1600/20191016_015843-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1315&quot; data-original-width=&quot;1600&quot; height=&quot;523&quot; src=&quot;https://1.bp.blogspot.com/-SIxQtpYEmaI/XaYvMxEJtSI/AAAAAAAAKK4/hvv8QzWKOtUhXvMTfyWUFN2berOeCP3fQCEwYBhgL/s640/20191016_015843-01.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Problem breaks into many subproblems and evry subproblems have decision&#39;s (solutions) and have some value and we select the optimal (minimum) value.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Applications of Dynamic Programming&amp;nbsp;&lt;/h2&gt;&lt;div&gt;1. Matrix chain multiplication&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. Optimal binary search tree&lt;/div&gt;&lt;div&gt;3. All pairs shortest path problems&lt;/div&gt;&lt;div&gt;4. Travelling salesman problem&lt;/div&gt;&lt;div&gt;5. 0/1 knapsack problem&amp;nbsp;&lt;/div&gt;&lt;div&gt;6. Reliable designing problme&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We will cover all these applications in further posts.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanking you.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you have any query, just drop a comment or connect -&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;https://www.instagram.com/kavyansh.pandey&amp;nbsp;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/3150097387178196631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2019/10/dynamic-programming-design-analysis-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/3150097387178196631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/3150097387178196631'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2019/10/dynamic-programming-design-analysis-of.html' title='Dynamic Programming | Design &amp; Analysis of Algorithms '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-hFnUBVNPZeE/XaYvIiKqPRI/AAAAAAAAKKs/zQsZKPOsOEwjRKBYgYhoUHDnULdMz4NfgCLcBGAsYHQ/s72-c/20191016_020236-01.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-1976784254678275156</id><published>2019-09-27T03:56:00.001+05:30</published><updated>2019-09-27T04:01:10.631+05:30</updated><title type='text'>Topics and Algorithms in Data Science </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;In my previous posts, I’ve told about What is Data Science, different fields of Data Science like medical field, industrial field, education field is also involve in it as data is everywhere so we can say that “Data Science is in every place where data exist.”&lt;br /&gt;&lt;br /&gt;I have also told about different types of data that we deal in Data Science field like structured, unstructured, continuous, discrete. It is very convenient to deal with structured data (Data generally given in tabular format) but in case of unstructured data, it takes some efforts (because its may be video, audio or text or the combination of these).&lt;br /&gt;&lt;br /&gt;Take an example of a webpage as may be it contains image, texts, audio or video files etcetera. So from this data exploration of insights will be a quite complex task.&lt;br /&gt;These are some of things which I discussed on my previous posts.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-YtZxcEHbCK4/XY046KjowqI/AAAAAAAAJwA/YZyHqV-0dSEPSh8FA9rGqsguhaF4bQMcACLcBGAsYHQ/s1600/20190927_033917-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;434&quot; data-original-width=&quot;716&quot; height=&quot;385&quot; src=&quot;https://1.bp.blogspot.com/-YtZxcEHbCK4/XY046KjowqI/AAAAAAAAJwA/YZyHqV-0dSEPSh8FA9rGqsguhaF4bQMcACLcBGAsYHQ/s640/20190927_033917-01.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Now let’s take a look of Data Science topics and some of Algorithms.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Regression&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;It is one of the simplest topic of Data Science. It works on structured data. By knowing some past information, telling about the future insights or telling about the insights between any fraction.&lt;br /&gt;&lt;br /&gt;The value of one variable is depend upon another variable. And applying some algorithms we find the value of our desired (targeted) variable.&lt;br /&gt;&lt;br /&gt;Ex . suppose any person hire a cab and cost for every mile is 10. Here miles(distance) is independent variable and cost is dependent variable.&lt;br /&gt;&amp;nbsp;So&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cost = 5 x distance,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; with the help of this equation we can predict the value for different distances (In further post we will learn how to make a regression model using Data Science libraries and Python programming language:-)&lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;Data Visualization&lt;/u&gt;&lt;/b&gt;-&lt;br /&gt;&lt;br /&gt;It is the best way for understanding of insights . It is an art of representing data in the front of others with clarity and it is also easy to understand. It is the key element to telling the people what you really want to express them.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Besides this there are also so many topics like &lt;i&gt;neural networks, deep learning (advance version of neural networks) , machine learning including supervised, unsupervised and reinforcement, classification, clusters, recommendation and Algorithms&amp;nbsp; like KNN (nearest neighbour), SVM (support vector mechanism), Decision &lt;/i&gt;&lt;i&gt;tree&lt;/i&gt; and many more.&lt;br /&gt;&lt;br /&gt;These all mentioned topic will be surely cover in upcoming posts.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanking you.&lt;br /&gt;&lt;br /&gt;If have any query, feel free to connect -&lt;br /&gt;https://www.instagram.com/kavyansh.pandey&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/1976784254678275156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2019/09/topics-and-algorithms-in-data-science.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/1976784254678275156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/1976784254678275156'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2019/09/topics-and-algorithms-in-data-science.html' title='Topics and Algorithms in Data Science '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-YtZxcEHbCK4/XY046KjowqI/AAAAAAAAJwA/YZyHqV-0dSEPSh8FA9rGqsguhaF4bQMcACLcBGAsYHQ/s72-c/20190927_033917-01.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-3273999994829360485</id><published>2019-09-18T00:38:00.000+05:30</published><updated>2019-09-18T10:02:50.207+05:30</updated><title type='text'>Types of Data in Data Science </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;In my last post INTRODUCTION TO DATA SCIENCE, I used two terms for data that is structured data and unstructured data. In this post I&#39;ll give you the brief introduction about data generally we talked in Data Science.&lt;br /&gt;&lt;br /&gt;There are basically 4 types of data.&lt;br /&gt;1. Structured&lt;br /&gt;2. Unstructured&lt;br /&gt;3. Continuous&lt;br /&gt;4. Discrete&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-YSbxFnqCHU8/XYEutEYzMqI/AAAAAAAAJaw/0kwwA25RICUvO0JLsvMw0dqGrGNN2TOGwCLcBGAsYHQ/s1600/blog-securing-structured-data-bert-768x358.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;358&quot; data-original-width=&quot;768&quot; height=&quot;297&quot; src=&quot;https://1.bp.blogspot.com/-YSbxFnqCHU8/XYEutEYzMqI/AAAAAAAAJaw/0kwwA25RICUvO0JLsvMw0dqGrGNN2TOGwCLcBGAsYHQ/s640/blog-securing-structured-data-bert-768x358.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Structured Data&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The data which is given in well formed as you can easily access it and easily perform all algorithm(searching algorithm or anything else) is called structured data.&lt;br /&gt;We can say like that&lt;br /&gt;&quot;Structured data is just like a form of formatted repository just like a database so that its elements are more addressable for further procces or analysis.&quot;&lt;br /&gt;&lt;br /&gt;Example&lt;br /&gt;Name of person, age, number of books etc all data given in the form of rows and columns.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Unstructured Data&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;It is opposite of structured data as in case of unstructured data we can&#39;t perform any algorithms easily it will take some time and more complexity there...&lt;br /&gt;We can say like that&lt;br /&gt;&quot;Information that doesn&#39;t have predefine model or is not organized in pre-defined manner. Unstructured data typically text heavy, but may contain data such as dates , numbers and facts as well.&quot;&lt;br /&gt;&lt;br /&gt;Example&lt;br /&gt;Image, videos , mp3 files etc..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Continuous Data&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Data which have infinite number of possible values and when we plot of graph with these data there is not any separation or split between curve...&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-nrwvNCM0ris/XYExG6qzDLI/AAAAAAAAJbQ/xnEr3fFY1dMZA99jqbu_fr-A-jFj5BDGwCLcBGAsYHQ/s1600/20190918_004600.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;720&quot; height=&quot;201&quot; src=&quot;https://1.bp.blogspot.com/-nrwvNCM0ris/XYExG6qzDLI/AAAAAAAAJbQ/xnEr3fFY1dMZA99jqbu_fr-A-jFj5BDGwCLcBGAsYHQ/s400/20190918_004600.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Discrete Data&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Data which have finite number of possible values and during graph represent there is a space between curves or line...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-B3JspSsfd24/XYEyGAWFpFI/AAAAAAAAJbs/t23fYtVfwJIrBQe4bzCbsPfm5rRSufzqwCLcBGAsYHQ/s1600/20190918_004921.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;469&quot; data-original-width=&quot;720&quot; height=&quot;260&quot; src=&quot;https://1.bp.blogspot.com/-B3JspSsfd24/XYEyGAWFpFI/AAAAAAAAJbs/t23fYtVfwJIrBQe4bzCbsPfm5rRSufzqwCLcBGAsYHQ/s400/20190918_004921.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;With this I&#39;m concluding this post and I&#39;m trying my best to be consize and be clear what are these data and we have to interact with these data in Data Science field...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanking you.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If any query, feel free to connect&lt;br /&gt;https://www.instagram.com/kavyansh.pandey&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/3273999994829360485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2019/09/types-of-data-in-data-science.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/3273999994829360485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/3273999994829360485'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2019/09/types-of-data-in-data-science.html' title='Types of Data in Data Science '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-YSbxFnqCHU8/XYEutEYzMqI/AAAAAAAAJaw/0kwwA25RICUvO0JLsvMw0dqGrGNN2TOGwCLcBGAsYHQ/s72-c/blog-securing-structured-data-bert-768x358.jpg" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7844422598860271590.post-1051554342164433998</id><published>2019-09-11T01:35:00.000+05:30</published><updated>2019-09-11T18:50:13.004+05:30</updated><title type='text'>Introduction to Data Science </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;As we all know data is the thing which is very useful and important for any organization. And the amount of data is very large that no one can handle it manually....&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Initally in 90&#39;s there is also data but the amount of data is very less in the comparison of present. In past&amp;nbsp; we can handle data manually or we have some storage devices like card reader, magnetic tape etc where we can store data.&lt;br /&gt;&lt;br /&gt;And now in this era, the amount of data is very huge and we can store it in different places like different types of storage devices, cloud platforms...&lt;br /&gt;&lt;br /&gt;But the task is&amp;nbsp; how to use this data in convenient way ...how to use this data for future insights , how to do predictions on the behalf of this data etc, it&#39;s all come in Data Science.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-WinFcShe3As/XXf8UZ_Q0PI/AAAAAAAAJIc/rVN4kccffaI7uO0DJfMwPDvjJ3JQ_o25gCEwYBhgL/s1600/1_E1haIGB9K4K89PsFZgm-pw.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;550&quot; data-original-width=&quot;925&quot; height=&quot;380&quot; src=&quot;https://1.bp.blogspot.com/-WinFcShe3As/XXf8UZ_Q0PI/AAAAAAAAJIc/rVN4kccffaI7uO0DJfMwPDvjJ3JQ_o25gCEwYBhgL/s640/1_E1haIGB9K4K89PsFZgm-pw.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&amp;nbsp;There is not any standard definition of Data Science but in general we can define it as -&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&quot;It is the study of data for future insights &quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Data Science is a field about procceses and system to extract data from various form whether it is structured or unstructured.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&quot;Data Science involves data and some signs&quot;&lt;/div&gt;&lt;div&gt;&amp;nbsp;Data is real and it has some properties and we need to study them if we are going to work on them...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;DATA SCIENCE IS THE ART OF UNCOVERING THE INSIGHTS AND TRENDS WHICH ARE HIDDEN BEHIND DATA.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanking you....&lt;/div&gt;&lt;div&gt;If any query, feel free to connect at.&lt;br /&gt;https://www.instagram.com/kavyansh.pandey&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.allaboutdatascience.info/feeds/1051554342164433998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.allaboutdatascience.info/2019/09/introduction-to-data-science.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/1051554342164433998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7844422598860271590/posts/default/1051554342164433998'/><link rel='alternate' type='text/html' href='http://www.allaboutdatascience.info/2019/09/introduction-to-data-science.html' title='Introduction to Data Science '/><author><name>Kavyansh Pandey</name><uri>http://www.blogger.com/profile/10610665449586334053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//3.bp.blogspot.com/-spK8T1zjLSc/Xa9dsEmpRxI/AAAAAAAAKMg/1pd1SfpX648zCu-fsh0qIdE4baorwQ3igCK4BGAYYCw/s113/20190408_193201.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-WinFcShe3As/XXf8UZ_Q0PI/AAAAAAAAJIc/rVN4kccffaI7uO0DJfMwPDvjJ3JQ_o25gCEwYBhgL/s72-c/1_E1haIGB9K4K89PsFZgm-pw.jpeg" height="72" width="72"/><thr:total>1</thr:total></entry></feed>