<?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 Meena Vyas on Medium]]></title>
        <description><![CDATA[Stories by Meena Vyas on Medium]]></description>
        <link>https://medium.com/@meenavyas?source=rss-bb090ad19ff1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ahy8OFRZH1mZhhVD.</url>
            <title>Stories by Meena Vyas on Medium</title>
            <link>https://medium.com/@meenavyas?source=rss-bb090ad19ff1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:20:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@meenavyas/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[Hunting Cloud Exfiltration In Jupyter Notebooks]]></title>
            <link>https://medium.com/analytics-vidhya/hunting-cloud-exfiltration-in-jupyter-notebooks-801e569debe3?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/801e569debe3</guid>
            <category><![CDATA[exfiltration]]></category>
            <category><![CDATA[anomaly-detection]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Tue, 10 Sep 2024 14:05:09 GMT</pubDate>
            <atom:updated>2024-09-10T14:05:09.450Z</atom:updated>
            <content:encoded><![CDATA[<p>Hunting Cloud Exfiltration In Jupyter Notebooks</p><p>By Meena Vyas, Craig Chamberlain</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*y4PYaLrgikYFKk4z" /></figure><p>So this is a follow-up to the RSA 2024 talk, “Catch Me if you Can: Hunting Cloud Exfiltration Using Anomaly Detection.”</p><p>This <a href="https://github.com/ramimac/aws-customer-security-incidents">repo </a>(acknowledgements to the work of @ramimac) catalogs many of the publicly known cloud security incidents. There have been four large scale cases of data exfiltration and several smaller ones. They are broken out by who detected or reported the incident — some were detected by vendors and some by customers. It’s interesting how the tactics plot differently between the two:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mLyqXTbO3RrD6CPw" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O2BWeQOpQ3s1u6kN" /></figure><p>While the vendor reported incidents are a mix of tactics, most of the customer reported incidents involved credentialed access.</p><p>Cloud exfil is not always detected as it happens and is sometimes uncovered later during incident response and investigation. Cloud intrusion sets often consist of credentialed access — someone’s credentials are compromised — which also can be resistant to detection. Why? One of the best answers to that comes from a public <a href="https://support.lastpass.com/s/document-item?language=en_US&amp;bundleId=lastpass&amp;topicId=LastPass/incident-2-details.html&amp;_LANG=enus">retro</a>:</p><p><em>“..the threat actor was able to leverage valid credentials stolen from a senior DevOps engineer to access a shared cloud-storage environment, which initially made it difficult for investigators to differentiate between threat actor activity and ongoing legitimate activity.”</em></p><p>Globally distributed cloud systems can also pose challenges to security teams organized around conventional endpoint or network instrumentation and tooling. In many cases, incidents of credentialed access do not originate from an endpoint, or even a network, that is under the control of the victim organization, in which case EDR and NSM tooling cannot see it. In order to detect credentialed access we need cloud service logs in some sort of analysis platform that can perform anomaly detection in addition to specification based detection using static rules. Why anomaly detection? I get into this in my talks from 2023 and 2024 but the short answer is that in cloud systems, most log events involve things that are <em>dual use</em> — the same methods to discover and exfiltrate data are used routinely to do authorized work. Many of these methods are used heavily enough to produce log entries numbering in the tens of millions. S3 audit events, when S3 is used as a data layer at scale, can number in the billions, in many log sets. Conventional rule-based alerting may find some instances of credentialed access, but will also produce an unacceptably high numbers of high false positives at this scale.</p><p>One of the most frequent requests heard at conferences is for some freely available code or tools that can be picked up and used to apply machine learning to cloud threat hunting. For this year’s RSA talk, we put together a sort of starter kit with Python code and a small example Cloudtrail dataset enriched with MITRE ATT&amp;Ck tactics. The Cloudtrail data came from a real world account and has been sanitized and tokenized so that it can be released.</p><p>In the Jupyter <a href="https://github.com/cyberdyne-ventures/dune/tree/main/Jupyter">folder</a>, there are four notebooks:</p><p><em>AD-notebook and AD-without-PCA</em> both run an ensemble of models and output anomalous events. An ensemble approach has the advantage of using many possible algorithms which shows us which ones produce outliers and which ones produce similar outliers. We set the outlier fraction as<strong> </strong>0.001 so we get around 25 outliers for each algorithm, which yields good signal for the test data. This fraction can be adjusted up or down as you like. We then give rank to each outlier based on how many algorithms selected that row as an outlier. The more algorithms detected that row as outlier, the more likely it is to be interesting. We drew an SNS heatmap using pairwise Pearson correlation to plot which algorithms are giving similar results.</p><p>We used a mix of the unsupervised outlier detections of different types like distance based, density based, and neural network algorithms. This table lists the algorithms used by category:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*_pwPD3P5FWLMS-UsjRTT9g.png" /></figure><p><em>exploratoryAnalysis:</em></p><p>This notebook is optional because the fields used by the anomaly detection notebooks are pre-configured for the test dataset. When starting any data science project, it can be important to have some understanding of the data first. We find out what all columns exist and then we choose selected fields on which we need to perform clustering. We check how many rows exist. Considering dimensions like data type, frequency count of all the columns and how many unique values exist. The notebooks computes the min value, max value, mean, standard deviation and 25,50,75 percentiles.</p><p><em>Dedupe</em>: a PoC for de-duplication of Cloudtrail events; this will be covered in another blog. Deduplication of Cloudtrail and Flow logs is one way of utilizing them for threat hunting and detection when you don’t have budget or tooling to do conventional processing and storage at scale.</p><p><em>K Means: a notebook doing clustering on the events for outlier detection</em></p><p>We first apply standardScalar and then apply PCA for dimensionality reduction. We set the outlier fraction as<strong> </strong>0.001 which yields a good signal for the test data. This fraction can be adjusted up or down as you like. This notebook run K-means, a popular clustering algorithm, with k=5 which produces five centroids (the hearts of the five clusters.) This outputs 26 outliers plotted with different colors for visualizing. What is the best value of k? To experiment with this, we run K-means using a parameter grid and use silhouette scores to get the best score and rerun the notebook with that k value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/0*W0ohuni3U0G_8hnu" /></figure><p>The image above is the scatterplot of the five clusters in the K-Means notebook. Most of the events are concentrated in two large clusters which is what we would expect At any given time, there will be large masses of similar CloudTrail log messages, mostly of which are benign most of the time. These are not good candidates for alerting. At the same time, you can see that there are a number of outliers scattered about, and these are what we are looking for. In cases of credentialed access, there are often a few outlier events that are similar to benign events, but a little bit different. Most benign cloud activity will form dense clusters and unauthorized activity will often produce outliers. There are some exceptions to this of course — nothing is absolute. Discovery and privilege elevation activity, in cloud environments, often creates large event volumes. We need a different hunt for that which will be covered in another blog.</p><p>At the end of the notebook we do some post-processing and search space reduction on the results. This is often important when using anomaly detection as an input to threat hunting workflows because the models don’t know which outliers are suspicious and which are benign anomalies, which usually exist in non-zero quantities. In cell 55, we go and grab each original row, from the cloudtrail dataframe, that was scored as an outlier, and return a dataframe for human consumption and review. In cell 57, we do a search space reduction by discarding the rows labeled with a tactic of discovery. We do this for a few reasons but mainly because a) the nature of discovery events tends to have more benign outliers and b) discovery, in itself, is not always the highest impact activity if it never progresses to persistence or lateral movement, so discovery outliers are not always the best place to start a hunt. Why would discovery events have more bening outliers? Think of it this way; when you go to a new office for the first time, you spend time engaged in discovery activities answering questions like , “Where is the office?” and “Can I gain access?” Once inside, you start to do work and you probably don’t repeat this discovery activity unless you are sent to a new office. In cloud environments, often highly automated, worker processes often engage in discovery or enumeration when they start, or when they start a new task. Once they have handles to the resources they want, they cease discovery and start doing transactional work. In both cases, discovery is an occasional activity with a variable length interval between sessions.</p><p>In the output of cell 57 you can see there are a few outliers involving high-impact actions. ConsoleLogin is directly relevant to credentialed access; CreateAccount and StartInstances have persistence relevance; and the actions named ListBuckets and ModifySnapshotAttribute are relevant to data exfiltration. Cloudtrail events are not natively labeled with ATT&amp;CK tactics so we have labeled this test dataset ourselves.</p><p>Finally, in cell 58, we reduce the set further to events labeled with the Exfiltration tactic in order to focus on exfil. These are mostly outlier ListBucket events which are anomalous because they are very sparse and came from unusual combinations of metadata like Source IP, user agent and user arn. Most benign things that use S3 either generate voluminous activity or none at all, and high event density in the process, so these kinds of sparse events are often interesting. There is also a single ModifySnapshotAttribute from an external IP address which is also interesting.</p><p>Could we turn these anomalies into alerts? The short answer is yes, we can take the most relevant and interesting anomalous events and turn each one into an individual alert, and send each alert into an alert queue, one at a time. We feel, however, after a long period of experimentation and operation at scale, that there is a better way to process these alerts and present them for human attention. We have made a prototype of a project we call Skynet — which was presented at DEF CON 2024 — that provides an alternative method of combining different kinds of alerts in a knowledge graph using a combination of heuristics and machine learning to deliver high signal, in real time at scale, in decisioning and presenting different kinds of alerts and alert sets. This will be the subject of a forthcoming series of blogs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=801e569debe3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/hunting-cloud-exfiltration-in-jupyter-notebooks-801e569debe3">Hunting Cloud Exfiltration In Jupyter Notebooks</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[Building a simple chatbot]]></title>
            <link>https://medium.com/analytics-vidhya/building-a-simple-chatbot-63a058089cec?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/63a058089cec</guid>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[rasa-nlu]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Sat, 04 Jun 2022 11:45:50 GMT</pubDate>
            <atom:updated>2022-06-04T11:45:50.761Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chatbot Statistics</h3><p>As per <a href="https://startupbonsai.com/chatbot-statistics/">https://startupbonsai.com/chatbot-statistics/</a>, Gartner predicted that by 2022, 70% of white-collar workers will interact with some form of chatbot by 2022.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*FR6wbJObr6VdTrPsU2BiTg.png" /><figcaption>Image taken from <a href="https://startupbonsai.com/wp-content/uploads/2021/04/2-Chatbot-Statistic-02.png">https://startupbonsai.com/wp-content/uploads/2021/04/2-Chatbot-Statistic-02.png</a></figcaption></figure><h3>Customers like chatbots because they give quick responses.</h3><p>Although I like Cool Technology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*bdFeldIHMMcsnRB5jMdkMQ.png" /><figcaption>Image taken from <a href="https://startupbonsai.com/wp-content/uploads/2021/04/9-Chatbot-Statistic-13.png">https://startupbonsai.com/wp-content/uploads/2021/04/9-Chatbot-Statistic-13.png</a></figcaption></figure><h3>Chatbot uses in Customer Support</h3><p>Chatbots are used in customer support for the following reasons:</p><ul><li>First line customer support to know to which representative we need to direct the customer call.</li><li>To collect customer feedback.</li><li>Help in order confirmation &amp; track shipping.</li></ul><h3>What is RASA NLU?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/108/1*sdpx5SuTh3sgAZ437xRt-g.png" /></figure><p>Rasa NLU (Natural Language Understanding) is an open source natural language processing tool to convert messages from users into intents and entities that chatbots understand.</p><h3>What is Intent ?</h3><p>Rasa uses the concept of intents to describe how user messages should be categorised. Rasa NLU will classify the user messages into one or also multiple user intents.</p><h3>What is Entity?</h3><p>Entities are structured pieces of information inside a user message. When deciding which entities you need to extract, think about what information your assistant needs for its user goals.</p><h3>Intent Entity example</h3><p>Let’s look at an example of “I want to buy air tickets from Bangalore to Delhi”</p><p>We can understand a few basic things:</p><ul><li>The person is interested in buying air tickets. (intent)</li><li>Source city is Bengaluru (entity)</li><li>Destination City is Delhi.(entity)</li></ul><p>As you can see that buying air tickets is the intent. Source and Destination Cities are the entities. They are the basic building blocks for most queries.</p><h3>Some Theory</h3><p>I have collected a few RASA NLU design pictures to explain how it works they say “A picture is worth a thousand words”. Images given below are from <a href="https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/">https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/</a> and <a href="https://rasa.com/blog/bending-the-ml-pipeline-in-rasa-3-0/">https://rasa.com/blog/bending-the-ml-pipeline-in-rasa-3-0/</a></p><h3>RASA Pipeline for 2.x versions</h3><p>RASA NLU Core Pipeline is as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*Ee-XhKAIpQbD8q5nQE_d3g.png" /><figcaption>Image is taken from <a href="https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/">https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/</a></figcaption></figure><h3>RASA 3.0 — NLU and Core Pipelines</h3><p>Their design has changed. This is RASA 3.0 Pipeline with DIET classifier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*NzStYQWOWhUcTpS2kU35Vg.png" /><figcaption>Image taken from <a href="https://rasa.com/blog/bending-the-ml-pipeline-in-rasa-3-0/">https://rasa.com/blog/bending-the-ml-pipeline-in-rasa-3-0/</a></figcaption></figure><h3>Tokenization and Lemmatization</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*iiwTaS0HcUgTyBquDaAEcQ.png" /><figcaption>Image is from <a href="https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/">https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/</a></figcaption></figure><h3>Features</h3><p>Image is from <a href="https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/">https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*qw6H_81hopWe95hrkRPxDA.png" /><figcaption>How word is converted into features</figcaption></figure><h3>Intent Classifiers</h3><p>Image from <a href="https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/">https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*DPhe7EoHDAVP_RKARSyXag.png" /><figcaption>How DIET classifier extracts intents and entities</figcaption></figure><h3>What is a Story?</h3><p>Stories are used to teach Rasa real conversation designs to learn from providing the basis for a scalable machine learning dialogue management.</p><h3>Creating A Simple Chatbot</h3><p>Let us create a bot. For simplicity we will just ask a question and let the bot reply “Found intent &lt;intent name&gt;”.</p><h3>Train questions from Quora kaggle dataset</h3><p>Let’s create a bot that replies to the following three questions</p><ul><li>What are the differences between clients and servers?</li><li>What is the difference between a server and a database?</li><li>How can I become a data scientist?</li></ul><p>I have taken these questions from <a href="https://www.kaggle.com/c/quora-question-pairs">https://www.kaggle.com/c/quora-question-pairs</a></p><h3>Initial Steps</h3><p>Initialize chatbot as shown below in a fresh directory</p><p>$ pip3 install rasa</p><p>$ rasa init -v — init-dir /tmp/mybot</p><h3>Manually Modify domain.xml, data/stories.yml, data/rules.yml and data/nlu.yml</h3><h4>In file data/nlu.yml : Add Intents</h4><p>Add each question in one intent. We can add multiple questions also in one intent if the have the same meaning but are structured in a different way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*eU2sl_2UWccCKxRykYlBzg.png" /><figcaption>Add 3 intents with questions</figcaption></figure><h4>In file data/stories.yml add stories</h4><p>In this example we have taken single question and answer story. We can add multiple sequential questions and answers also in a story. Add intents and actions in each story as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*NrMJTPPxNvznbTZoZNMGtg.png" /><figcaption>Add intents and its actions in each story in stories.yaml</figcaption></figure><h4>In file domain.yml : add intents and responses</h4><p>Add intents and responses in domain.yaml as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*f_bLyKpJt3LEMGH1X0-fxw.png" /><figcaption>Add intents and responses</figcaption></figure><h3>Final Steps</h3><p>Validate the files we have modified above. Train a model and start interacting with the rasa shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*AjbLxUpiVcRY7-sYXqLYNw.png" /><figcaption>Validate yaml files and train the model and start rasa shell</figcaption></figure><h3>Test Using Full Sentences</h3><p>When I type the sentences, it is able to identify the intent as expected.</p><p>Pink color ones are the words I typed and purple color lines are the replies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*cXdvVKOA1dxghHa5QUFgmQ.png" /><figcaption>When we give fill sentences, it is able to understand the intents</figcaption></figure><h3>Test using just words</h3><p>When I give individual words, it is able to identify the intent even with the words</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/1*3NB1tq_F3cjyq91zAtlxFQ.png" /><figcaption>When we just give words also it is able to understand the intents</figcaption></figure><p>All the files which I used in the demo are available in my github repository <a href="https://github.com/meenavyas/Misc/tree/master/Chatbot">here</a>.</p><h3>References</h3><ul><li><a href="https://rasa.com/">https://rasa.com/</a></li><li><a href="https://towardsdatascience.com/building-a-chatbot-with-rasa-3f03ecc5b324">https://towardsdatascience.com/building-a-chatbot-with-rasa-3f03ecc5b324</a></li><li><a href="https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/">https://rasa.com/blog/intents-entities-understanding-the-rasa-nlu-pipeline/</a></li><li><a href="https://startupbonsai.com/chatbot-statistics/">https://startupbonsai.com/chatbot-statistics/</a></li><li><a href="https://rasa.com/blog/bending-the-ml-pipeline-in-rasa-3-0/">https://rasa.com/blog/bending-the-ml-pipeline-in-rasa-3-0/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63a058089cec" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/building-a-simple-chatbot-63a058089cec">Building a simple chatbot</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[Solving Multi Knapsack problem using Linear Programming]]></title>
            <link>https://medium.com/analytics-vidhya/solving-multi-knapsack-problem-using-linear-programming-83b0ac4d53da?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/83b0ac4d53da</guid>
            <category><![CDATA[linear-programming]]></category>
            <category><![CDATA[dynamic-programming]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Sat, 04 Jun 2022 10:46:04 GMT</pubDate>
            <atom:updated>2022-06-05T15:29:56.129Z</atom:updated>
            <content:encoded><![CDATA[<h3>Problem Statement</h3><p>This is a multi knapsack problem. We have to execute a number of tasks on a fixed number of hosts. Duration of each task and the number hosts on which we want to distribute the tasks is fixed (in this case it is let’s say 3). Individual tasks can not be broken into smaller pieces. We need to distribute tasks into these “3” hosts. The aim is to distribute the tasks in such a way that total time to complete all tasks will be minimum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*nJUBO-HID6KflZKK8zG9gA.png" /><figcaption>Tasks and duration it takes to finish</figcaption></figure><p>One of the Solutions can be</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*l1jS4qdxrwfKA96Biad-5w.png" /><figcaption>Expected output. Total duration 9</figcaption></figure><p>Hence total time taken is 9.</p><h3>Solution</h3><p>This problem can be solved by Dynamic Programming but let us try solving it using linear programming.</p><h3>Linear Programming Solution</h3><p>I have used Pulp <a href="https://coin-or.github.io/pulp/">https://coin-or.github.io/pulp/</a> to solve the problem using python. <a href="https://github.com/meenavyas/Misc/blob/master/MultiKnapsackLinearProgramming.py">Here</a> is the link to my full code.</p><p>First come up with Linear Programming Equations as shown below.</p><p>Ideal expected time for all tasks to be executed on each host is (total_time_to_execute_tasks_sequential/number_of_hosts). The number_of_hosts is 3 in our case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*aXwbogMAPUDAYJ5azDo66Q.png" /></figure><p><strong>Objective</strong></p><p>Aim is to <strong>minimize</strong> the time tasks took to run on each host minus the ideal time. Objective is to keep running time on each host close to ideal average time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*4TlKEup2jSta4HUTTMoogA.png" /><figcaption>Objective</figcaption></figure><p>Here are the additional constraints:</p><p><em>(Variables starting with “if_” are of type boolean. They can take value of either 0 or 1)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*tPuYwoNhrQB8fbshox8uHQ.png" /><figcaption>Constraints : Host should not be idle. Each task can be run on maximum one host.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*qccG6-SDIhRgfDo9K8GTag.png" /><figcaption>Time taken to run tasks on each host minus ideal time</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*HlOibTyWgMAJBl5B2V14ww.png" /><figcaption>Calculate absolute difference of deviation from ideal time. Should be minimum as per the objective.</figcaption></figure><p>When I run <a href="https://github.com/meenavyas/Misc/blob/master/MultiKnapsackLinearProgramming.py">this</a> code, I get this output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*ejHbTCQzxjZqWu9O8qyk3g.png" /><figcaption>Output shows which task should be run on which host. It matches with our expected outcome of total duration 9.</figcaption></figure><p>Conclusion</p><p>This problem can be solved by Dynamic Programming but using Linear Programming we can solve problems where even if one or more constraints are not fitting it will try to fit the rest of the constraints.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83b0ac4d53da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/solving-multi-knapsack-problem-using-linear-programming-83b0ac4d53da">Solving Multi Knapsack problem using Linear Programming</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[Semantic Web and its role in Data Science]]></title>
            <link>https://medium.com/analytics-vidhya/semantic-web-and-its-role-in-data-science-600d6387aef0?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/600d6387aef0</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[semanticweb]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Sat, 31 Oct 2020 13:37:18 GMT</pubDate>
            <atom:updated>2020-11-05T13:47:19.242Z</atom:updated>
            <content:encoded><![CDATA[<p>The Semantic Web Technology has a lot of potential to facilitate web data to be quickly understood by machines. With original data and a semantic triplet database, one can convert data into useful knowledge. NLP and Semantic Web technologies if combined can provide the capability of processing a mix of structured and large quantity of unstructured data.</p><p>Here are some of the term definitions I have collected :</p><p><strong>What is Semantic Web?</strong></p><p>The <strong>Semantic Web</strong> is an extension of the World Wide Web through standards set by the World Wide Web Consortium (W3C). The goal of the Semantic Web is to make internet data machine-readable to be consumed by machines. <strong>Metadata</strong> added to Web pages can make the existing World Wide Web machine readable.</p><p><strong>Schema.org</strong> is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond. Over 10 million sites use Schema.org to markup their web pages and email messages</p><p><strong>OWL</strong>: The W3C Web Ontology Language (OWL) is a Semantic Web language designed to represent rich and complex knowledge about things, groups of things, and relations between things.</p><p><strong>Ontology</strong>: Ontology encompasses a representation, formal naming and definition of the categories, properties and relations between the concepts, data and entities that substantiate one, many or all domains of discourse. Ontology is a way of showing the properties of a subject area and how they are related, by defining a set of concepts and categories that represent the subject. For example, ontology can describe concepts, relationships between entities, and categories of things.</p><p><strong>Triple: </strong>A triple is a subject, predicate and object (SPO). For example, in Bob plays Guitar, Subject is Bob, Predicate is plays and Object is Guitar. This is the same as an edge in a graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*m2oup01ohb5da6lSOkufWA.png" /></figure><p><strong>RDF</strong>: The Resource Description Framework (RDF) is a standard model for data interchange and expressing graph data for the World Wide Web. RDF extends the linking structure of the Web to use URIs to name the relationship between things as well as the two ends of the link (“triple”). Using this simple model, it allows structured and semi-structured data to be mixed, exposed, and shared across different applications.</p><p>Graph resulted from RDFa is shown below (Image is taken from <a href="https://en.wikipedia.org/wiki/Semantic_Web#/media/File:RDF_example.svg">https://en.wikipedia.org/wiki/Semantic_Web#/media/File:RDF_example.svg</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JhGcMb37bdTPvDqZOUvolA.png" /></figure><p><strong>RDF Schema</strong> (RDFS): RDF Schema provides a data-modelling vocabulary for RDF data. RDF Schema is an extension of the basic RDF vocabulary.</p><p><strong>RDF Triple store</strong>: The RDF triple store is a type of graph database that stores semantic facts.</p><p><strong>Semantic Reasoner</strong>: A <strong>semantic reasoner</strong>, <strong>reasoning engine</strong>, <strong>rules engine</strong>, or simply a <strong>reasoner</strong>, is a piece of software able to infer logical consequences from a set of asserted facts or axioms. The notion of a semantic reasoner generalizes that of an inference engine, by providing a richer set of mechanisms to work with. The inference rules are commonly specified by means of an ontology language, and often <strong>a description logic</strong> language.</p><p><strong>How is a RDF Triple Store Database more suited than a relational database for storing Semantic Web Data?</strong></p><p>In RDF triple store, all entities will be designed as a triple of Subject Property Value or Subject Predicate Object (SPO)</p><p>RDF triple stores focus solely on storing rows of RDF triples. In relational Database, it would be similar to</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/179/1*GOwkkqIdT9A0uVK65QPjSA.png" /></figure><p>If we model the same Subject Property into a relational Database, we will have a lot of tables with just two columns. It will have a massive number of tables. We can have one table with super sparse 150 columns with 3 entries in it. We ingest from multiple sources with many changing entity types, in SQL you end up with one very wide, very sparsely populated table or too many tables. Also, you end up with dynamic DDL/schemas. That’s why triple stores are more suited for storing and querying this kind of data. Apache Rya is a cloud-based RDF triple store that supports SPARQL queries.</p><p><strong>How is a triple store different from a Graph Database?</strong></p><p>Graph traversal seems easy but supernodes kill everything.</p><blockquote>A &quot;supernode&quot; is a vertex with a disproportionately high number of incident edges. While supernodes are rare in natural graphs, they show up frequently during graph analysis. The reason being is that supernodes are connected to so many other vertices that they exist on numerous paths in the graph. Therefore, an arbitrary traversal is likely to touch a supernode. In graph computing, supernodes can lead to system performance problems.</blockquote><p>Property Graphs have not solved this problem.</p><p>Triple stores and W3C standard OWL are designed to be &#39;internet scale&#39;.</p><p>You can just have another relation in RDF. What you can&#39;t do is things like increment a property - you can only set them in RDF. This makes some things difficult, but is why it scales better. In a property database, edges and nodes can have properties built in. In RDF you can just say Person has Age as another relation. The built-in properties and edges are the pain point for performance. If you want to update an edge in a graph, you have to find it, by id normally, then update it. If you want to update an edge in an RDF graph, you just throw a new one in there. Same for insertion, you have to have a way of assigning new ids, which works on one machine but not so well when you go distributed.</p><p><strong>Linked Open Data : </strong>Linked Open Data defines a vision of globally accessible and linked data on the internet based on the RDF standards of the semantic web. RDF triple store databases are successfully used for managing Linked Open Data datasets, such as <a href="http://dbpedia.org/">DBPedia</a> and <a href="http://www.geonames.org/">GeoNames</a>, which are published as RDFs and are interconnected. Linked Open Data allows for querying and answering queries much faster and for obtaining highly relevant search results.</p><p>Thanks to Nigel Brown for the insights.</p><h3>Some good tutorials I found on Semantic Web</h3><ul><li>Playlist Semantic Web Tutorial: <a href="https://www.youtube.com/playlist?list=PLea0WJq13cnDDe8V7eVLReIaOnFztOEAq">https://www.youtube.com/playlist?list=PLea0WJq13cnDDe8V7eVLReIaOnFztOEAq</a></li><li>Coursera course “Web of Data” : <a href="https://www.coursera.org/learn/web-data/home/welcome">https://www.coursera.org/learn/web-data/home/welcome</a></li><li>Quick Introduction to RDF : <a href="https://www.youtube.com/watch?v=zeYfT1cNKQg">https://www.youtube.com/watch?v=zeYfT1cNKQg</a></li></ul><h3>References</h3><ul><li>Semantic Reasoner <a href="https://en.wikipedia.org/wiki/Semantic_reasoner">https://en.wikipedia.org/wiki/Semantic_reasoner</a></li><li>RYA : Optimizations to Support Real Time <a href="https://www.youtube.com/watch?v=0OWSpFaDR_M">https://www.youtube.com/watch?v=0OWSpFaDR_M</a></li><li>Differences between a graph database and RDF <a href="https://nextweb.gnoss.com/en/resource/what-are-the-differences-between-a-graph-database/ced22960-845d-410f-9e3c-5616c603993e/">https://nextweb.gnoss.com/en/resource/what-are-the-differences-between-a-graph-database/ced22960-845d-410f-9e3c-5616c603993e\</a></li><li><a href="https://en.wikipedia.org/wiki/Semantic_Web">https://en.wikipedia.org/wiki/Semantic_Web</a></li><li><a href="https://www.cambridgesemantics.com/blog/semantic-university/comparing-semantic-technologies/nlp-semantic-web/">https://www.cambridgesemantics.com/blog/semantic-university/comparing-semantic-technologies/nlp-semantic-web/</a></li><li><a href="https://www.ontotext.com/knowledgehub/fundamentals/what-is-rdf-triplestore">https://www.ontotext.com/knowledgehub/fundamentals/what-is-rdf-triplestore</a></li><li><a href="https://www.w3.org/egov/wiki/Linked_Open_Data">https://www.w3.org/egov/wiki/Linked_Open_Data</a></li><li><a href="https://computer.howstuffworks.com/semantic-web.htm">https://computer.howstuffworks.com/semantic-web.htm</a></li><li><a href="https://dzone.com/articles/solution-supernode-problem#:~:text=in%20graph%20theory%20and%20network,up%20frequently%20during%20graph%20analysis">https://dzone.com/articles/solution-supernode-problem#:~:text=in%20graph%20theory%20and%20network,up%20frequently%20during%20graph%20analysis</a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=600d6387aef0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/semantic-web-and-its-role-in-data-science-600d6387aef0">Semantic Web and its role in Data Science</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[Differential Privacy in Machine Learning Algorithms]]></title>
            <link>https://meenavyas.medium.com/differential-privacy-in-machine-learning-algorithms-9a4047b64875?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a4047b64875</guid>
            <category><![CDATA[differential-privacy]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Fri, 12 Jun 2020 13:10:06 GMT</pubDate>
            <atom:updated>2020-06-17T11:10:49.193Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qkJkfbtzdGW0jbRi" /></figure><p>(Image taken from tensor flow blog <a href="https://blog.tensorflow.org/2019/03/introducing-tensorflow-privacy-learning.html">https://blog.tensorflow.org/2019/03/introducing-tensorflow-privacy-learning.html</a>)</p><p>I was checking out Machine Learning with differential privacy in Tensor Flow in <a href="http://www.cleverhans.io/privacy/2019/03/26/machine-learning-with-differential-privacy-in-tensorflow.html">http://www.cleverhans.io/privacy/2019/03/26/machine-learning-with-differential-privacy-in-tensorflow.html</a></p><blockquote>Differential Privacy is a framework for measuring the privacy guarantees provided by an algorithm. Through the lens of differential privacy, we can design machine learning algorithms that responsibly train models on private data. Learning with differential privacy provides provable guarantees of privacy, mitigating the risk of exposing sensitive training data in machine learning.</blockquote><blockquote>A model trained with differential privacy should not be affected by any single training example, or small set of training examples, in its data set. If a single training point does not affect the outcome of learning, the information contained in that training point cannot be memorized and the privacy of the individual who contributed this data point to our dataset is respected.</blockquote><p>I took simple CNN code to identify MNIST database of handwritten digits using Gradient Descent Optimizer. (iPython Notebook link <a href="https://github.com/meenavyas/Misc/blob/master/DifferentialPrivacy/SimpleMnistWithoutDifferentialPrivacy.ipynb">SimpleMnistWithoutDifferentialPrivacy.ipynb</a>). Also I have used <strong>DP</strong> Gradient Descent Gaussian Optimizer and random noise which is a slightly modified code of what is given in tensor flow examples. (iPython Notebook link <a href="https://github.com/meenavyas/Misc/blob/master/DifferentialPrivacy/Classification_Privacy.ipynb">Classification_Privacy.ipynb</a>). And then I have compared the two.</p><h3>Time</h3><p>Training images are 60,000 each of size 28x28x1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7N_NM6RXLryNN3QVuYvRxQ.png" /></figure><p>Time taken to train normal in 240 epochs : <strong>98</strong> seconds</p><p>Time taken to train with Differential Policy in 240 epochs : <strong>106</strong> seconds</p><p>Around 8% more time is taken to train the images.</p><h3><strong>Accuracy and Loss</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b6WCngbWQmNu76UCOIPpAQ.png" /></figure><blockquote>The basic idea is to use differentially private stochastic gradient descent (DP-SGD), is to modify the gradients used in stochastic gradient descent (SGD). Models trained with DP-SGD provide provable differential privacy guarantees for their input data. There are two modifications made to the vanilla SGD algorithm:</blockquote><blockquote>• First, the sensitivity of each gradient needs to be bounded. In other words, we need to limit how much each individual training point sampled in a mini-batch can influence gradient computations and the resulting updates applied to model parameters. This can be done by clipping each gradient computed on each training point.</blockquote><blockquote>• Random noise is sampled and added to the clipped gradients to make it statistically impossible to know whether or not a particular data point was included in the training dataset by comparing the updates SGD applies when it operates with or without this particular data point in the training dataset.</blockquote><p>BoltOn Privacy adds randomness to weights. Refer <a href="https://github.com/tensorflow/privacy/blob/master/tutorials/bolton_tutorial.py">https://github.com/tensorflow/privacy/blob/master/tutorials/bolton_tutorial.py</a></p><p>There is a nice video about that in <a href="https://towardsdatascience.com/building-differentially-private-machine-learning-models-using-tensorflow-privacy-52068ff6a88e">https://towardsdatascience.com/building-differentially-private-machine-learning-models-using-tensorflow-privacy-52068ff6a88e</a></p><p>References</p><ul><li><a href="https://github.com/meenavyas/Misc/blob/master/DifferentialPrivacy/SimpleMnistWithoutDifferentialPrivacy.ipynb">https://github.com/meenavyas/Misc/blob/master/DifferentialPrivacy/SimpleMnistWithoutDifferentialPrivacy.ipynb</a></li><li><a href="https://github.com/meenavyas/Misc/blob/master/DifferentialPrivacy/Classification_Privacy.ipynb">https://github.com/meenavyas/Misc/blob/master/DifferentialPrivacy/Classification_Privacy.ipynb</a></li><li><a href="http://www.cleverhans.io/privacy/2019/03/26/machine-learning-with-differential-privacy-in-tensorflow.html">http://www.cleverhans.io/privacy/2019/03/26/machine-learning-with-differential-privacy-in-tensorflow.html</a></li><li><a href="https://en.wikipedia.org/wiki/Differential_privacy">https://en.wikipedia.org/wiki/Differential_privacy</a></li><li><a href="https://colab.research.google.com/github/ricardocarvalhods/dpcgan/blob/master/DP_CGAN_MNIST.ipynb#scrollTo=7K1HkyrBeWiW&amp;uniqifier=1">https://colab.research.google.com/github/ricardocarvalhods/dpcgan/blob/master/DP_CGAN_MNIST.ipynb#scrollTo=7K1HkyrBeWiW&amp;uniqifier=1</a></li><li><a href="http://yann.lecun.com/exdb/mnist/">http://yann.lecun.com/exdb/mnist/</a></li><li><a href="https://github.com/tensorflow/privacy/blob/master/tutorials/mnist_dpsgd_tutorial.py">https://github.com/tensorflow/privacy/blob/master/tutorials/mnist_dpsgd_tutorial.py</a></li><li><a href="https://github.com/tensorflow/privacy/blob/master/tutorials/Classification_Privacy.ipynb">https://github.com/tensorflow/privacy/blob/master/tutorials/Classification_Privacy.ipynb</a></li><li><a href="https://github.com/tensorflow/privacy/blob/master/tutorials/walkthrough/mnist_scratch.py%E2%80%A8">https://github.com/tensorflow/privacy/blob/master/tutorials/walkthrough/mnist_scratch.py</a></li><li><a href="https://github.com/tensorflow/privacy/blob/master/tutorials/Classification_Privacy.ipynb">https://github.com/tensorflow/privacy/blob/master/tutorials/Classification_Privacy.ipynb</a></li><li><a href="https://meenavyas.files.wordpress.com/2020/06/92c37-tfprivacy.png">https://meenavyas.files.wordpress.com/2020/06/92c37-tfprivacy.png</a></li><li><a href="https://blog.tensorflow.org/2019/03/introducing-tensorflow-privacy-learning.html">https://blog.tensorflow.org/2019/03/introducing-tensorflow-privacy-learning.html</a></li><li><a href="https://venturebeat.com/2020/05/19/microsoft-debuts-whitenoise-an-ai-toolkit-for-differential-privacy/">https://venturebeat.com/2020/05/19/microsoft-debuts-whitenoise-an-ai-toolkit-for-differential-privacy/</a></li><li><a href="https://github.com/tensorflow/privacy/blob/master/tutorials/bolton_tutorial.py">https://github.com/tensorflow/privacy/blob/master/tutorials/bolton_tutorial.py</a></li><li><a href="https://towardsdatascience.com/building-differentially-private-machine-learning-models-using-tensorflow-privacy-52068ff6a88e">https://towardsdatascience.com/building-differentially-private-machine-learning-models-using-tensorflow-privacy-52068ff6a88e</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a4047b64875" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Image Segmentation]]></title>
            <link>https://meenavyas.medium.com/image-segmentation-c69f0af9554e?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c69f0af9554e</guid>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[image-segmentation]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Sat, 12 Jan 2019 15:24:58 GMT</pubDate>
            <atom:updated>2019-01-30T09:42:35.258Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*Ilw1lZTFLe_d4IHC" /></figure><p>In <a href="https://en.wikipedia.org/wiki/Computer_vision">computer vision</a>, <strong>image segmentation</strong> is the process of partitioning an image into multiple segments and associating every pixel in an input image with a class label.</p><p>Semantic segmentation algorithms are used in self-driving cars.</p><p>I got intrigued by<a href="https://lnkd.in/exeT_YV"> this post</a> by Lex Fridman on driving scene segmentation. I wanted to see if it works on difficult and different Indian terrain.</p><p>So I have created a<a href="https://youtu.be/GsojVvN2E4o"> short video</a> of Tawang, in Arunachal Pradesh India. The video is of duration 16 seconds and it contains around 325 image frames.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGsojVvN2E4o%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGsojVvN2E4o&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGsojVvN2E4o%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b4fec8fd76f0ec5691500041ec056fa/href">https://medium.com/media/4b4fec8fd76f0ec5691500041ec056fa/href</a></iframe><p>Refer <a href="https://github.com/meenavyas/Misc/blob/master/ImageSegmentation/imageSegmentation.ipynb">this ipython notebook</a> I have used. It is based on <a href="https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb">tutorial_driving_scene_segmentation.ipynb. </a>It downloads ‘mobilenetv2_coco_cityscapes_trainfine’ model from tensor flow.</p><p>Different models in Tensor Flow deeplab are given in the link <a href="https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/model_zoo.md">https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/model_zoo.md</a></p><p><em>MobileNet-v2</em> based model has been pre-trained on MS-COCO dataset and does not employ ASPP and decoder modules for fast computation. You can choose any pre-trained Tensor Flow model that suits your need.</p><p>This model classifies pixels into the following classes</p><pre>&#39;road&#39;, &#39;sidewalk&#39;, &#39;building&#39;, &#39;wall&#39;, &#39;fence&#39;, &#39;pole&#39;, &#39;traffic light&#39;, &#39;traffic sign&#39;, &#39;vegetation&#39;, &#39;terrain&#39;, &#39;sky&#39;, &#39;person&#39;, &#39;rider&#39;, &#39;car&#39;, &#39;truck&#39;, &#39;bus&#39;, &#39;train&#39;, &#39;motorcycle&#39;, &#39;bicycle&#39;</pre><p>Color code of the classes is shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/114/0*0XwVkMPt4ZSXCFH9" /></figure><p>For all the pictures same color coding is used for the same classes. I ran the model on a two images first, here is the output</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*9J8EYZwY1v0qAFq6" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*GJPgot_5ZDx2u6Yj" /></figure><p>then I ran the model on the whole video. Here is the<a href="https://youtu.be/erVQOruYHw4"> link to the output video.</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FerVQOruYHw4%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DerVQOruYHw4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FerVQOruYHw4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/57976c76600ce027bd9105b9a837fce6/href">https://medium.com/media/57976c76600ce027bd9105b9a837fce6/href</a></iframe><p>Comparisons of some of the images and their output is shown in the table given below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X9VqPteI47NKb-ipIjtvcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8sHRTeL9BOuscaUafDI8rA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G9ipz3Hz0aMG6h4zHgqHiA.png" /></figure><h4>Thoughts</h4><ul><li>The model is trained on city images but the input I gave was of a mountainous region. We may get better results if we gave city videos.</li><li>We are using 2D segmentation model. In 3D segmentation we will get better results. It will be able to guess the depth.</li><li>We are running model per image in the video. We are not taking advantage of information in 2 consecutive frames and correlating them.</li><li>Model wasn’t trained mountains or lakes as they were not in the training set output classes.</li><li>Input video is not taken from car dashboard as in training set. We may get better results if we do so.</li><li>If the objects are far off accuracy of prediction may not be good.</li><li>Some roads are not cemented or tarred but are mud roads. And in these places there is no road/pavement distinction. May be the model was trained on better proper roads we would get better results.</li></ul><h4>References</h4><ul><li><a href="https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb">https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb</a></li><li><a href="https://lnkd.in/exeT_YV">https://lnkd.in/exeT_YV</a></li><li><a href="https://www.youtube.com/watch?v=IaeMRtjnV1o">https://www.youtube.com/watch?v=IaeMRtjnV1o</a></li><li><a href="https://en.wikipedia.org/wiki/Image_segmentation">https://en.wikipedia.org/wiki/Image_segmentation</a></li><li><a href="https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/model_zoo.md">https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/model_zoo.md</a></li></ul><p><em>Originally published at </em><a href="https://meenavyas.wordpress.com/2019/01/12/image-segmentation/"><em>meenavyas.wordpress.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c69f0af9554e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anomaly Detection]]></title>
            <link>https://meenavyas.medium.com/anomaly-detection-399e70cda518?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/399e70cda518</guid>
            <category><![CDATA[anomaly-detection]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[svm]]></category>
            <category><![CDATA[knn]]></category>
            <category><![CDATA[isolation-forests]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Tue, 08 Jan 2019 12:53:40 GMT</pubDate>
            <atom:updated>2019-01-30T09:30:54.142Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/504/0*yrE_94UWw414eOho" /></figure><p><strong>What is Anomaly Detection</strong></p><p>In data science, <strong>anomaly detection</strong> is the identification of rare items, events or observations which raise suspicions by differing significantly from the majority of the data.</p><p>In the following figure anomaly data which is a spike (shown in red color). But the same spike occurs at frequent intervals is not an anomaly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oWHZUb0199rk_O6D6o8rrw.png" /></figure><p>There are 3 types of Machine Learning Techniques</p><ul><li><strong>Supervised Machine learning</strong></li><li><strong>Unsupervised Machine Learning</strong></li><li><strong>Semi- supervised Machine learning</strong></li></ul><p>Refer <a href="https://machinelearningmastery.com/supervised-and-unsupervised-machine-learning-algorithms/">https://machinelearningmastery.com/supervised-and-unsupervised-machine-learning-algorithms/</a> for more details.</p><p><strong>Unsupervised anomaly detection </strong>techniques detect anomalies in an <strong>unlabeled</strong> test data set under the assumption that the majority of the instances in the data set are normal by looking for instances that seem to fit least to the remainder of the data set.</p><p>We will need Unsupervised Anomaly detection when we don’t have labelled data. i.e. we don’t have data with label of when anomaly has occurred.</p><p>Different types of Anomaly detection techniques are described below.</p><p>A safe bet is to use <strong>wisdom of the crowds </strong>by using multiple ensemble methods. We can then choose to combine them through majority vote, or union or intersection of the individual algorithms’ verdicts.</p><h4>Isolation Forest and LoF</h4><ul><li>This is nearest neighbour based Anomaly detection</li><li><strong>sklearn</strong> has IsolationForest and <strong>LocalOutlierFactor (LoF)</strong></li><li>If data is too big, there is an implementation of LoF for spark</li></ul><h4>‘K’ Nearest Neighbour</h4><ul><li>This is a Nearest Neighbour based approach</li><li>Simply finding z-scores to ‘k’ nearest neighbors and using cutoff of 3 works surprisingly well in practice (though is limited to global anomalies only and can’t figure out local outliers).</li></ul><h4>One class SVM</h4><ul><li>Classification based approach</li><li>One-class Support Vector Machine (OCSVM), can be used as an unsupervised anomaly detection method.</li><li>However, to work well, the percentage of anomalies in the dataset needs to be low.</li></ul><h4>CBOF (Cohesiveness Based Outlier Factor</h4><p>It is a clustering based Anomaly detection.</p><h4>Deep Learning LSTM/Auto encoders</h4><ul><li>RNN, LSTM (long short term memory), auto encoders Neural network approach</li><li>Available in Keras/Tensorflow and other libraries</li><li>Typically neural networks need a lot of data</li></ul><p>There are some more methods like probability based multivariate gaussian distribution, PCA,t-SNE.</p><p>Feel free to walk through my ipython notebook <a href="https://github.com/meenavyas/Misc/blob/master/AnomalyDetection.ipynb">https://github.com/meenavyas/Misc/blob/master/AnomalyDetection.ipynb</a></p><p>In this notebook , I have tried IsolationForest amd Lof. As you can see in the plots given below, points which got high scoring from these algorithms are anomalies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*V_d5CnOJkVM-ZTUzyLmlqg.png" /></figure><p>When we run anomaly detection automatically on streaming data for that we may need infrastructure like Apache Spark.</p><h4>References</h4><ul><li><a href="https://en.wikipedia.org/wiki/Anomaly_detection">https://en.wikipedia.org/wiki/Anomaly_detection</a></li><li>More about the dataset used <a href="http://odds.cs.stonybrook.edu/http-kddcup99-dataset/">http://odds.cs.stonybrook.edu/http-kddcup99-dataset/</a></li><li><a href="https://github.com/scikit-learn/scikit-learn/blob/master/benchmarks/bench_isolation_forest.py">https://github.com/scikit-learn/scikit-learn/blob/master/benchmarks/bench_isolation_forest.py</a></li><li><a href="https://github.com/scikit-learn/scikit-learn/blob/master/benchmarks/bench_lof.py">https://github.com/scikit-learn/scikit-learn/blob/master/benchmarks/bench_lof.py</a></li><li><a href="https://scikit-learn.org/stable/auto_examples/plot_anomaly_comparison.html#sphx-glr-auto-examples-plot-anomaly-comparison-py">https://scikit-learn.org/stable/auto_examples/plot_anomaly_comparison.html#sphx-glr-auto-examples-plot-anomaly-comparison-py</a></li></ul><p><em>Originally published at </em><a href="https://meenavyas.wordpress.com/2019/01/08/anomaly-detection"><em>meenavyas.wordpress.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=399e70cda518" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Face recognition - can we identify “Boy” from “Alien”?]]></title>
            <link>https://meenavyas.medium.com/face-recognition-can-we-identify-boy-from-alien-9725506cbb47?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9725506cbb47</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[face-recognition]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Thu, 27 Dec 2018 13:56:44 GMT</pubDate>
            <atom:updated>2019-01-30T09:21:10.614Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*cRA-myxbi_RkHOOD" /></figure><p>The question is can we identify “Boy” from “Alien”?</p><p>Face Recognition addresses “who is this identity” question. This is a 1:K matching problem. We have a database of K faces we have to identify whose image is the give input image.</p><p>Facenet is Tensorflow implementation of the face recognizer described in the paper <a href="http://arxiv.org/abs/1503.03832">“FaceNet: A Unified Embedding for Face Recognition and Clustering”</a>.</p><p>FaceNet learns a neural network that encodes a face image into a vector of 128 numbers. By comparing two such vectors, we can then determine if two pictures are of the same identity. FaceNet is trained by minimizing the triplet loss. For more information on triplet loss refer <a href="https://machinelearning.wtf/terms/triplet-loss/">https://machinelearning.wtf/terms/triplet-loss/</a></p><p>Since training requires a lot of data and a lot of computation, I haven’t trained it from scratch here.</p><p>I have used previously trained model. I have taken the inception networks model implementation and weights from <a href="https://www.coursera.org/learn/convolutional-neural-networks?specialization=deep-learning">4th course deeplearning.ai “Convolutional Neural Networks” from Coursera</a>.</p><p>The network architecture follows the Inception model from [Szegedy *et al.](<a href="https://arxiv.org/abs/1409.4842">https://arxiv.org/abs/1409.4842</a>).</p><p>More details about inception v1 is in this blog <a href="https://www.analyticsvidhya.com/blog/2018/10/understanding-inception-network-from-scratch">https://www.analyticsvidhya.com/blog/2018/10/understanding-inception-network-from-scratch</a>/</p><p>This network uses 96×96 dimensional RGB images as its input. It encodes each input face image into a 128-dimensional vector.</p><p>First, for each image of “Alien” and “Boy” (I have taken 52 images of each), I converted them into encoding and stored into a database.</p><p>Here is the code that does that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*qh_YiY9_IM-i9Zr8" /></figure><h3>What happens when Alien and Boy will pass through our image recognition system?</h3><p>For each of the images of “Alien” and “Boy”, first compute the target encoding of the image from image path. Find the encoding from the database that has smallest distance with the target encoding.</p><p>If minimum distance (L2 distance between the target “encoding” and the current “encoding” from the database) is greater than 0.7 we assume the face is not in the database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*NZ40BgszIo6QE9gE" /></figure><h3>When Alien tries to pass through our face recognition system</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*UEfFMs5TdxobHepUVo-R0w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*QMu69qKZdeAPBgEfd2d1jg.png" /></figure><p>Note that there is no image in the database like the green eyed image. distance is 0.5105655. So ay be we can keep a cut off at 0.5 instead of 0.7</p><h3>When Boy tries to pass through our face recognition system</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*fGBtr7mJZdN-PxlbEKmAPA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*t30sG95nd8m3yO3q1m93wQ.png" /></figure><p>Results look pretty good.</p><h3>Summary</h3><ul><li>We should re-train facenet with Alien and Boy pictures to get better results.</li><li>Image dimensions were only 96×96 so that could have thrown a lot of information away</li><li>Model was trained on human faces which has different embeddings than cats</li><li>I have split database images and final images based on dates on which pictures were taken assuming pictures of the same dates must be similar. On inspection, I found that in the cases were the final<strong> images are very different from images we added in database</strong> that is they were never seen before, the results are incorrect. This can be fixed by adding more different types of images in the database.</li></ul><p><em>Originally published at </em><a href="https://meenavyas.wordpress.com/2018/12/27/face-detection-can-we-identify-boy-from-alien"><em>meenavyas.wordpress.com</em></a><em> .</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9725506cbb47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Object Detection Using OpenCV YOLO]]></title>
            <link>https://meenavyas.medium.com/object-detection-using-opencv-yolo-1bd99c48f61a?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bd99c48f61a</guid>
            <category><![CDATA[yolo]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[opencv]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Tue, 04 Dec 2018 14:36:39 GMT</pubDate>
            <atom:updated>2019-01-30T09:04:53.293Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*0QEIgeYaFkby69uo" /></figure><p>You only look once (YOLO) is a state-of-the-art, real-time object detection system.</p><p>It applies a single neural network to the full image. This network divides the image into regions and predicts bounding boxes and probabilities for each region. These bounding boxes are weighted by the predicted probabilities. It looks at the whole image at test time so its predictions are informed by global context in the image. It is extremely fast, more than 1000x faster than R-CNN and 100x faster than Fast R-CNN.</p><p>Non-Maxima Suppression : During prediction time you may have lot’s of box predictions around a single object the non maxima supression algorithm will filter out those boxes that overlap between each other and also some threshold.</p><p>I tried object detection on <a href="https://github.com/meenavyas/Misc/blob/master/ObjectDetectionUsingYolo/1.mp4">this video</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*O9TSQyfpD38R-cvw" /></figure><p>Download the following files :</p><ul><li><a href="https://github.com/meenavyas/Misc/blob/master/ObjectDetectionUsingYolo/yolov3.cfg">yolov3.cfg</a></li><li>yolov3.weight which contains pre-trained weights using wget command as shown below</li></ul><pre>wget https://pjreddie.com/media/files/yolov3.weights</pre><ul><li><a href="https://github.com/meenavyas/Misc/blob/master/ObjectDetectionUsingYolo/yolov3.txt">yolov3.txt</a> which contains all the class names this library can detect.</li></ul><p>Import relevant packages. Add random color to each class which will be used to draw rectangles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*Ih_AhK5-OmFF-htH" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*nsFtJ9uaibte4Lvs" /></figure><p>For each image, call processImage function which does the following</p><ul><li>Takes image frame as input</li><li>read pre-trained model,</li><li>Gather predictions</li><li>If confidence is less than 0.5 ignore the detection</li><li>Apply non-max suppression</li><li>Draw boundary boxes</li><li>Save the output images with boundary boxes</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*4TaJOrKe1j1zp4-y" /></figure><p>Now we try to observe a few of these output images</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*xGn7M7xNeH4cJyde" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*hxhv1a0KtZdG2Khy" /></figure><p>Due to non maxima suppression sometimes if the two cars are in the same area, one gets undetected at times.</p><p>Refer my ipython notebook <a href="https://github.com/meenavyas/Misc/blob/master/ObjectDetectionUsingYolo/ObjectDetectionUsingYolo.ipynb">https://github.com/meenavyas/Misc/blob/master/ObjectDetectionUsingYolo/ObjectDetectionUsingYolo.ipynb</a> for full source code.</p><p>References and thanks to</p><ul><li><a href="https://www.arunponnusamy.com/yolo-object-detection-opencv-python.html">https://www.arunponnusamy.com/yolo-object-detection-opencv-python.html</a></li><li><a href="https://pjreddie.com/darknet/yolo/">https://pjreddie.com/darknet/yolo/</a></li><li><a href="https://leonardoaraujosantos.gitbooks.io/artificial-inteligence/content/single-shot-detectors/yolo.html">https://leonardoaraujosantos.gitbooks.io/artificial-inteligence/content/single-shot-detectors/yolo.html</a></li></ul><p><em>Originally published at </em><a href="https://meenavyas.wordpress.com/2018/12/04/object-detection-using-opencv-yolo"><em>meenavyas.wordpress.com</em></a><em> on December 4, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bd99c48f61a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cat face detection using OpenCV]]></title>
            <link>https://meenavyas.medium.com/cat-face-detection-using-opencv-3f07ea8f4543?source=rss-bb090ad19ff1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f07ea8f4543</guid>
            <category><![CDATA[opencv]]></category>
            <category><![CDATA[object-detection]]></category>
            <dc:creator><![CDATA[Meena Vyas]]></dc:creator>
            <pubDate>Fri, 23 Nov 2018 16:10:24 GMT</pubDate>
            <atom:updated>2019-01-30T09:02:04.247Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*h6RXiBX45KuLFhgo" /></figure><p>In this blog I am going to explain object detection using OpenCV library.</p><p>OpenCV (Open Source Computer Vision Library: <a href="http://opencv.org/">http://opencv.org</a>) is an open-source BSD-licensed library that includes several hundreds of computer vision algorithms. It has modules like Image Processing, Video Analysis, Object Detection. OpenCV was designed for computational efficiency and with a strong focus on real-time applications.</p><p>A Haar Cascade is a classifier which is used to detect the object for which it has been trained for, from the source. The Haar Cascade is by superimposing the positive image over a set of negative images. The training is generally done on a server and on various stages.</p><p>Download haar-cascade xml files from <a href="https://github.com/opencv/opencv/tree/master/data/haarcascades">link here</a>. Read license terms before downloading, copying, installing or using. You can create your own haar cascade files by looking at the videos <a href="https://pythonprogramming.net/haar-cascade-object-detection-python-opencv-tutorial/">here</a>.</p><p>I have downloaded two files ‘haarcascade_frontalcatface.xml’ and ‘haarcascade_frontalcatface_extended.xml’</p><p>Set tunable parameters like scale factor and minimum neighbors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*SuyXLOZm2g5a_nmH" /></figure><p>I am reading 6 images of cats and 1 image dog. First convert the image to gray scale. Use the above two haar cascades to get coordinates of rectangles where cat front face is located (if any). Plot the rectangles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*kdzVhAXw9sI_oKWS" /></figure><p>When there are some errors retry with different scale factor and minimum neighbors parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/0*MhcBac5-9Rdi8OEP.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/0*Hpk0M3eWzhiAcvJR.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/0*vyv8NAm4oAPsXoqh.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/0*Ch7iACY36yzVZWQg.png" /></figure><p>As you can see it plots the rectangles around 6 images of cats properly and doesn’t plot anything around the dog face as expected.</p><p>Code is in <a href="https://github.com/meenavyas/Misc/blob/master/CatFaceDetectionOpenCV.ipynb">my github repository</a>.</p><p>You can also look at yolo object detection blog <a href="https://www.pyimagesearch.com/2018/11/12/yolo-object-detection-with-opencv/">https://www.pyimagesearch.com/2018/11/12/yolo-object-detection-with-opencv/</a></p><p>Thanks to my models : Alien, Princess, Boy and Lucky</p><h3>Reference</h3><p>· <a href="https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_objdetect/py_face_detection/py_face_detection.html%23face-detection">https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_objdetect/py_face_detection/py_face_detection.html#face-detection</a></p><p>· <a href="https://opencv.org/">https://opencv.org/</a></p><p>· <a href="https://www.quora.com/What-is-haar-cascade">https://www.quora.com/What-is-haar-cascade</a></p><p>· <a href="https://docs.opencv.org/trunk/d7/d8b/tutorial_py_face_detection.html">https://docs.opencv.org/trunk/d7/d8b/tutorial_py_face_detection.html</a></p><p>· <a href="https://pythonprogramming.net/haar-cascade-object-detection-python-opencv-tutorial/">https://pythonprogramming.net/haar-cascade-object-detection-python-opencv-tutorial/</a></p><p>· <a href="https://github.com/opencv/opencv/tree/master/data/haarcascades">https://github.com/opencv/opencv/tree/master/data/haarcascades</a></p><ul><li>https://www.pyimagesearch.com/2018/11/12/yolo-object-detection-with-opencv/</li></ul><p><em>Originally published at </em><a href="https://meenavyas.wordpress.com/2018/11/23/cat-face-detection-using-opencv"><em>meenavyas.wordpress.com</em></a><em> on November 23, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f07ea8f4543" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>