<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sanchit Ghai on Medium]]></title>
        <description><![CDATA[Stories by Sanchit Ghai on Medium]]></description>
        <link>https://medium.com/@sanchitghai24?source=rss-471b2f877c3f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bSqLcgKDHt_2CAge</url>
            <title>Stories by Sanchit Ghai on Medium</title>
            <link>https://medium.com/@sanchitghai24?source=rss-471b2f877c3f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:20:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sanchitghai24/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Six Infinity Stones of Machine Learning]]></title>
            <link>https://medium.com/@sanchitghai24/six-infinity-stones-of-machine-learning-d5fe8e3c7195?source=rss-471b2f877c3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5fe8e3c7195</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Sanchit Ghai]]></dc:creator>
            <pubDate>Sun, 10 Feb 2019 08:17:33 GMT</pubDate>
            <atom:updated>2019-02-11T11:58:12.384Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tgWricK2MEk1yyBFyKaETw.png" /><figcaption>Six infinity Stones</figcaption></figure><p>All of you will be aware of Marvel’s Six infinity Stones, but do you know 6 Infinity Stones of Machine Learning which together can make any machine the most powerful one ? If no, go ahead !</p><p>In this article, I would like to present Machine Learning Elements through a different perspective. But before that , I would like to discuss on a couple of ‘Expert System’ applications .</p><p><strong>Resume Recommendation System:</strong></p><p>Imagine, you wanna pick the suitable resumes among thousand resumes that have flooded for an opening in your company. It is a time-consuming task to skim through each resume. How can a resume recommendation system help here? It will start looking for the apt keywords those pertain to the skills required for the posted job and filters out the right set of resumes.</p><p>Let’s say we want to see if a person has minimum required years of experience (in this case ,it is 3), whether the person changes a company frequently or not, whether the person is within the organisation’s budget, or if the person is available to join within a month and so on. Considering the things mentioned above , we’ll take some decisions and will hard code an expert system .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*KMge0j2TOj_Z5NuFJJuA5g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*LlqP4WogB0qAT0gduTUqAA.jpeg" /><figcaption>For a given set of data, we generate some set of rules manually to shortlist the resume.</figcaption></figure><p><strong>E-mail classification system:</strong></p><p>Now let’s say we want to design a system that can detect whether a mail is a SPAM or HAM. The features of a mail can be in millions that will keep changing. So, writing an expert system and detecting the patterns will be a mess. Apart from that, updating the system will obviously be ‘out-of-question’.</p><p>Now, let me come to the point. The building blocks of these expert systems are the ‘Infinity stones’ of the Machine learning. It is pretty difficult to build an expert system without these blocks. To avoid the pain-staking job of hard-coding, it is imperative that machine learning should be incorporated ! You can get the Expert System code as output, once you feed in the data and your work will be done for you. No more hard manual coding, no more pain. 😍</p><h3>Six Infinity Stones of Machine Learning</h3><p>Now, talking about machine learning, let’s first try to understand the elements of machine learning ; this will help you building your expert system in just a snap of the fingers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*6WyvxJ4T3XsJkd-uFsVe3A.jpeg" /></figure><ol><li><strong>DATA</strong></li></ol><p>21st century has produced a lot of internet-savvy folks; needless to say, you have a lot of data for crunching, munging and playing around. Web is the most abundant place for getting data, for example <em>Medium, Zomato, Reddit, Quora</em> etc have a lot of <strong><em>Text Data</em></strong>, <em>Google Images, Instagram, Shutterstock</em> etc have a lot of <strong><em>Image Data, </em></strong><em>Youtube, Netflix, Amazon Prime</em> etc have <strong><em>Video Data</em></strong> <em>, Gaana, JioSaavan, Spotify</em> etc have a lot of <strong><em>Audio Data.</em></strong></p><p>All you need to do is collect some data through scrapping (BY ETHICAL MEANS ! 😜)and start working on it. So, “USE THE DATA”.</p><p>Some common places to collect open data are Kaggle, Google AI, UCI ML Repository, data.gov.in</p><p>Else you cook your own data.</p><p>2. <strong>TASK</strong></p><p>Once you get the data, start exploring the data. For example, let’s take a video page from Youtube as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*VqkOfdwllwOBo9Bce1SosQ.jpeg" /></figure><p>Now, we need to define the tasks we can do using machine learning. In this case, can I see the whole video and generate the description file(as shown in the middle) automatically ? Or with just the audio file of this video , can I add subtitles to it in real-time without making them manually ? Or taking the genre of this video , can I suggest similar videos to the user (just like the thing done on the right most side) Or can I do sentimental analysis by collecting the comments on the video and see the response(s).</p><p>3. <strong>MODEL</strong></p><p>Now, after we have the data and we know what we want to do with our data i.e. the task, we now have to see which machine learning model to use for the task. By model, I mean how do you want to approximate your output function such that it overlaps the actual output function as much as possible.</p><p>For example, we have a sine function which is f(x) in the case below, the function to be approximated. And we approximate it by some function F(x), which will be decided by the model we choose. So, in this case , we choose a model which gives us the best approximation for a sine wave.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*ezHKNUB-ZdEmAFouFYUQKw.jpeg" /><figcaption>Approximating the function using a model.</figcaption></figure><p>4. <strong>LOSS FUNCTION</strong></p><p>After getting the data, defining the task and selecting the model to perform the task, we need to select a loss function. Loss function is the fulcrum of our model ; our goal is to minimize the LOSS.</p><p>For example, in regression ,our loss function is the sum of the square of “actual minus predicted” values. The equation is given below. In this case, we want to minimize the loss function( L(Φ) ) and that will be the aim for to work on , as stated previously.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*ATgPSGucVriAo_aPtyFBOg.jpeg" /><figcaption>Sum Square Loss Function</figcaption></figure><p>Some common Loss Functions are Sum Error Loss, Cross Entropy etc.</p><p>5. <strong>LEARNING ALGORITHM</strong></p><p>Now, after we have the above 4 things, we need to choose a learning algorithm which can make the model to learn the parameters as accurate as possible.</p><p>Let’s say we have an output function like “a<em>x</em>³ + b<em>x</em>² + c<em>x + d” </em>which can approximate well to the actual function<em> 1.45x³ + 2.98x</em>² + 5<em>x + 10. </em>How will our model learn these parameters ?</p><p>It will learn using learning algorithm which will learn these parameters i.e. a,b,c,d from the training data and minimize the loss function, which in turn will give us the best fit parameters for our function.</p><p>Some common Learning Algorithms are Gradient Descent, Adagrad, RMSprop etc.</p><p>6. <strong>EVALUATION</strong></p><p>Now after having the above 5 things, the path to last infinity stone is selecting the Evaluation function. Don’t get confused between the loss function and Evaluation function.</p><p>Loss Function is the function which needs to be optimized in the best way by our model and Evaluation function will tell us how well our approximation function has fit to the unseen data after training.</p><p>Some common Evaluation Functions are</p><ul><li><strong><em>Accuracy</em></strong> (Right Predictions / Total No. of Predictions)</li><li><strong><em>Precision</em></strong> (Right Prediction / (Right Prediction + Wrongly said Right Predictions))</li><li><strong><em>Recall</em></strong> (Right Prediction / (Right Prediction + Wrongly said wrong Predictions))</li></ul><h3>Conclusion</h3><p>After reading this whole article, you should be knowing about the 6 Elements of machine learning which are most powerful when combined. I hope it will be easy for you to collect the data and choose these infinity stones from now and after that you just have to snap your fingers to get started ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5fe8e3c7195" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI : A Bombastic Jargon]]></title>
            <link>https://medium.datadriveninvestor.com/ai-a-bombastic-jargon-1211f519fe85?source=rss-471b2f877c3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1211f519fe85</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Sanchit Ghai]]></dc:creator>
            <pubDate>Thu, 17 Jan 2019 16:32:12 GMT</pubDate>
            <atom:updated>2019-02-01T03:21:14.053Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="http://www.track.datadriveninvestor.com/1B9E"><img alt="" src="https://cdn-images-1.medium.com/max/700/0*McssR8tiwSC0bQW8" /></a></figure><h3>AI : A Bombastic Jargon</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_5B2D7L8JHPnz8eZOtxWdw.jpeg" /><figcaption>Jargon Bubble — Image Credits : Mitesh M. Khapra, Pratyush Kumar, One Fourth Labs (<a href="https://slides.com/ofl/jargon-busting-two-of-two#/0/1">https://slides.com/ofl/jargon-busting-two-of-two#/0/1</a>)</figcaption></figure><p>A newbie fascinated with data analytics comes with the aspiration of exploring this field. Sadly, a lot of unwelcoming, cold and confusing jargons scare and shoe him away. I would always recommend you not be carried away by the fancy terms that people use, instead, go by the saying, “<strong><em>Jargon allows us to camouflage intellectual poverty with verbal extravagance</em></strong>”</p><p>Now, before starting I would like to acknowledge <em>Deep Learning Course</em> by <em>One Fourth labs</em>. You can find the details on their site — <a href="https://padhai.onefourthlabs.in/">https://padhai.onefourthlabs.in/</a></p><p>By the end of this article, you’ll be able to classify things happening around in a better fashion as “Artificial Intelligence”, “Machine Learning”, “Deep Learning”, “Deep Reinforcement Learning”, “Computer Vision”, “Data Science”, “Pattern Recognition” and so on.</p><p>So, what do these special terms mean? I have tried to explain them in simple terms rather than giving you conventional bookish definitions.</p><p><strong>Artificial Intelligence (AI)</strong></p><p>Sometimes called Machine Intelligence. There is God in the man and man in the machine. It is the intelligence demonstrated by machines, in contrast to the natural intelligence displayed by the humans.</p><p><strong>Machine Learning</strong></p><p>Field of computer science that uses statistical techniques to give computer systems the ability to “learn” with data without being explicitly programmed.</p><p><strong>Data Science</strong></p><p>An interdisciplinary field that uses scientific methods, processes, algorithms, and systems to extract knowledge and insights from the data in various forms, both structured(tables) and unstructured (images, videos).</p><p><strong>Pattern Recognition</strong></p><p>It is the automated recognition of patterns and regularities in the data.</p><p><strong>Computer Vision</strong></p><p>It is an interdisciplinary field that deals with how computers can be made to gain a high-level understanding from digital images or videos and automate the tasks that the human visual system can do.</p><p><strong>Deep Learning</strong></p><p>It is an emerging area of Machine Learning research, which has been introduced with the objective of moving Machine Learning closer to one of its original goals: Artificial Intelligence.</p><p>Now after reading so many definitions are you clear with the meaning? Or still confused?</p><p>Talking about me, I am confused!</p><p>- Doesn’t AI involve statistical techniques, data, learning?</p><p>- Is it just called AI only if it is explicitly programmed?</p><p>- Is AI/ML not interdisciplinary, or don’t they deal with structured data, or scientific methods?</p><p>- Isn’t recognition of Patterns similar to “Intelligence”, “insights from data”, “learn from data”?</p><p><strong>Bursting the jargon bubbles</strong></p><p>Let’s solve this problem with an alternative approach and split everything into 3 categories</p><p>- Abilities</p><p>- Task</p><p>- Methods</p><p><strong>Abilities:</strong></p><ul><li>Seeing (Computer Vision)</li><li>Speaking and Hearing (Speech)</li><li>Reading and Writing (Natural Language Processing)</li><li>Making Decisions (Reinforcement Learning)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*24Du4EhXhylGLD5wGx6SwA.jpeg" /><figcaption>Abilities — image Credit : Mitesh M. Khapra, Pratyush Kumar, One Fourth Labs (<a href="https://slides.com/ofl/jargon-busting-two-of-two#/0/11">https://slides.com/ofl/jargon-busting-two-of-two#/0/11</a>)</figcaption></figure><p><strong>Tasks:</strong></p><ol><li>Computer Vision</li></ol><ul><li>Classifying two or more animals using their demographics.</li><li>Recognizing handwritten digits.</li><li>Detecting an object in an image like coffee, phone, glasses etc.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TbXKa-7PvOCTWrOaK233MA.jpeg" /><figcaption>Tasks Done Using Computer Vision</figcaption></figure><p>2. Speech:</p><ul><li>Retrieving the information by voice-recognition.</li><li>Converting this article to speech.</li><li>Hearing two different people speaking and able to distinguish between the voices</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8wTGqbbW0mCP2T88qYmXqg.jpeg" /><figcaption>Tasks Done Using Speech</figcaption></figure><p>3. Natural Processing Language</p><ul><li>Classifying a spam or ham email.</li><li>Translating something written from Hindi to English or vice-versa.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*tKgq0SHpLZuW-Kg-uDxvNg.jpeg" /><figcaption>Tasks Done Using Natural Language Processing(NLP)</figcaption></figure><p>4. Reinforcement Learning</p><ul><li>The most common example we know is “Autonomous Driving”.</li><li>Alpha GO.</li><li>Teaching a robot to lift things according to its weight.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uZhvRo2KypjrVGO6nP_S5w.jpeg" /><figcaption>Tasks Done Using Reinforcement Learning</figcaption></figure><p><strong>Methods</strong></p><p>All of the above tasks can be solved with Expert Systems, Logistic Regression, SVM, Graph Methods, Recurrent Neural Networks (RNN), Convolutional Neural Networks(CNN) and many more.</p><p><strong>So What is AI?</strong></p><p>AI encompasses all these stuffs i.e. abilities, tasks, methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SuupspUqCRgfbKMCweGB7g.jpeg" /><figcaption>AI Map — Image Credit : Mitesh M. Khapra, Pratyush Kumar, One Fourth Labs (<a href="https://slides.com/ofl/jargon-busting-two-of-two#/0/11">https://slides.com/ofl/jargon-busting-two-of-two#/0/11</a>)</figcaption></figure><p><strong>Taking a deeper dive into Machine Learning</strong></p><p>When I give the following data to the model and get an Expert System program in return, as the machine itself creates some logic and rules to arrive at this conclusion. This is an example of Supervised Learning. Most of the Machine Learning comprises of Supervised Learning only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*CI5u-t4UUffQbx1q4vtj6A.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*AJQYRgGD0Fy7_0EXlDaz6w.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*MdWK1cNhreV1zDogXAJ-qw.jpeg" /><figcaption>Machine takes the Labeled Input Data and generates an Expert System Program — Image Credits : Mitesh M. Khapra, Pratyush Kumar, One Fourth Labs (<a href="https://slides.com/ofl/jargon-busting-two-of-two#/0/11">https://slides.com/ofl/jargon-busting-two-of-two#/0/1</a>2)</figcaption></figure><p><strong>Most AI Tasks Require Pattern Recognition</strong></p><p>How is Pattern Recognition different?</p><p>The field of Pattern Recognition is concerned with the automatic discovery of regularities in data using computer algorithm and these regularities take actions such as <strong>Classification, Regression, Clustering etc.</strong></p><p><strong>Is Image Processing different from Computer Vision?</strong></p><p>There is a small difference between Computer Vision and Image Processing. Computer Vision uses a processed input image as it’s input. For example, if the input image is of irregular sizes to the model and the CV model only takes input size of 128x128 images, then the images have to be resized and then they have to be sent to the model.</p><p>Doing that transformation is called Image Processing.</p><p><strong>What is Data Science?</strong></p><p>What if I give you data and after plotting it looks like the following bar plot, and ask you to tell me the amount of people going to come by next year i.e. 2020?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*8iwUjduP1zyNWFD8ICG-nw.jpeg" /><figcaption>Predictive Analytics being done using Descriptive Analytics</figcaption></figure><p>So, I would prefer using the term <strong>Data Science</strong> when we are dealing with numerical data alone ( like database tables, Sales, Customers, Revenue etc.).</p><p><strong>Conclusion:</strong></p><p>So, here comes the end of the article. I expect you to be clear with the terms AI, ML, PR etc. and use the terms appropriately.</p><p><strong>References</strong></p><p>I would like to refer to One Fourth Labs Lecture on Youtube named “Jargon Busting”.</p><p>To see the video you can go here <a href="https://www.youtube.com/watch?v=OMGt-jcMlCs">https://www.youtube.com/watch?v=OMGt-jcMlCs</a> .</p><h4>Related Stories from DDI:</h4><ul><li><a href="https://medium.com/datadriveninvestor/which-is-more-promising-data-science-or-software-engineering-7e425e9ec4f4">Which is More Promising: Data Science or Software Engineering?</a></li><li><a href="https://medium.com/datadriveninvestor/deep-learning-explained-in-7-steps-9ae09471721a">Deep Learning Explained in 7 Steps</a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fb2a0d6%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2Fb2a0d6%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/0707f5c806284d01a4a13c7b13a91ce3/href">https://medium.com/media/0707f5c806284d01a4a13c7b13a91ce3/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1211f519fe85" width="1" height="1" alt=""><hr><p><a href="https://medium.datadriveninvestor.com/ai-a-bombastic-jargon-1211f519fe85">AI : A Bombastic Jargon</a> was originally published in <a href="https://medium.datadriveninvestor.com/">DataDrivenInvestor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>