<?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 Surya Govind on Medium]]></title>
        <description><![CDATA[Stories by Surya Govind on Medium]]></description>
        <link>https://medium.com/@surya.cse.ind?source=rss-3dc95f829b19------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*dmB0AmodtffWwlmRKjpd6g.jpeg</url>
            <title>Stories by Surya Govind on Medium</title>
            <link>https://medium.com/@surya.cse.ind?source=rss-3dc95f829b19------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:53:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@surya.cse.ind/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[Collecting Data for a Machine Learning Project — 5 Things to Keep in Mind]]></title>
            <link>https://medium.com/@surya.cse.ind/collecting-data-for-a-machine-learning-project-5-things-to-keep-in-mind-b7f7fe3292a5?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7f7fe3292a5</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Tue, 26 May 2020 05:38:25 GMT</pubDate>
            <atom:updated>2020-05-26T05:38:25.550Z</atom:updated>
            <content:encoded><![CDATA[<h4>Machine Learning</h4><h3>Collecting Data for a Machine Learning Project — 5 Things to Keep in Mind</h3><h4>Necessary steps one should follow while collecting data for a machine learning project.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1LODTVeNPOCJdsgG" /><figcaption>Photo by <a href="https://unsplash.com/@arianismmm?utm_source=medium&amp;utm_medium=referral">Arian Darvishi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>“Data is the new oil”</h4><ul><li>Data Collection is the process of gathering and measuring information from different sources.</li><li>Data is the core of nearly every business decision made. <br>predictive models are only as good as the data from which they are built, so good Data Collection practices are crucial to developing the high-performing models.</li><li>The data need to be error-free (garbage in garbage out) and contain relevant information for the task at hand.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*s5M9Uj7qi2ZQ5iduItjugQ.png" /><figcaption>Source:<a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fvelivada.com%2F2017%2F04%2F25%2Fdata-new-oil-reliance-and-bjprss-efforts-to-monopolize-data%2F&amp;psig=AOvVaw0tXrHtKzTqRWkR7iuLw5Xj&amp;ust=1589691381512000&amp;source=images&amp;cd=vfe&amp;ved=0CA0QjhxqFwoTCOjzjI7Mt-kCFQAAAAAdAAAAABAJ"> Velivada.com</a></figcaption></figure><h4>1. Identify what you want</h4><ul><li>It’s a good exercise to start brainstorming a list of potential features that may be useful for a given ML task disregarding feasibility or cost.</li><li>Once you have a list of potential features that could help with the prediction task you can prioritize by availability (do those data exist ?) accessibility (do you have the rights and consent needed?) and cost (how costly is it to collect those data?).</li></ul><h4>2. Data access</h4><ul><li>First thing is to search on free and publicly available resources like Kaggle, Reddit, Google dataset search engine using machine learning repository.</li><li>The second way is to extract data from the web by using either target website API (if it provides) or by using any scraping tools like (scrapy).</li><li>If you want to use IoT data then you can simply collect your data from the sensors.</li></ul><h4>3. Data size</h4><ul><li>In most cases, more data helps to build better models.</li><li>In some cases, more data will not help (diminishing points).</li><li>If little or no data available transfer learning may help you.</li><li>Acquiring labeled data may costs money sometimes but this depends on you how much money and time you willing to spend.</li></ul><h4>4. Data quality</h4><ul><li>Check your data is not biased, always try to collect data from all perspectives.</li><li>check whether your scrapper is collecting good data or not, (if it is collecting noise them stop it immediately and rectify it).</li><li>In addition, if there are concerns about the quality of your training data, this is a Red flag that you should raise your PRD. this potentially reduces the quality of your ML model and increases the execution risk.</li></ul><h4>5. Privacy and security</h4><ul><li>How securely you will store the collected data?</li><li>Do you have permission to collect or use the data?</li><li>how you are protecting or training the personal data of your users.</li></ul><blockquote>I hope, you find it useful, Keep learning.</blockquote><p><strong>Happy Learning Fam!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7f7fe3292a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oh Hello! NLP Project Ideas for Beginners]]></title>
            <link>https://pub.towardsai.net/oh-hello-nlp-project-ideas-for-beginners-eec5c0061d5a?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/eec5c0061d5a</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Thu, 27 Feb 2020 15:06:54 GMT</pubDate>
            <atom:updated>2020-02-27T15:06:54.899Z</atom:updated>
            <content:encoded><![CDATA[<h4>The most popular NLP project ideas that a beginner must look for</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IYXGo5vPNSl6cRLi" /><figcaption>Photo by <a href="https://unsplash.com/@youxventures?utm_source=medium&amp;utm_medium=referral">You X Ventures</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>1. Text classification:</h4><p>Also known as text tagging or <strong>text categorization</strong> is the process of assigning tags or categories to text data based upon its content. With the help of NLP fundamentals, text classifiers can automatically analyze text data and then assign a set of pre-defined tags or categories. Example- C<strong>lassify emails, if it is spam or not based upon its content.</strong></p><h4>2. Sentiment analysis:</h4><p>One of the most widely known and implemented uses of Natural Language Processing, Sentiment analysis is a computational process for <strong>detecting the emotions/sentiment expressed in text data of different individuals.</strong> Sentiment analysis helps find sentiments of social media tweets, hotels, and movie reviews.</p><h4>3. Chatbots:</h4><p>It is a software that mimics conversational attributes of a human being’s auditory i.e., voice or textual methods. They are generally built to simulate human presence in conversations. These Chatbots are frequently encountered on various websites, apps, and even some <strong>voice assistants like Alexa Google voice assistant for kind of chatbots only.</strong></p><h4>4. speech recognition</h4><p>Speech recognition is an interdisciplinary field of <strong>computational linguistics</strong> and the methodologies and technologies that enables the recognition and translation of<strong> spoken language into text by computers</strong>.</p><h4>5. Document summarisation</h4><p>It is the process of <strong>creating a concise summary of data computationally. </strong>The aim of the summarization is to include the most important and relevant information of the text data. In addition to that, text, images, and videos can also be summarised.</p><h4>6. Automatic text generation</h4><p>So this is a way of predicting upcoming <strong>text in sentences</strong> with the help of Natural Language Processing techniques and different learning techniques available in artificial intelligence. Some well-known examples are the <strong>autocompleting feature of Gmail, Google search engine, mobile keypad, etc.</strong></p><h4>7. Question answering</h4><p>Question answering implementation is usually a computer program, may construct its answers by creating a structured database of knowledge or information, usually a knowledge base. The advanced form of question answering system can pull answers from an unstructured collection of natural language documents. The system can also learn from queries passed by users.</p><h4>8. Subjectivity production</h4><p>In this production method, we can predict the subjective offense of users. Generally, the ratings provided by users are a form of subjective opinion. Using various Natural Language Processing techniques, we can predict subjective opinions based on other’s opinions.</p><h4>9. Data visualization</h4><p>Data visualization is a graphical representation of data. It involves creating a powerful visualization that communicates relationships among the data to the user. For example, in NLP, the most popular form of data visualization is word clouds.</p><blockquote>I hope you find it helpful, keep learning keep moving ahead.</blockquote><p><strong>Happy NLP learning!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eec5c0061d5a" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/oh-hello-nlp-project-ideas-for-beginners-eec5c0061d5a">Oh Hello! NLP Project Ideas for Beginners</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science: A Simple Path for Beginners]]></title>
            <link>https://pub.towardsai.net/data-science-a-simple-path-for-beginners-c5effd342f85?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5effd342f85</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Sun, 02 Feb 2020 15:00:38 GMT</pubDate>
            <atom:updated>2020-02-02T15:00:38.840Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to start? Learn all you need in one year</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rIJXtat0JLC0GkfX" /><figcaption>Photo by <a href="https://unsplash.com/@austindistel?utm_source=medium&amp;utm_medium=referral">Austin Distel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>First, <a href="https://en.wikipedia.org/wiki/Data_science">What is Data Science</a>:</h4><p><strong>Data science</strong> is an interdisciplinary field that uses scientific methods, processes, algorithms, and systems to extract knowledge and insights from structured and unstructured data. Data science is related to data mining and big data.</p><p>Data science is a “concept to unify <strong>statistics</strong>, <strong>data analysis</strong>, <strong>machine learning,</strong> and their related methods” to “understand and analyze actual phenomena” with data. It employs techniques and theories drawn from many fields within the context of mathematics, statistics, computer science, and information science.</p><blockquote>All the mentioned courses depend on your choice if you have a better way to learn, definitely go for that too.</blockquote><h4>Month 1: Getting started</h4><ol><li>find out what is data science.</li><li>Find out about the skills needed for data science.</li><li>Attend meetups and workshops.</li><li>Talk to experienced data scientists.</li></ol><h4>Month 2 + 3: Basics of maths</h4><ol><li>Udacity course: Descriptive Statistics.</li><li>EDX course: The Science of Uncertainty, Introduction to Probability.</li><li>Khan Academy: Linear Algebra.</li><li>Udacity course: Inferential Integrity.</li></ol><h4>month 4 + 5: Learn Python</h4><ol><li>Learn Python with free online resources.</li><li>Datacamp course: Introduction to Python for data science.</li><li>Read about feature selection.</li><li>Coursera course: Exploratory data analysis.</li></ol><h4>Month 6 + 8: ML tools</h4><ol><li>Coursera course: Machine learning.</li><li>Coursera course: Machine learning classification.</li><li>Udacity course: Introduction to machine learning.</li><li>Find more books about machine learning.</li></ol><h4>Month 9 + 10: Build your profile</h4><ol><li>Create your GitHub profile.</li><li>Practice at competitions on Kaggle analytics Vidhya data hack.</li><li>Participate in discussions on the Kaggle forum.</li></ol><h4>Month 11 + 12: Apply and practice</h4><ol><li>Identify the right job at the right company.</li><li>Apply for internships for jobs.</li><li>Keep practicing with Kaggle analytics Vidhya data hack.</li><li>Don’t give up.</li></ol><p>The most important task: practice, practice, and practice.</p><blockquote>Just keep in mind, Nothing comes to you as it already belongs to you. It’s your hard work and discipline that make it yours.</blockquote><p>I hope you will get success.</p><p>Happy Data Science Learning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5effd342f85" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/data-science-a-simple-path-for-beginners-c5effd342f85">Data Science: A Simple Path for Beginners</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When Amazon’s AI Only Recruited Men and Discriminated Women]]></title>
            <link>https://pub.towardsai.net/when-amazons-ai-only-recruited-men-and-discriminated-women-fa0120a88e1c?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa0120a88e1c</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Fri, 31 Jan 2020 14:36:03 GMT</pubDate>
            <atom:updated>2020-01-31T14:36:03.427Z</atom:updated>
            <content:encoded><![CDATA[<h4>An AI Failure Case Study on Amazon</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/0*qns6NDMs3LDjDXzl.jpg" /></figure><h4>Use Cases:</h4><p>In 2014, Amazon decided to build a machine learning model into its recruitment system, which could evaluate hundreds and thousands of applicants and spit out the best profiles for recruitment. As you know, there was more male applicant at that time for the position of a software engineer and Technical positions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*hwx2SkLTT_Da1W-OazVDnw.png" /><figcaption>The image source is <a href="https://www.google.com/url?sa=i&amp;source=imgres&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwju9rX44qbnAhVQxTgGHX85CmUQjhx6BAgBEAI&amp;url=https%3A%2F%2Fgalusaustralis.com%2F2019%2F12%2F263652%2Ffuture-innovative-report-on-ai-recruitment-market-analysis-opportunities-and-future-prospects-2026-major-players-sap-se-zoho-corporation-google-llc-ibm-corporation-oracle-corporation-automatic-d%2F&amp;psig=AOvVaw2zGPvtiQ6v1os6PB6YzXxU&amp;ust=1580317324860577">here</a>.</figcaption></figure><p>This project was to be used for internal purposes only. I can not say if Amazon was too confident or not, but they were very sure to get the best candidates while using this system.</p><h4>The machine learning model:</h4><p>Data scientists in Amazon collected all the 10 to 15 years of old job applications the company had received pbefore2014. Job applications can be from freshers or experienced persons. Finally, they have all types of applications to put on for training purposes, but would it be enough for the future also. The situation was still in doubt, and I don’t know if they have thought about it or not. Usually, the machine learning model works on what we taught to it i.e., how we train it.<br>They used this data to train the machine learning model and integrated it with the Amazon recruitment system. Combined with the Amazon recruitment system, this machine learning model will work as a moderator to separate the lower reference applications from the best-suited job applications.</p><h4>The failure:</h4><p>By 2015, the data scientist started seeing a <strong>glaring problem</strong>. It turned out that for the role of Technical and software jobs in the model was showing preferential bias towards male applicants and giving low ratings to female applicants.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*cZhasOtycdA-SG-Q9WiIYg.png" /><figcaption>The image source is <a href="https://www.google.com/url?sa=i&amp;source=imgres&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwj8lt2m4qbnAhUEyTgGHbFID7kQjhx6BAgBEAI&amp;url=https%3A%2F%2Fwww.theladders.com%2Fcareer-advice%2Famazon-reportedly-scraps-ai-recruiting-tool-biased-against-women&amp;psig=AOvVaw0JaI2OQu-GPtrqpbHajwOI&amp;ust=1580317153661822">here</a>.</figcaption></figure><p>The model was quickly discarded from the recruitment system. The integration of the machine learning model was only failed when it comes to preferring a male over female, although it was a bit late because this model discarded many female applicants.</p><h4>The reason for failure:</h4><p>Data scientists had used 10 to 15 years of data of job applications when women’s presence in software technical jobs used to be very less compared to current times. I think they need to train the machine learning model every year with the latest job application data.<br>So, the machine learning model learned incorrect correlation that men are better for technical jobs than women. And yes! Any incorrect information provided to the model will output as a bad model prediction.</p><h4>Lessons to learn here:</h4><p>Data Collection is the most important step while creating machine learning models. Incorrect data will lead to an incorrect model only. <br>The data scientist should have Social awareness when collecting and processing data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*iUL0TfG4e-GVmBOkeThOig.png" /><figcaption>The image source is <a href="https://www.google.com/url?sa=i&amp;source=imgres&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwj-jb6n5KbnAhUCVysKHZQECkAQjhx6BAgBEAI&amp;url=https%3A%2F%2Fwww.b3india.com%2Frecruitment-artificial-intelligence%2F&amp;psig=AOvVaw2VWYFkvqjcMD2dqufsZSvx&amp;ust=1580317332298988">here</a>.</figcaption></figure><p>Otherwise, the social buyers that will be passed on to ML models are not dealt with carefully. The contribution of men and women should be kept Equal while training the model. Every day, the type of data changes, and the requirement also changes parallelly. Updating the model with the latest data is very necessary for a machine learning model, older data will always give you the wrong predictions as per the latest trends. Train with the latest data and get awesome results, it’s simple.</p><blockquote>I hope, you get to know something with this simple case study. I have tried to make it very simple to understand, so enjoy it.</blockquote><p>Happy AI Learning!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa0120a88e1c" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/when-amazons-ai-only-recruited-men-and-discriminated-women-fa0120a88e1c">When Amazon’s AI Only Recruited Men and Discriminated Women</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Types of Malware. (3rd-degree torture for computers)]]></title>
            <link>https://medium.com/swlh/types-of-malware-3rd-degree-torture-for-computers-e4dc099582a?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4dc099582a</guid>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Wed, 29 Jan 2020 16:08:13 GMT</pubDate>
            <atom:updated>2020-01-30T14:33:12.787Z</atom:updated>
            <content:encoded><![CDATA[<h4>Some known but mostly unknown malware a social media &amp; internet user should know.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-DFHBFQrS22wx0G-" /><figcaption>Photo by <a href="https://unsplash.com/@jackson_893?utm_source=medium&amp;utm_medium=referral">Michael Geiger</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>Do you love your privacy? I know you do. Go through these malware types and save your buddy ( Computer ) from these aliens.</blockquote><h4>Introduction: What is Malware?</h4><p><strong>Malware</strong> (a <a href="https://en.wikipedia.org/wiki/Portmanteau">portmanteau</a> for <strong>malicious software</strong>) is any <a href="https://en.wikipedia.org/wiki/Software">software</a> intentionally designed to cause damage to a computer, server, client, or computer network (by contrast, software that causes <em>unintentional</em> harm due to some deficiency is typically described as a <a href="https://en.wikipedia.org/wiki/Software_bug">software bug</a>). A wide variety of types of malware exist, that you know as you proceed.</p><p>Programs are also considered malware if they secretly act against the interests of the computer user. For example, at one point Sony music Compact discs silently installed a rootkit on purchasers’ computers intending to prevent illicit copying, but which also reported on users’ listening habits, and unintentionally created extra security vulnerabilities.</p><h4>Viruses :</h4><p>A virus is a malicious executable code attached to another executable file. The virus spreads when an infected file is passed from system to system. Viruses can be harmless or they can modify, delete data. Opening a file can Trigger a virus, once a program virus is active, It will infect other programs on the computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*S590rQX7CxSKrLo1eh6rBw.png" /></figure><h4>Worms :</h4><p>Worms replicate themselves on the system attaching themselves to different files and looking for Pathways between computers such as computer network that shares common file storage areas usually slow down networks. A virus needs a host program to run but worms can run by themselves after a worm affects a host, It can spread very quickly over the network.</p><h4>Spyware:</h4><p>Its purpose is to steal private information from a computer system for the third party. Spyware collects information and sends it to the hacker. Spyware is used for many purposes. Usually, it aims to track and sell your internet usage data, capture your credit card or bank account information, or steal your identity. How? Spyware monitors your internet activity, tracking your login and password information, and spying on your sensitive information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*hhzcPTF25UFOxAPkbiOz8Q.png" /></figure><p>Some types of spyware can install additional software and change the settings on your device, so it’s important to use secure passwords and keep your devices updated.</p><h4>Trojan horse:</h4><p>A Trojan Horse is Malware that carries out malicious operations under the appearance of a desired operation such as playing an online game. A trojan horse varies from a virus because the Trojan binds itself to non-executable files, such as image files, audio files.</p><p>A Trojan acts as a bona fide application or file to trick you. It seeks to deceive you into loading and executing the malware on your device. Once installed, a Trojan can perform the action it was designed for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*2GBbXsOfsgD6eYHBIR8ovg.png" /></figure><p>A Trojan is sometimes called a Trojan virus or a Trojan horse virus, but that’s a misnomer. Viruses can execute and replicate themselves. A Trojan cannot. A user has to execute Trojans. Even so, Trojan malware and Trojan virus are often used interchangeably.</p><h4>Logic bombs:</h4><p>A Logic bomb is a malicious program that uses a trigger to activate the malicious code. The logic bomb remains non-functional until that trigger event happens. Once triggered, a logic bomb implements a malicious code that causes harm to a computer. Cybersecurity specialists recently discovered logic bombs that attack and destroy the hardware components in a workstation or server including the cooling fans, hard drives, and power supplies. The logic bomb overdrives these devices until they overheat or fail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*2VVxAltbuJy_Z7M9e5q62A.png" /></figure><h4>Ransomware:</h4><p>Ransomware grasps a computer system or the data it contains until the victim makes payment. Ransomware encrypts data in the computer with the key which is unknown to the user. The user has to pay the ransom (price) to the criminals to retrieve data. Once the amount is paid the victim can resume using his or her system.</p><p>There are several different ways that ransomware can infect your computer. One of the most common methods today is through malicious spam, or malspam, which is an unsolicited email that is used to deliver malware. The email might include booby-trapped attachments, such as PDFs or Word documents. It might also contain links to malicious websites.</p><h4>Backdoors:</h4><p>Backdoor bypasses the usual authentication used to access the system. The purpose of the backdoor is to grant the cybercriminals future access to the system even if the organization fixes the original vulnerability used to attack the system. As a threat, backdoors aren’t going away anytime soon. According to the Malwarebytes Labs <a href="https://blog.malwarebytes.com/malwarebytes-news/ctnt-report/2019/01/2019-state-malware-report-trojans-cryptominers-dominate-threat-landscape/">State of Malware report</a>, backdoors were the fourth most common threat detection in 2018 for both consumers and businesses — respective increases of 34 and 173 percent over the previous year.</p><h4>Rootkit:</h4><p>Rootkit modifies the OS to make a backdoor. Attackers then use the backdoor to access the computer distantly. Most rootkits take advantage of software vulnerabilities to modify system files.</p><p>It is difficult to detect rootkits. There are no commercial products available that can find and remove all known and unknown rootkits. There are various ways to look for a rootkit on an infected machine. Detection methods include behavioral-based methods (e.g., looking for strange behavior on a computer system), signature scanning and memory dump analysis. Often, the only option to remove a rootkit is to completely rebuild the compromised system.</p><h4>Keylogger:</h4><p>Keylogger records everything the user type on his or her computer system to obtain passwords and other sensitive information and send them to the source of the keylogging program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*44g6MhwtSiwSLMrKAe5TUg.png" /></figure><p>Criminals can exploit information by accessing your accounts before you even know that your sensitive data has been compromised. Keylogger malware may reside in the computer operating system, at the keyboard API level, in memory or at the kernel level itself. Keylogging can be hard to detect because it doesn’t always cause noticeable computer problems, like slow processes or glitches. It can be hard to detect even by some antivirus programs because spyware is good at hiding itself — it often appears as normal files or traffic, and can also potentially reinstall itself.</p><blockquote>I hope you got some idea about malware! for more details about malware, you can prefer to <a href="https://en.wikipedia.org/wiki/Malware">read this</a>.</blockquote><h4>Happy Learning Fam!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4dc099582a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/types-of-malware-3rd-degree-torture-for-computers-e4dc099582a">Types of Malware. (3rd-degree torture for computers)</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pros & Cons of the Most famous AI Algorithms]]></title>
            <link>https://pub.towardsai.net/pros-cons-of-the-most-famous-ai-algorithms-fd3ef433ff2?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd3ef433ff2</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Tue, 28 Jan 2020 16:52:14 GMT</pubDate>
            <atom:updated>2020-01-28T16:52:14.991Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6zWDea3zhG9m_uS9" /><figcaption>Photo by <a href="https://unsplash.com/@agkdesign?utm_source=medium&amp;utm_medium=referral">Alex Knight</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Famous AI weapons: what is the use, when to use &amp; when to ignore. Point-wise summary</h4><h4>Introduction:</h4><p>First, let’s see<strong> what a Classifier is</strong>: An <strong>algorithm</strong> that maps the input data to a specific category. <strong>Classification</strong> model: “A <strong>classification</strong> model tries to draw some conclusions from the input values given for training. It will predict the class labels/categories for the new data.” So here are a few algorithms mentioned below with a point-wise description. You will take an idea of when to use when to avoid, why you should use, etc.</p><h4>1. <a href="https://en.wikipedia.org/wiki/Naive_Bayes_classifier">Naive Bayes classifier</a>:</h4><p><strong>Pros:</strong></p><ol><li>Simple, easy, and fast.</li><li>Not sensitive to irrelevant features.</li><li>Works great in practice.</li><li>Needs less data during training.</li><li>For both multiclass and binary classification.</li><li>Works with continuous and discrete data.</li></ol><p><strong>Cons:</strong></p><p>1. Accept every feature is independent. This isn’t always the truth.</p><h4><a href="https://en.wikipedia.org/wiki/Decision_tree">Decision Tree</a>:</h4><p><strong>Pros:</strong></p><ol><li>Easy to understand.</li><li>Easy to generate rules.</li><li>There are almost hyperparameters to be tuned.</li><li>Complex decision tree models can be significantly simplified by its visualization.</li></ol><p><strong>Cons:</strong></p><ol><li>Mine suffers from overfitting.</li><li>It does not efficiently work with non-numerical data.</li><li>No prediction accuracy for a data set in comparison with other algorithms.</li><li>When there are many class labels, calculations can be complex.</li></ol><h4><a href="https://en.wikipedia.org/wiki/Support-vector_machine">Support Vector Machines</a>:</h4><p>P<strong>ros:</strong></p><ol><li>Fast algorithm.</li><li>Effective in high dimensional spaces.</li><li>Great accuracy.</li><li>Power and flexibility from kernels.</li><li>Works very well with the clear margin of separation.</li><li>Many applications.</li></ol><p><strong>Cons:</strong></p><ol><li>It doesn’t perform well with large data sets.</li><li>Not so simple to program.</li><li>It doesn’t perform so well when the data comes with more noise, i.e. added classes are overlapping.</li></ol><h4><a href="https://en.wikipedia.org/wiki/Random_forest">Random Forest Classifier</a>:</h4><p><strong>Pros:</strong></p><ol><li>The overfitting problem does not exist.</li><li>It can be used for feature engineering that is for identifying the most critical features among all available features in the training data set.</li><li>Runs very well on large data set.</li><li>Extraordinarily flexible and have very high accuracy.</li><li>No need for operation of the input data.</li></ol><p><strong>Cons:</strong></p><ol><li>Complexity.</li><li>It requires a lot of competition resources.</li><li>Time-consuming.</li><li>I need to choose the number of trees.</li></ol><h4><a href="https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm">KNN Algorithm</a> :</h4><p><strong>Pros:</strong></p><ol><li>Simple to understand and easy to implement.</li><li>Zero two little train time.</li><li>Works easily with multiclass data sets.</li><li>Has good predictive power.</li><li>It does well in practice.</li></ol><p><strong>Cons:</strong></p><ol><li>Computationally Expensive testing phase.</li><li>It can have skewed class distribution.</li><li>Accuracy can be decreased when it comes to high dimension data.</li><li>Need to find a value for the parameter k.</li></ol><blockquote>I hope, now you have some idea about what are all these terms and when to use what! There are links added for every algorithm for your reference.</blockquote><p><strong>“It’s never too late to learn.”</strong></p><p>Good Luck!</p><p>Happy AI Learning!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd3ef433ff2" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/pros-cons-of-the-most-famous-ai-algorithms-fd3ef433ff2">Pros &amp; Cons of the Most famous AI Algorithms</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Have you heard of this? Machine Learning vs Deep Learning!]]></title>
            <link>https://medium.com/analytics-vidhya/have-you-heard-of-this-machine-learning-vs-deep-learning-cb7c5633d7d5?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb7c5633d7d5</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Sat, 18 Jan 2020 15:46:02 GMT</pubDate>
            <atom:updated>2020-01-18T15:46:02.107Z</atom:updated>
            <content:encoded><![CDATA[<p>What technology you should go for! Beginners and even intermediates confuse between ML &amp; DL! Did you know this?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1OuPTzAYGuZpiogh" /><figcaption>Photo by <a href="https://unsplash.com/@askkell?utm_source=medium&amp;utm_medium=referral">Andy Kelly</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Introduction:</h4><p>As you may know, the advancement of Artificial intelligence has been hyped i.e. machine Learning and Deep Learning. Anyone interested in this field, constantly freezing their minds with these terms, whether they understand these terms or not. ML &amp; DL may be fascinating but not at all easy for a beginner. So before choosing your career in ML &amp; DL, just interrogate enough about how both works and what kind of skill sets are required. The distinction between machine learning (ML) and deep learning (DL), for example, can be a bit confusing to the uninitiated, but it makes all the difference for companies trying to harness the reams of data they collect, notes this opinion piece by Adam Singolda, CEO and founder of <a href="https://www.taboola.com/">Taboola</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qG3pV2ZgCyloyi2WeKdo9w.png" /><figcaption>What do you understand from this? it’s simple, a perfect model may exist but can’t. Lol!</figcaption></figure><p>I hope you’ve heard this, many times! and that is fascinating also-</p><p>Hey mate, how did you do that? He replied: Machine Learning. ( sounds easy right? well no.). Don’t jump to a conclusion without even knowing the depth of it. Ok, let’s proceed further.</p><h4>How do you define Machine Learning :</h4><p>Well, you know it’s a subset of AI but wait what about the process involved in ML. The key insight lies within algorithms, model training, and concepts that may not seem easy to you like you think. “ Machine Learning can be defined as a science of making computers act and learn like humans and enhance their learning capacity over time in independent fashion by feeding them with information and data in the form of real-world interactions and observations.”</p><p>A simple example would be Netflix, which uses an algorithm to learn about your preferences and present you with the choices that you may like to watch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*rbTJYCKKBSls-OXaZBnHuQ.png" /><figcaption>Source: <a href="https://vas3k.com/blog/machine_learning/">vas3k.com</a> (Isn’t this diagram enough to know ML flow? I hope so.)</figcaption></figure><p>In the case of machine learning, the algorithm needs to be told how to make an accurate prediction by providing it with more information, whereas, in the case of deep learning, the algorithm can learn that through its own data processing. It is similar to how a human being would identify something, think about it, and then draw any kind of conclusion.</p><h4>Now, what about Deep Learning :</h4><p>Deep learning is a subset of machine learning which is based on learning data representations, DL is inspired by the function and structure of the brain known as Artificial Neural Network. Deep learning acquires tremendous flexibility and power by learning to display the world as a fixed hierarchy of concepts that are defined concerning simpler concepts, and more abstract delegations calculated based on less abstract ones. Although the term deep learning has been spoken for years now, these days with all the hype, it is getting more attention. “<strong>Deep Learning is Large Neural Networks.”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*_bexzY_QjT9SoXAohqp4Dw.png" /><figcaption>source: <a href="https://mc.ai/deep-learning-explained/">https://mc.ai/deep-learning-explained/</a> (Deep learning is pattern recognition via so-called neural networks.)</figcaption></figure><p>Neural networks are a set of algorithms, modeled after the human brain. They are sensors: a form of machine perception. Deep learning is a name for a certain type of stacked neural network composed of several node layers. Each layer’s output is simultaneously the subsequent layer’s input, starting from an initial input layer.</p><p>Deep-learning networks are distinguished from the more commonplace single-hidden-layer neural networks by their depth; that is, the number of node layers through which data is passed in a multistep process of pattern recognition. Three or more including input and output is deep learning. Anything less is simply machine learning.</p><h4>Finally, ML vs DL :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fdUwIWA-ta1ABrn02-TFSA.jpeg" /><figcaption>Source: <a href="https://www.google.com/url?sa=i&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwjq9M2U34DnAhUOVH0KHVWPBR4QMwhkKAAwAA&amp;url=https%3A%2F%2Fwww.inteliment.com%2Fblog%2Four-thinking%2Flets-understand-the-difference-between-machine-learning-vs-deep-learning%2F&amp;psig=AOvVaw1WzxzapMp1AFbjpPNxDuE2&amp;ust=1579010642779328&amp;ictx=3&amp;uact=3">Inteliment.com</a> (Deep learning has an extra edge somehow.)</figcaption></figure><p>Do you know, Machine Learning almost always needs well-structured data for processing, but Deep Learning depends on layers of Artificial Neural Network (ANN).</p><p>Deep Learning is banging the application, for now, We all mostly depend on DL when it comes to performance, the lower failure rate is what makes DL more popular, and yes it should be. And no wonder, if you are also thinking to learn Deep learning in more depth, well that I will add next time, but as a beginner, if you are aware of these trends, congrats ! you will follow the right direction.</p><h4>WHAT ARE THE LATEST TRENDS IN MACHINE LEARNING AND DEEP LEARNING? :</h4><p>As machine learning and deep learning go hand-in-hand, here are some of the trends that we are most likely to see shortly (or see better versions of the same):</p><p>(1) Transfer learning. (2) Better approaches in cybersecurity.</p><p>(3) Robotic process automation. (4) Transparent decisions.</p><p>(5)Edge intelligence. (6) Quantum computing. (7) Cloud computing.</p><blockquote>It’s never too easy to learn AI, ML or DL. Keep in mind, it’s only your dedication, practice, patience that decides your potential. Don’t panic if you don’t understand any concept, you can always discuss it.</blockquote><h4>Conclusion :</h4><p>We have studied Deep Learning and Machine Learning and also looked at a comparison between the two. We have also looked at images for better representation and understanding. Now, you know that numerous fine nuances divide machine learning and deep learning, although both are tied to similar principles of AI. But the crux is that the former includes more complex code while the latter leads to more enhanced results.</p><p>Happy Learning Fam!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb7c5633d7d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/have-you-heard-of-this-machine-learning-vs-deep-learning-cb7c5633d7d5">Have you heard of this? Machine Learning vs Deep Learning!</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Attention Beginners! Powerful Exposure of Eye Gaze Tracking Procedure]]></title>
            <link>https://pub.towardsai.net/attention-beginners-powerful-exposure-of-eye-gaze-tracking-procedure-a8575778c7e5?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8575778c7e5</guid>
            <category><![CDATA[towards-data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[eye-tracking]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Mon, 13 Jan 2020 15:03:39 GMT</pubDate>
            <atom:updated>2020-01-13T15:03:39.700Z</atom:updated>
            <content:encoded><![CDATA[<h4>Explanation of the Existing system and steps required for eye gaze estimation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*isstejZVplwQsuoIhlUFrQ.png" /><figcaption>Image from<a href="https://bdtechtalks.com/2018/06/11/ar-vr-eye-tracking-foveated-rendering/"> bdtechtalks.com</a> by Ben Dickson.</figcaption></figure><blockquote>For your convenience, I have added a few importnt explanation links for the concepts that are important, where you can go in-depth for further knowledge. Hope you’ll enjoy learning !</blockquote><h4>Introduction :</h4><p>Eye gaze tracking technology over the past few decades has led to the development of promising gaze estimation techniques and applications for human-computer interaction. Historically, research on gaze tracking dates back to the early 1900s, starting with invasive eye-tracking techniques. These included electro-occulography using pairs of electrodes placed around the eyes or the scleral search methods that include coils embedded into a contact lens adhering to the eyes. This changed in the 1990s as eye gaze found applications in computer input and control. Post-2000, rapid advancements in computing speed, digital video processing, and low-cost hardware brought gaze tracking equipment closer to users, with applications in gaming, virtual reality, and web-advertisements.In the current scenario, eye gaze is used in many aspects of artificial intelligence, machine learning, computer vision, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*YCf7A2j5r1j_azcVZkirFw.png" /><figcaption>Image from <a href="https://www.prnewswire.com/news-releases/neurotechnology-releases-sentigaze-sdk-for-eye-movement-tracking-using-ordinary-webcams-300043301.html">prnewswire.com</a></figcaption></figure><p>The eye gaze brings human and machine interaction closer by applying a few approaches and algorithms.</p><blockquote>Oh hey ! If you are a beginner, Congratulation ! you are at the right place to gain more knowledge and if not then it could be a cute refresher for you and may remind you of your beginner’s days.</blockquote><h4>What is an eye tracker :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*yIo65bt51hOxdXum-nJ58w.png" /><figcaption>image from<a href="https://www.google.com/url?sa=i&amp;source=imgres&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwjSv97o3vvmAhWQT30KHecsDZoQjB16BAgBEAM&amp;url=https%3A%2F%2Fwww.tobii.com%2Fgroup%2Fabout%2Fthis-is-eye-tracking%2F&amp;psig=AOvVaw0kQEIEE2HJUug5teEtUZiq&amp;ust=1578838719690770"> tobii.com</a></figcaption></figure><p>Well, I know, you’ll say eye tracking was never a piece of cake, guess what ! you are right. Although computer vision has many algorithms for efficient task performance, those algorithms still have some limitations. Eye-tracking can be seen as following the direction of eyes on the computer screen, performing mouse click tasks using eyes i.e. giving commands using eye blinks and it is also possible to identify few emotions using eyes.</p><p>“ <strong>Eye tracking</strong> is the process of measuring either the point of <strong>gaze</strong> (where one is looking) or the motion of an <strong>eye</strong> relative to the head. An <strong>eye tracker</strong> is a device for measuring <strong>eye</strong> positions and <strong>eye</strong> movement. ”</p><h4>Specific activities to perform :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*Y173pYlR_oyTOCe2v70dTw.png" /><figcaption>Image from <a href="https://www.google.com/url?sa=i&amp;source=imgres&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiG3IPM2PvmAhWIWX0KHQ77AAMQjhx6BAgBEAI&amp;url=https%3A%2F%2Fwww.ecse.rpi.edu%2F~cvrl%2Fzhiwei%2Fgazetracking%2Fgazetracking.html&amp;psig=AOvVaw0En3_lJuvFU0oFFJ78U6lp&amp;ust=1578836807828487">RPI ECS</a>: One-camera gazes estimation scenario.</figcaption></figure><p>(1) Starting from the formal face and eye detection of the user from a favorable distance.</p><p>(2) Detecting the reference points for gaze. ( Reference point: Camera light produces a glint on the cornea of the <strong>eye</strong> and is called corneal reflection. In most of the existing work, glint has been used as the <strong>reference point</strong> for <strong>gaze</strong> estimation. The pupil-glint difference vector remains constant when the <strong>eye</strong> or the head moves.)</p><p>(3) Applying a virtual reference point algorithm for estimation. ( For more details: <a href="https://arxiv.org/pdf/1708.01817">Virtual reference point</a> )</p><p>(4) While performing a project you need to train your algorithm or a script.</p><p>(5) Pupil detection and tracking. ( After reading fundamentals you can prefer this article written by <a href="https://medium.com/@stepanfilonov/tracking-your-eyes-with-python-3952e66194a6">Stepan Filonov</a> )</p><h4>Tracking techniques in action:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/0*UMCjlxCW8KG19Jsc.jpg" /><figcaption>image from<a href="https://www.ecse.rpi.edu/~cvrl/zhiwei/gazetracking/gazetracking.html"> ecse.rpi.edu</a></figcaption></figure><p>(1) The video-based gaze approaches commonly use two types of imaging techniques: <a href="https://en.wikipedia.org/wiki/Thermography"><strong>infrared imaging</strong></a> and <a href="https://en.wikipedia.org/wiki/Visible_light_imaging"><strong>visible imaging</strong></a>. The former needs infrared cameras and infrared light sources to capture the infrared images, while the latter usually utilizes high-resolution cameras for images.</p><p>(2) Compared with the infrared-imaging approaches, visible imaging methods circumvent the already known problems without the need for specific infrared devices and infrared light sources. They are not sensitive to the utilization of glasses and infrared sources in the environment. Visible-imaging methods should work in a natural environment, where the ambient light is uncontrolled and usually results in lower contrast images.</p><p>(3) <a href="https://www.researchgate.net/publication/225174403_An_Incremental_Learning_Method_for_Unconstrained_Gaze_Estimation">Yusuke Sugano</a> has presented an online learning algorithm within the incremental learning framework for gaze estimation, which utilized the user’s operations (i.e., mouse click) on the PC monitor. The first training model was utilized to detect and track the eye and employed the cropped image of the eye to train the Gaussian process functions for gaze estimation. In their applications, a user has to stabilize the position of the head in front of the camera after the training procedure.</p><p>(4) <a href="https://www.researchgate.net/publication/221364899_Sparse_and_Semi-supervised_Visual_Mapping_with_the_S">Oliver Williams</a> proposed a sparse and semi-supervised A Gaussian process model to infer the gaze, which simplified the process of collecting training data. Generally, it takes a huge amount of data ( images ) from various subjects to train a system for an accurate and efficient result.</p><h4>Disadvantages of the old system :</h4><p>I wonder! why these eye gaze algorithms can never be perfect, pretty irritating for computer vision? right. But as the resources are growing, eye gaze is getting algorithms that are more effective, more efficient. peace out! folk. Here are a few disadvantages about old eye gaze system:</p><p>(1) The iris center detection will become more difficult than the pupil center detection because the iris is usually partially occluded by the upper eyelid.</p><p>(2) The construction of the classifier needs a large number of training samples, which consist of the eye images from subjects looking at different positions on the screen under different conditions.</p><p>(3) They are sensitive to head motion and light changes, as well as the number of training samples.</p><p>(4) They are not tolerant of head movement.</p><h4>Steps that require attention :</h4><h4>Identification of face and eye region (R.O.I.):</h4><p>To start your task, first of all, you’ll need to locate the face and after that, the eyes. In the case of the face, you can see <a href="https://docs.opencv.org/2.4/modules/contrib/doc/facerec/facerec_tutorial.html">Opencv’s face recognition</a> for basic reference. Eyes are the main priority here and not at all easy to perform the tasks on them. You can <a href="http://answers.opencv.org/question/105813/crop-roi-from-face-eye-detection/">see this</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*6WQh7mndcjwtsDRw0y65Bw.png" /><figcaption>image from <a href="https://www.google.com/url?sa=i&amp;source=imgres&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwigzNzU6vvmAhUCXSsKHcfaAukQjB16BAgBEAM&amp;url=https%3A%2F%2Fwww.indiamart.com%2Fproddetail%2Fface-recognition-solutions-21341122633.html&amp;psig=AOvVaw3f73J2CF03H_qgaeqv4cJM&amp;ust=1578841929229013">India mart</a>.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*PrG6Sd4btTLIs9y0spFA7A.png" /><figcaption>image from <a href="http://www.researchgate.net/">www.researchgate.net</a> by <a href="https://www.researchgate.net/profile/Hayley_Crawford">Hayley Crawford</a></figcaption></figure><p>Example of face ROI left and right eyes ROI, and mouth ROI; face ROI was a rectangular shape positioned automatically to cover the face, hair, and neck of models, whilst fixation coordinates within the rectangular areas were assigned to eyes and mouth ROI for each model, respectively. After identifying the area of the face where eyes are located. And then reduces the region specified for more accurate detection of eyes. And then draw small boxes over ROI for more detailed detection.</p><h4>Finding Pupil Centres:</h4><p>To estimate gaze direction and position, you must find the pupil center within the bounding box for each eye. For this, you can use a <a href="https://arxiv.org/pdf/1605.05272">gradient-based method</a> which uses the fact that image gradients at the border of the iris and pupil tend to point directly away from the center of the pupil. It works as follows:</p><p>For the below formula, You need to make a unit vector di which points from a given image location to a gradient location, then its squared dot product with the normalized gradient vector gi, expressed as (di T gi) 2, will be maximized if we are at the pupil center. you should do this calculation for each image location and each gradient. The pupil center c* is the location that maximizes the sum of these dot products :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*ZRs9x9jZ9KXAE9G4myJQFg.png" /></figure><p>Now proceed with only calculating pupil-center-probability in the dark parts of the image because the pupil is known to be dark. (To do this, perform the threshold on pixel brightness, then dilate the image to expand the allowable areas slightly. You must dilate so that our search region includes parts of the pupil where there are bright reflections.) Eyelashes and shadows produce unwanted gradients, which can produce spurious peaks in the pupil-center probability image. The desired gradients used to be fairly strong, so discard all gradients whose magnitude is below the mean if you want.</p><p>This method provides the center of the iris with fairly high reliability, and acceptable accuracy (usually within 3 pixels). However, it can be vulnerable to regions that look similar to a pupil in low-resolution images, such as the shadowed blob on the left of the eye.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*CZpSXrLEdYHlb9IG2exLHQ.png" /><figcaption><em>Left to right: A blurred eye image; the areas considered dark enough to be pupil candidates; our estimates of center probability in the regions that were dark (white=highest probability). Note the spurious peak on the left.</em></figcaption></figure><h4>Reference Point for Eye Direction :</h4><p>To detect the pupil coordinates in terms of an offset from some reference point on the face. The Haar Cascade bounding boxes for the face and eyes are not steady enough to serve as reference points, even when averaged together. So you may need to experiment heavily with several other possible reference point methods as draw a blue dot between the eyes with a dry-erase marker and apply the required algorithm to find the center of the blue dot.</p><h4>Pupil Probability From Two Eyes :</h4><p>Oh finally, Here comes the probability, something that you are already aware of !. Now first, improve the reliability of your estimation by combining multiple probability estimates. So, you can design a method to combine the estimates from the two eyes: Overlay the probability image from the right eye onto the left eye and multiply the two probabilities.</p><p>Eye pupils move together and therefore appear at the same place in the two images. But other (noise-producing) parts of the eye are mirrored about the center-line of the face, and therefore appear at different places in the two images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*Y6SO_Tops3uzdfZhXasQ8g.png" /><figcaption>Camera-left eye probabilities are overlaid on camera-right probabilities using the average pupil-to pupil vector from previous frames. Their product has less noise.</figcaption></figure><p>Combining the two eye estimates was not straight forward. Because of the eye bounding boxes are inaccurate, they cannot be used to align the probability images. Insight can be, if the head position is steady, the vector from the left eye’s pupil to the right eye’s pupil is almost constant as the pupils move around. (Especially when the eyes are focused on a plane, such as a computer monitor.) Therefore, if any image region that includes the left eye is shifted by that vector, the left pupil will end up on top of the right pupil.</p><p>And hence, time to combine the eye probability estimates without requiring any absolute reference points on the face. (Do one thing: blur both images slightly before the multiplication so that an error of a few pixels in the pupil-pupil vector still yields a strong peak near the true pupil.) The pupil-to-pupil vector can be obtained from the noisy estimates of individual pupil positions. And then simply apply a very slow moving-average filter to reject noise in the estimate of the vector.</p><h4>Conclusion &amp; possibilities:</h4><p>The biggest opportunity for improvement is to allow head movement without retraining. (Neither most of the algorithms nor commercial systems can handle head movement.) One possibility for this is to estimate the head position and apply geometry. Side-to-side head movement is detected by the current system and could be used to modify the model in real-time. Distance is not directly sensed by webcams, but the length of our pupil-to-pupil vector could be a very promising signal for estimating distance changes. Head orientation changes would be harder to correct for, as head rotation produces non-linear changes in the reference point’s position relative to the pupils. One option might be to use a Haar cascade to detect the user’s nose and infer head orientation and then apply either machine learning or facial geometry to correct for head orientation’s effect on the reference point.</p><blockquote>Honorable Mention: (Here is a good Article that you can prefer for further details and concepts.)</blockquote><p><a href="https://arxiv.org/pdf/1312.6410">A survey on eye-gaze tracking techniques</a>.pdf - arXiv</p><h4>Happy Learning Fam!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8575778c7e5" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/attention-beginners-powerful-exposure-of-eye-gaze-tracking-procedure-a8575778c7e5">Attention Beginners! Powerful Exposure of Eye Gaze Tracking Procedure</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Attention! Beginners, Theory: Challenging terms and Methods for Facial Features Recognition]]></title>
            <link>https://pub.towardsai.net/attention-beginners-theory-challenging-terms-and-methods-for-facial-features-recognition-f8657fca0be2?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8657fca0be2</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[face-recognition]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Sat, 11 Jan 2020 16:51:35 GMT</pubDate>
            <atom:updated>2020-01-11T17:28:18.746Z</atom:updated>
            <content:encoded><![CDATA[<h4>Theory Explained ( Computer Vision ): Pattern recognition ( Facial Recognition ) with Challenges and possible methods</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wqlQBrjTux3OuPDi" /><figcaption><strong>Image by </strong><a href="https://newsroom.cisco.com/"><strong>newsroom.cisco.com</strong></a><strong> from </strong><a href="https://newsroom.cisco.com/authorbio-detail?articleId=252072"><strong>Laurence Cruz</strong></a></figcaption></figure><blockquote><strong>Energy-saving tip folk</strong>: Better start with <strong>OpenCV-C++/ Python</strong>, <a href="https://docs.opencv.org/2.4/modules/contrib/doc/facerec/facerec_tutorial.html">https://docs.opencv.org/2.4/modules/contrib/doc/facerec/facerec_tutorial.html</a> is a library of Python bindings designed to solve computer vision problems. Later you can keep progressing with neural networks.</blockquote><h4>BACKGROUND :</h4><p>In 1960 Woody gave the first semi-automated facial recognition technique. This technique required some features such as mouth, nose, eyes, and nose on the image. After that, face recognition techniques came in the picture. In 2001 onwards this biometric technique increased rapidly according to the below figure. The main goal of this article is to aware beginners about constantly increasing scientific interest in face recognition biometric technique. The below analysis has been performed by applying the keyword “face recognition”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*TVF4cdXFsgQS0aNhBocL6g.png" /><figcaption><strong>Face Recognition related publications for the past 51 years</strong></figcaption></figure><h4>CHALLENGING TERMS:</h4><h4>A. Aging :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*555-LaLwnTFwv32ol_dTOg.png" /><figcaption><strong>Aging simulation from age x to y.</strong></figcaption></figure><p>Aging is an inevitable natural process during the lifetime of a person as compared to other facial variations. Aging effect can be observed under the main three unique characteristics:</p><p>1) The aging is uncontrollable: It cannot be advanced or even delayed and it is slow and irreversible.</p><p>2) Personalized aging Signs: Every human passes through different aging patterns. And these rely on his or her genes and many other factors, such as health, food, region, and weather conditions.</p><p>3) The aging signs depend on time: The face of a person at age will affect all older faces, but unaffected at a younger age.</p><h4>B. Partial Occlusion :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*jF4qzS1uApt-pUKfHwCy8A.png" /><figcaption><strong>Example images for partial occlusion.</strong></figcaption></figure><p>You see, the above image is pretty fair with partial occlusion, isn’t it! , but hey wait, what about this one?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*RbZPGUl4fgfGhhhbq7fhZQ.png" /><figcaption><strong>This Means, Future goes beyond face recognition, it was already decided, lol!</strong></figcaption></figure><p>It goes like, Occlusion refers to <strong>natural or artificial obstacles</strong> in an image. It can be a local region of the face along with different objects such as sunglasses, scarves, hands, and hair. They are generally called partial occlusions. Partial occlusions correspond to any occluding object. And the <strong>occlusion less than 50% of the face is considered to be a partial occlusion</strong>. The approaches to face recognition with partial occlusion are classified into the following three categories:</p><p>(1) Part Based Methods.</p><p>(2) Feature-based methods and</p><p>(3) Fractal-Based Methods.</p><p>Many areas of image processing have been impacted by partial occlusion such as recognition by <strong>ear is occluded due to earrings</strong>. Occlusion affects the performance of a system when people deceive it either by the use of <strong>sunglasses, scarves, veil or by placing mobile phones or hands in front of faces</strong>. In some cases, other factors like shadows due to extreme illumination also act as occluding factors. Further, local approaches are used to deal with the problem of partially occluded faces which divide the faces into different parts. However, this problem can be overcome by eliminating some of the features which create trouble while accurate recognition in the image. Mostly local methods are based on feature analysis, in which the best possible features are detected and then they are combined. Another approach that can be applied for this purpose is near a <strong>holistic approach</strong> in which occlude features, traits and characters are eradicated and the rest of the face is used as valuable information. Different techniques are being developed by the researchers to cope up with this problem. Oh gosh! pretty much to understand, right?</p><h4>C. Pose Invariance :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*CI7qQu_qfmr8Y-NJtENQ9Q.png" /><figcaption><strong>Pose-invariant face recognition.</strong></figcaption></figure><p>Pose variance is yet another hurdle in achieving a successful face recognition system. <strong>People pose differently every time they take a picture</strong>. There is no standardized rule for taking a pose. Therefore, it makes more difficult to distinguish and recognize the faces from images with varying poses. Pose variations degrade the performance of the facial features. Also, many systems work under inflexible imaging conditions and as a result, it affects the quality of gallery images. The methods dealing with variation in the pose can be divided into two kinds i.e. multi-view face recognition and face recognition across pose. Multi-view face recognition can be considered as an annexure of frontal face recognition in which the gallery image of every pose is considered. On the other hand, across a pose in face recognition, yield face with a pose that has never been exposed before to a recognition system. There are some other methods and approaches that are being used to tackle the similar problem of face recognition. Furthermore, variance and changes in the pose can be divided into three classes, namely:</p><p>(1) General algorithms.</p><p>(2) Two-dimensional methods for face recognition and</p><p>(3) Three-dimensional models.</p><h4>D. Illuminations :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*JH-J30RT2eZTXAZ5wt93uQ.png" /><figcaption><strong>Face recognition under arbitrary illumination.</strong></figcaption></figure><p>Illumination is an observable property and effect of light. It may also refer to the lightning effect or the use of light sources. Global illuminations are algorithms that have been used in 3D computer graphics. Illumination variation also badly affects the face recognition system. Thus it has been turned an area of attention for many researchers. However, it becomes a tedious task to recognize one or more persons from still or video images. But it can be quite easy to extract desired information from images when they are taken under a controlled environment along with the uniform background. Also, three methods that can be implemented to deal with the illumination problem. They are gradient, grey level, and face reflection field estimation techniques. Grey level transformation technique carries out in-depth mapping with a non- linear or linear function. Gradient extraction approaches are used to extract edges of an image at a grey level. Illumination is a factor that heavily affects the performance of the recognition system obtained via face images or videos. These techniques are developed to suppress the effect of illumination.</p><h4>METHODS USED IN FACE RECOGNITION :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*2Wi-O1tIB0ox_zq2GE4Hjw.png" /></figure><p>Face recognition is the sub-area of pattern recognition research and technology. Firstly we take input images from the standard cameras and this image is known as the input image. Secondly, pre-processing is performed to improve the image quality and to reduce the noise in the taken images. The next phase is face segmentation where the face part is a cropped from the human body and background of the image. In the next phase, feature extraction is done after segmenting the input image to a very good level and relevant features are identified which can help in distinguishing that person to other people. In the last phase, a template is generated for enrollment and matching purposes. Finally, matching is done at the biometric system for identification of the authenticated person, if there is a match then the output will come in the form of user accepted otherwise user rejected. Face recognition systems can be divided into different categories:</p><h4>A. Knowledge-based method :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*J6rYRSWNZDzuN6LAEhHxWQ.png" /></figure><p>The knowledge-based techniques are based on the geometry of the face and arrangement of the facial features. These knowledge-based methods describe the shape, size, and texture. Some methods describe a few other characteristics of facial features such as head, eyebrows, eyes, nose, and chin. The major problem of these techniques is that they do not perform well because of different types of pose or head orientations as shown in my implementation results of <a href="https://en.wikipedia.org/wiki/Viola%E2%80%93Jones_object_detection_framework">V-J algorithm</a> in the figure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*utXv3uhhEpaerzuiGe8P6A.png" /><figcaption><strong>Face Segmentation Results obtained.</strong></figcaption></figure><h4>B. Feature invariant approaches:</h4><p>The main aim of <a href="https://en.wikipedia.org/wiki/Scale-invariant_feature_transform">feature invariant techniques</a> is to find structural features of the human face even with lighting conditions varying. Different types of structural features such as facial local features, skin color, shape, and texture are used. These methods are very sensitive to illumination, occlusion, the existence of skin color regions, and adjacent faces as shown in the figure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*IOdmqtngukb1DGoj4-rxZA.png" /><figcaption><strong>(a) Original Image. (b) Skin Color Binary Image</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*rdD1EuNt9MXKViVLLDFgLQ.png" /><figcaption><strong>(c) Skin Color Mark Area. (d) Image verified by face length breadth ratio.</strong></figcaption></figure><h4>C. Template-based methods:</h4><p>Template-based methods are sensitive to pose, scale and shape variation of the human body. Deformable template methods have been proposed to deal with such variations of pose, scale, and shape of the body. Template-based methods using the elastic models include shape parameters as well as intensity information of facial features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*fatCGpz9OsEqBRk6VUL94w.png" /><figcaption><strong>A 14x16 pixel ratio template.</strong></figcaption></figure><h4>D. Appearance-based methods:</h4><p>The appearance-based methods used for face detection are Eigenfaces, Linear Discriminant Analysis, Neural Networks, Support Vector Machine, and Hidden Markov Models. With the help of these methods, the whole image is scanned and image regions are identified as face or no-face. During template matching, appearance-based methods will come in the picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*fE6488HE-ad6OYly.png" /><figcaption><strong>Classification for appearance-based method.</strong></figcaption></figure><h4>Conclusion :</h4><p>So hey!, Finally, face recognition has remained a striving area for researchers for many years. In this article, a comprehensive study was performed over different face recognition methods and challenging terms. After detailed analysis, it revealed that PCA is the best-suited technique when the dimension of features is higher for original face images. The matter of fact is, Human behavior has emerged recently as a promising research area for scholars that should be exploited in the future. Finally, it is concluded that still there remains a gap in terms of study in the face recognition system that requires to be filled to improve its accuracy and efficiency.</p><blockquote>For further more concepts and understanding you can refer to this article of Divyansh Dwivedi <a href="https://towardsdatascience.com/face-recognition-for-beginners-a7a9bd5eb5c2">Face Recognition for Beginners</a> to understand PCA, Neural networks etc.</blockquote><p><strong><em>Congratulations folk !, You have made the first step in face recognition. I would happily hear your questions and providing the best suitable answers.</em></strong></p><h4>HAPPY LEARNING FAM!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8657fca0be2" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/attention-beginners-theory-challenging-terms-and-methods-for-facial-features-recognition-f8657fca0be2">Attention! Beginners, Theory: Challenging terms and Methods for Facial Features Recognition</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyzing Twitter Trends using AI, Python.]]></title>
            <link>https://medium.com/analytics-vidhya/analyzing-twitter-trends-using-ai-python-e0aee72fde87?source=rss-3dc95f829b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0aee72fde87</guid>
            <category><![CDATA[twitter]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[inside-ai]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Surya Govind]]></dc:creator>
            <pubDate>Thu, 09 Jan 2020 11:51:28 GMT</pubDate>
            <atom:updated>2020-01-14T12:25:52.478Z</atom:updated>
            <content:encoded><![CDATA[<p>Twitter analysis for the highest voice of celebrities i.e. who has tweeted the most about topics and issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Vx24XOrU7Z-UlfJyOAiShQ.jpeg" /></figure><blockquote>The content in this article is based on the project that i have done and found it usefull and fun. It is available on my github “ <a href="https://github.com/SuryaGovind/Twitter-Trend-Analyzer">https://github.com/SuryaGovind/Twitter-Trend-Analyzer</a> ”.</blockquote><h3>Introduction:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*zsVaPsb-_Gc9wty7CMgBGw.png" /></figure><p>Welcome to the world of Artificial Intelligence for social media stories., It has been a long time since twitter is an active Social media platform and meant for sharing ideas on issues, actions, etc. Every day a twitter user faces different kinds of data based on many fields. It is almost like a dream to analyze that huge amount of data and find the latest trend going on. Every tweet has a certain purpose and talks about a problem or discussion. By the analysis of twitter data, most of the companies can crack the code to success in today’s world, they can easily obtain information about, what is going on today. So this way, we can understand the importance of twitter trend analysis.</p><h4>The goal of this project : (Python 3 programming )</h4><p>To build a twitter trend analyzer that will analyze a set of tweets using AI and text-processing techniques. The trend analyzer will work on a given set of tweets, seeded on Bollywood to generate:</p><ol><li>A tag cloud depicting what topics or celebrities were being talked about on Twitter.</li><li>A chart showing which hashtag related to Bollywood trended (Hashtags are words or phrases beginning with # eg #ShahrukhKhan</li><li>A share of voice chart to show which celebrities dominated the conversation on Twitter.</li></ol><h4>Deliverables:</h4><p>a) Generate a word cloud based on the tweets.</p><p>b) Show the relative popularity of the hashtags.</p><p>c) Show which celebrity had the maximum share of voice. An indicative list of celebrities you can run this analysis for: Alia Bhatt, Shah Rukh Khan, Salman Khan, Amir Khan, Anushka Sharma, Ranbir Kapoor, Hrithik, Deepika Padukone, etc.</p><h4>Libraries and Packages used :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*AO_dQK9fezAWJsscEpeo3w.png" /></figure><ol><li>Numpy [array manipulation], <strong>NumPy</strong> is a <strong>Python</strong> package that stands for ‘Numerical <strong>Python</strong>’. It is the core library for scientific computing, which contains a powerful n-dimensional array object, provides tools for integrating C, C++, etc. It is also useful in linear algebra, random number capability, etc</li></ol><p>2. Pandas [making data frames for visualization], <strong>pandas</strong> is a software <strong>library</strong> written for the <strong>Python</strong> programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series. It is free software released under the three-clause BSD license.</p><p>3. Re [for extracting URL dataset], In <strong>Python</strong>, a <strong>regular expression</strong> is denoted as <strong>RE</strong> (REs, regexes or <strong>regex</strong> pattern) are embedded through <strong>re</strong> module. “<strong>re</strong>” module included with <strong>Python</strong> primarily used for string searching and manipulation. Also used frequently for webpage “Scraping” (extract a large amount of data from websites)</p><p>4. Matplotlib [for Data visualization in graphs and charts], <strong>matplotlib</strong>.<strong>pyplot</strong> is a plotting library <strong>used</strong> for 2D graphics in a <strong>python</strong> programming language. It can be <strong>used</strong> in <strong>python</strong> scripts, shell, web <strong>application</strong> servers, and other graphical user interface toolkits</p><p>5. <strong>Warnings</strong> [Ignore Unwanted Warnings], Warning messages are typically issued in situations where it is useful to alert the user of some condition in a program, where that condition (normally) doesn’t warrant raising an exception and terminating the program. For example, one might want to issue a warning when a program uses an obsolete module. The determination of whether to issue a warning message is controlled by the <strong>warning filter</strong>, which is a sequence of matching rules and actions. Rules can be added to the filter by calling <strong>filterwarnings().</strong></p><p>6. Wordcloud [For drawing a word chart of most frequently used Words], A <strong>Wordcloud</strong> (or <strong>Tag cloud</strong>) is a visual representation of <strong>text data</strong>. It displays a list of words, the importance of each being shown with font size or color. This format is useful for quickly perceiving the most prominent terms. <a href="https://www.python.org/">Python</a> is adapted to draw this kind of representation, thanks to the <a href="https://github.com/amueller/word_cloud">wordcloud library</a> developed by <a href="http://amueller.github.io/">Andreas Mueller</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*_VEhqfQsgq7IXzvvkk6CbA.png" /><figcaption><strong>Size and font sizes for the cloud is being done here.</strong></figcaption></figure><p>defining different sizes for each resultant text will help to discriminate the factors in results, I am using the “Pandas” data analysis library to analyze the twitter data set that will help us determining wordcloud. Twitter is not a mystery now, even we tweet just after waking up, below heat map shows the same:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*IXDcnV6AC7rK00tZep3IQg.jpeg" /><figcaption><strong>Twitter Heatmap Shows Who Tweets ‘Good Morning’ As Soon As They Wake Up.</strong></figcaption></figure><h4>Methodology:</h4><ol><li><strong>Getting the twitter dataset for analysis: </strong><a href="https://github.com/SuryaGovind/Twitter-Trend-Analyzer">https://github.com/SuryaGovind/Twitter-Trend-Analyzer</a>. Provided Dataset belongs to twitter voices about Indian Bollywood celebrities.</li><li><strong>This URL provides us a dataset for analyzing tweets from twitter users.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*nFUBkd2HvDsdQVaj7iMR7g.png" /><figcaption><strong>Sample Data inside Dataset</strong></figcaption></figure><p><strong>2. Data preprocessing and displaying Wordcloud:</strong></p><p>Generating <strong>Word Cloud in Python,</strong> <strong>Word Cloud</strong> is a data visualization technique used for representing text data in which the size of each <strong>word</strong> indicates its frequency or importance. Significant textual data points can be highlighted using a <strong>word cloud</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nG2pmaSI7w7YgbLG_WpDWQ.png" /><figcaption><strong>Working and Function of statements are mentioned in comments.</strong></figcaption></figure><p>Data pre-processing involves removing unwanted string literals or characters and ‘stopwords’ used frequently from all the tweets. Using ‘Matplotlib’ and ‘Wordcloud’ Libraries we generate the word cloud. This can be modified according to different background styles, number of words, figure size, etc. Below You can see a wordcloud:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*zSGmTKCBczcvYmJvvdikFA.png" /></figure><h4>Observations:</h4><p>In the above wordcloud we See that “Salman” word was most frequently used in the user tweets followed by “SRK”, rest of the actors such as Katrina, Alia, and Aamir were mentioned almost equally by twitter users.</p><h4>Determining top trending Hashtags from Dataset and Visualizing a Bar Graph:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QbobqYh3R5K6w7wNiKHLQQ.png" /><figcaption><strong>The bar graph for trending tweets is defined with each actor’s separate popularity.</strong></figcaption></figure><p>As we Know hashtags start with ‘#’ so using regex library for pattern matching we determine all the hashtags and find the top Hashtags being used and determining their popularity. This is visualized using a bar graph by comparing the number of tweets posted for every top hashtag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*DXgUuOn9t3bhz1dPHhI1Yw.png" /></figure><h4>Observations:</h4><p>From the above Fig, we can see that #BB13 Trended the most on Twitter. Also if we analyze these hashtags most of them are related to Salman Khan or his on-screen projects such as Big Boss, Dabangg.</p><h4>Determining which Actor had the maximum share of voice in the analyzed tweets :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*lf3d3lGEjfMk_GYw-QDhYQ.png" /></figure><p>Actors Analyzed for this project: <strong>[Alia Bhatt, Shah Rukh Khan, Salman Khan, Aamir Khan, Anushka Sharma, Ranbir Kapoor, Hrithik, Deepika Padukone]. </strong>For comparing the above list of actors with each other Pie charts are best to use. They do not show changes over time. They not only visualize but also determine the % share of its labels(actors tweets) in its visualization. This helps in drawing Comparative Statistics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*c0uOwGQVVbVr5Ibf8GovXg.png" /></figure><h4>Observations:</h4><p>Salman Khan shared the maximum voice dominating all other Indian celebrities. He had a 57% voice share, Deepika Padukone while had minimum twitter user talking about her with just 1.1% which is quite shocking considering she is one of the top actresses of the country and has a great number of twitter followers.</p><h4>Understanding how the trend works :</h4><p>The above charts show, Whoever tweets more about a particular topic, comes under a trending name on twitter, and whatever topic is been tweeted the most becomes the most trending topic as well. In simple words, if you tweet more about a topic and retweet in more frequency then you will be trending.</p><h4>Conclusion :</h4><p>We have just explored an interesting topic on twitter, no doubt, twitter is never going to lose its value among its users. But considering the huge amount on information twitter generates every day is useful in many aspects. I don’t think that anyone would not be interested in analyzing data to achieve more profit and knowledge either for an organization or personally. AI is getting more stronger day by day, so soon, I suppose everybody will be accepting AI for several benefits. The capabilities of AI can’t be overlooked in the future also.</p><p>If you are interested in running or examine all code used in this article, it is available on my <a href="https://github.com/SuryaGovind/Twitter-Trend-Analyzer">Github Repository</a>.</p><h4>Happy Learning Fam!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0aee72fde87" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/analyzing-twitter-trends-using-ai-python-e0aee72fde87">Analyzing Twitter Trends using AI, Python.</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>