<?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 Aurangazeeb A K on Medium]]></title>
        <description><![CDATA[Stories by Aurangazeeb A K on Medium]]></description>
        <link>https://medium.com/@aurangazeebak?source=rss-4452bf6d5048------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*ubZhDZfQ1YOOMfXsG32wLw.jpeg</url>
            <title>Stories by Aurangazeeb A K on Medium</title>
            <link>https://medium.com/@aurangazeebak?source=rss-4452bf6d5048------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 13 Nov 2026 21:31:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aurangazeebak/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[Machine Learning for Scientific Waste Management]]></title>
            <link>https://medium.com/data-science/machine-learning-for-scientific-waste-management-a27e7c561d64?source=rss-4452bf6d5048------2</link>
            <guid isPermaLink="false">https://medium.com/p/a27e7c561d64</guid>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[waste-management]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[sustainable-development]]></category>
            <category><![CDATA[public-health-crisis]]></category>
            <dc:creator><![CDATA[Aurangazeeb A K]]></dc:creator>
            <pubDate>Mon, 22 Jun 2020 15:17:29 GMT</pubDate>
            <atom:updated>2020-06-27T15:50:49.398Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*MjAF_AiUmsyZ2GrN" /><figcaption>Kerala — God’s own country (Photo by <a href="https://unsplash.com/@avincp?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Avin CP</a> on <a href="https://medium.com/s/photos/kerala?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><h4>Capstone case study</h4><h4>See how ML helps to prevent climate change and safeguard community health</h4><p>This case study was done as part of IBM Applied Data Science Capstone Project via Coursera. The aim of this study was to enumerate suitable city waste management locations for the city of Kochi, Kerala — southern state of India. I chose Kochi city for this case study not only because it’s my native place but Kochi city was and is still continuing its struggle to efficiently manage city waste.</p><h3>Kochi city — an overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*8QweJC-WeRwjDB26" /><figcaption>Kochi lake (Source : Photo by <a href="https://unsplash.com/@sd4ssm?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">gaurav kumar</a> on <a href="https://medium.com/s/photos/kochi?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>Kochi city (sometimes called Cochin city) is a port city, which has at least 600 years of trading history mainly with Chinese, European and Arab merchants and this transformed the city into the financial capital of Kerala. To name a few establishments, Cochin Stock Exchange — the only stock exchange of Kerala, international container transshipment terminal, ship-building industries, InfoPark — government operated IT park, Lulu mall — Asia’s largest shopping mall testifies the economic importance of Kochi city [1]. Kochi city is not only an ideal place for commerce but it also offers affordable housing options as well. Kochi is also a tourist spot — attracting tourists from all part of the world. So basically Kochi city is a limited edition all-in-one package.</p><h3>The Waste Management Crisis</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*xmOOaPY2-MpK-to3.jpeg" /><figcaption>Brahmapuram waste management facility of Kochi city (Source : [5])</figcaption></figure><p>Kochi city generates about 380 tonnes of waste a day and 150 tonnes out of it are biodegradable and the remaining are plastic waste[2]. Presently, city waste is sent to Brahmapuram waste management facility to be treated. From the inception of this facility, complaints and concerns from public, environmentalists became headlines in the newspapers against the location of the plant and the way the site for the plant was fixed. Many of the residents were displaced by the government with compensation. River water pollution as the plant shares its borders with two fresh water rivers and destruction of plant life due to unscientific method implemented to select the location for the waste management plant. The current plant location has made the life of residents of Brahmapuram miserable — the nauseous stench from food waste and the nuisance houseflies and mosquitoes. Moreover, the incoming waste accumulated for processing is mixture of both biodegradable and plastic waste and the biodegradable materials decompose in the open air as the treatment processes in the plants are reported to be slow which causing another horror — climate change, as the bio-degradable materials are decomposing, thus emanating methane, a green house gas. Also, huge fire break-outs are becoming frequent and the toxic gas spreads throughout the city and disrupts the city life for days[3].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vNVKLKNUM6ngfYJV" /><figcaption>Fire break-out at Brahmapuram (Source : <a href="https://timesofindia.indiatimes.com/city/kochi/kochi-brahmapuram-waste-plant-continues-to-burn-parts-of-city-engulfed-in-smoke/articleshow/68121782.cms">Times of India</a>)</figcaption></figure><p>Due to this fact, city authorities have suspended waste collection from homes until a suitable solution comes up. Kerala State Pollution Control Board conducted a study on city waste management and reported that waste-to-energy is not a cost-effective solution for Kochi city’s waste management crisis [4] . Since, Kochi is growing, so is the waste generated per day. Brahmapuram facility is currently under overload as it has to accommodate medical waste in addition to commercial and residential waste, which further complicates the crisis. Even if an ideal solution is found out for managing city waste, the current location of the plant poses serious threat to the quality of ground water reserve as well as the two rivers that passes by. The current plant location is a disaster in the making and will affect the lives of Kochi residents and as well as Kochi’s economic health.</p><h3>Case Study Roadmap</h3><p>There have been several reports and concerns about the unscientific methodology implemented in finalizing the location of the current city waste management facility at Brahmapuram. [5]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*rHQhp2DzLw8H7rIX" /><figcaption>People of Brahmapuram fled from their homes after the plant was setup (Source : Reference [2])</figcaption></figure><p>One important evidence of fallacy in fixing the location of current plant is its nearness to InfoPark, Kochi’s own IT park which is only 5 km away from the plant. Another evidence is that the area is marshy and the risk of ground water penetration of chemical byproducts from waste decomposition. All these problems inspired me to look for an ideal plant location for setting up a new waste management plant — one that does not harm the nature or the society. Then came the next question, how?</p><p>The idea was to find the cleanest city in the world and simulate the locality/neighborhood of that city’s waste management facility in the city of choice. Here, the logic that I used was — if there exists a clean city then it is has a highly efficient waste management facilities and there will be strong and successful management practices behind it and those management practices will be governed by strong pro-environmental and socially-committed rules and policies. So, simulating the locality of such a waste management facility will be equivalent to simulating those highly successful rules and policies. Then, I went for the hunt and discovered that city of Calgary, Canada was one among the cleanest cities in the world and I chose it because city of Calgary consistently found a place in the top 10 cleanest cities in the world [6].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Vz0rj55Ymif9VdbP.jpg" /><figcaption>City of Calgary (Source : drpukka/Instagram)</figcaption></figure><p>City of Calgary has two facilities for commercial waste management and I chose one of them, just by convenience sampling — the East Calgary facility. Then, it was time to represent the East Calgary facility somehow mathematically. The answer to that question was, Foursquare API. It provides location data for millions of venues across the globe. Using Foursquare API, venues within 5000 metres of the East Calgary facility was obtained and a vector of East Calgary facility was generated with the venue categories. Now, reference locality to be simulated was ready and it was time for obtaining list of neighborhoods in Ernakulam district, where Kochi city, the city of interest is located. Some of these neighborhoods will be selected as the best choices to consider for setting up a new waste management plant. Webscraping with BeautifulSoup was used to extract list of all neighborhoods of Ernakulam and Geopy was used to extract geolocation data of all these neighborhoods. Then just like the East Calgary facility, each neighborhoods of Ernakulam was represented as a vector of venue categories. Then there is the final preprocessing stage — ensure both East Calgary neighborhood and that of Ernakulam are represented via the same venue categories. In layman’s terms, I made sure that all neighborhoods were compared on the same grounds !</p><p>After the preprocessing, the East Calgary facility vector was merged into the dataframe containing the neighborhoods of Ernakulam — this is our clustering dataset.</p><p>The next step was to do K-Means clustering of neighborhoods and segment different neighborhoods out, but before that elbow curve analysis was performed to determine the best number of clusters. With the optimal number of clusters, K-Means was performed and the cluster to which our ideal neighborhood i.e that of East Calgary facility was determined and the neighborhoods of Ernakulam that belonged to the same cluster was found out. The initial part of neighborhood simulation was over. By taking into account, the drawbacks of present waste management facility at Brahmapuram, a second level of refinement was done on the list of neighborhoods of Ernakulam that was obtained after clustering.</p><h3>Final Outcome</h3><p>Webscraping and geolocation data capture resulted in 45 Ernakulam neighborhoods based on postal codes. The preprocessing stage, reduced the neighborhoods into 32. The clustering dataset was thus ready and elbow curve analysis indicated that optimal number of clusters was 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/0*f3auvkAG6mAQZcF_" /><figcaption>Elbow Curve analysis for obtaining optimal number of clusters</figcaption></figure><p>K-means clustering is depicted in the visualization below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/0*Xx3Xvkzi6cX-y_Nm" /><figcaption>Visualization of neighborhood clusters. Blue circle is central Kochi and pinned marker is Brahmapuram waste management facility</figcaption></figure><p>There were 16 neighborhoods of Ernakulam that belonged to the same cluster as that of East Calgary facility.</p><p>But, as a final step I decided to filter out the obtained Ernakulam neighborhoods by taking into consideration the an important drawback of the current facility at Brahmapuram — nearness to water bodies. This filtration process further reduced the number of choices to 7 (Palarivattom, Kaloor, Ernakulam North, Thammanam, Kadavanthra, Panampilly Nagar and Vyttila are the choices) and is depicted in the visualization below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/0*pJDwnLvHQMn-VyaF" /></figure><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/0*coDaOtbmlASzD_jb.jpg" /><figcaption>Kochi backwater cruise tourism (<a href="https://www.shoreexcursions.asia/cochin-backwater-cruise-with-kerala-lunch/">Source</a>)</figcaption></figure><p>Kochi city is experiencing a major crisis in waste management for so long and this study presented with 7 suitable locations for setting up a new plant scientifically using machine learning. Now, the city managers can evaluate these recommendations and arrive at the best spot out of these, speeding up city administration and making decisions less error prone. Due to simulation of the neighborhood of one of the world’s cleanest city’s waste management facility, city managers can use the waste management policies and rules of city of Calgary with some tuning to fit Kochi city’s requirements. Therefore, all these decisions will make waste management process much more efficient and thus can prevent waste accumulation at facilities, thereby minimizing the amount of methane emissions due to it — a contribution towards sustainable development goals of United Nations (Goal 11) [7]. Serious public health concerns like epidemics such as malaria due to rain water stagnation, lung or skin disorders arising from unscientific location of the plant can be alleviated using this method. Geographical, political and community behavioral differences were not taken into account in this study and results may vary by considering these variables. Possible future extensions are implementation of the study with Density Based Spatial Clustering for Applications with Noise (DBSCAN), environmental hotspots or population density variable inclusion, usage of a different geolocation data vendor. Another advantage of this project is that it can be adapted for government and business purposes as well regardless of state or country.</p><h3>References</h3><ol><li><a href="https://en.wikipedia.org/wiki/Economy_of_Kochi">Economy of Kochi</a></li><li><a href="https://timesofindia.indiatimes.com/city/kochi/4th-major-fire-at-brahmapuram-in-two-months/articleshow/68118744.cms">Fire break-outs becoming frequent at Brahmapuram</a></li><li><a href="https://www.thenewsminute.com/article/walk-through-ghost-village-brahmapuram-deserted-thanks-kochis-garbage-41040">Waste management crisis of Kochi</a></li><li><a href="https://www.thehindu.com/news/cities/Kochi/waste-to-energy-plant-may-not-be-most-cost-effective-option/article27190210.ece">Waste-to-energy not cost-effective at Brahmapuram</a></li><li><a href="https://www.deccanchronicle.com/nation/in-other-news/011116/kochi-residents-say-no-to-waste-treatment-plant.html">Public concerns about Brahmapuram plant</a></li><li><a href="https://kenyaprime.com/top-10-cleanest-cities-in-the-world-2020-latest-ranking-things-you-need-to-know-about-the-cities-2/">Top 10 cleanest cities in the world</a></li><li><a href="https://sustainabledevelopment.un.org/?menu=1300">Sustainable Development Goals of UN</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a27e7c561d64" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/machine-learning-for-scientific-waste-management-a27e7c561d64">Machine Learning for Scientific Waste Management</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Power of Silence]]></title>
            <link>https://medium.com/@aurangazeebak/power-of-silence-aacd5731288d?source=rss-4452bf6d5048------2</link>
            <guid isPermaLink="false">https://medium.com/p/aacd5731288d</guid>
            <category><![CDATA[haiku]]></category>
            <category><![CDATA[house-of-haiku]]></category>
            <category><![CDATA[wisdom]]></category>
            <category><![CDATA[nature]]></category>
            <dc:creator><![CDATA[Aurangazeeb A K]]></dc:creator>
            <pubDate>Sat, 11 Jan 2020 11:18:33 GMT</pubDate>
            <atom:updated>2020-01-13T03:59:58.426Z</atom:updated>
            <content:encoded><![CDATA[<p>Wisdom in Nature</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EtN-yZX5QHA7auFWRwKzLw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@jeremybishop?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jeremy Bishop</a> on <a href="https://unsplash.com/s/photos/nature?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Nature is Quiet<br>Its silence calms but also<br>Feeds and teaches us</p><p>In Response to <a href="https://medium.com/u/6924d30ba7fa">Brett Christensen</a>’s weekly prompt “Quiet”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aacd5731288d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Story of Missing Data]]></title>
            <link>https://medium.com/data-science/the-story-of-missing-data-9922e611e56b?source=rss-4452bf6d5048------2</link>
            <guid isPermaLink="false">https://medium.com/p/9922e611e56b</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[feature-engineering]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[imbalanced-data]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Aurangazeeb A K]]></dc:creator>
            <pubDate>Sat, 28 Dec 2019 04:20:40 GMT</pubDate>
            <atom:updated>2020-01-01T13:55:21.473Z</atom:updated>
            <content:encoded><![CDATA[<h4>Machine Learning</h4><h4>A quick explanation of how important missing data is in Machine Learning and how to deal with it</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FHoFVLk5eamIUROvvqcZUg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@dlewiskennedy?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">David Kennedy</a> on <a href="https://unsplash.com/s/photos/story?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Missing data as the name speaks for itself, means —</p><blockquote>Either feature values or target values are missing from the dataset at hand</blockquote><h3>Classification of Missing Data based on the reason for missing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5rifWEzN3wGpA4iEUkOHKQ.jpeg" /><figcaption><strong>Randomness everywhere.. </strong>(Photo by <a href="https://unsplash.com/@jacc?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jack Hamilton</a> on <a href="https://unsplash.com/s/photos/shuffle?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>Missing data is basically classified into 3 —</p><ol><li><strong>Missing At Random (MAR)</strong> — because the reason why a random value is missing from a feature (predictor) or target can be understood from the exploratory data analysis itself. (Read about this in-depth <a href="https://medium.com/@danberdov/types-of-missing-data-902120fa4248">here</a>)</li><li><strong>Missing Completely At Random (MCAR)</strong> — there is nothing fishy, the missing is absolutely random! (Read about this in-depth <a href="https://medium.com/@danberdov/types-of-missing-data-902120fa4248">here</a>)</li><li><strong>Missing Not At Random (MNAR)</strong> — the most unfortunate situation for a machine learning enthusiast or student because the reason for missing here can be explained but not with the help of variables you have in your dataset. This situation demands a thorough investigation into the initial phase of the data analytics — data collection! (Read about this in-depth <a href="https://medium.com/@danberdov/types-of-missing-data-902120fa4248">here</a>)</li></ol><h3>Classification of Missing Data based on variables</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4vTUfp1iSu4qUrHPHmFYSQ.jpeg" /><figcaption><strong>Let the variables decide..</strong>(Photo by <a href="https://unsplash.com/@nhillier?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Nick Hillier</a> on <a href="https://unsplash.com/s/photos/numbers?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>Variables are basically two types, in machine learning terminology —</p><ol><li>Features/Predictors and</li><li>Target</li></ol><p>Thus, Missing Data can be found in both of these variables and hence can be classified as follows:</p><p><em>a.</em> Missing data in feature variables or <strong>feature-missing</strong></p><p><em>b. </em>Missing data in target variable or <strong>target-missing </strong>— this kind of missing is also called <strong>class-missing </strong>when the target variable is discrete in nature, just like in a binary or multi-class classification problem. In the case of continuous target variable, the term <strong>target-missing</strong> can be used as default.</p><h3>Consequences of Missing data and How to Deal with it</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K5qVKSwC7JLLj0HGMTG5HA.jpeg" /><figcaption><strong>The challenges </strong>(Photo by <a href="https://unsplash.com/@findthevision?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Danny</a> on <a href="https://unsplash.com/s/photos/library?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>Missing Data puts forward 2 main issues —</p><ol><li><strong>Loss of information</strong> — this issue is associated with <strong>feature-missing </strong>and the best way to deal with it is to use <strong>imputation techniques</strong>. Some of the imputation techniques are: Mean, Median, Mode or constant value imputation.</li><li><strong>Imbalanced dataset </strong>— this issue is only associated with class-missing and not with target-missing case. This is one of the fundamental problems in most of the classification problems. The solution to this problem is to use techniques like — <strong>Over-sampling or Under-sampling techniques</strong>. If there is target-missing issue, my recommendation would be to drop the datapoint corresponding to each target-missing case.</li></ol><h3>Drop or Impute?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ca_FsiAPzEc-awjkfUQqLg.jpeg" /><figcaption><strong>Which way? </strong>(Photo by <a href="https://unsplash.com/@adigold1?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Adi Goldstein</a> on <a href="https://unsplash.com/s/photos/which-way?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>The following strategies are my own and should be only given importance as such:</p><blockquote>If missing values &gt; 5% for <strong>feature-missing case — Drop the feature itself, else perform Imputation on the feature or features.</strong></blockquote><p>5% or 10% or any upper-limit — it’s up to you to decide.</p><blockquote>The basic idea is too much imputation is alteration of the behaviour of the underlying distribution</blockquote><h3>Over-sampling or Under-sampling?</h3><p>Before explaining over-sampling and under-sampling, one must know about <strong>majority class</strong> and <strong>minority class</strong>.</p><h4>Majority Class and Minority Class</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vXEfgsP0pzxvJ-MQUhvSYQ.jpeg" /><figcaption><strong>Classes in society</strong> ( Photo by <a href="https://unsplash.com/@dylu?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jacek Dylag</a> on <a href="https://unsplash.com/s/photos/crowd?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>This terminology is strictly associated with classification problems as mentioned earlier. The majority class is the discrete variable value that dominates the target (or class) variable distribution and the class that has the least share is the Minority class. For example, 70 male participants in a survey of 100 random persons represent the Majority class and the 30 female participants represent the Minority class.</p><blockquote><strong>Over-sampling artificially introduces new or cloned datapoints corresponding to the minority class into the dataset</strong> and increases the dimension of your dataset, <em>while </em><strong><em>converting the dataset from imbalanced to perfectly balanced one</em></strong>. This means, over-sampling is aimed at minority class.</blockquote><blockquote><strong>Under-sampling is the opposite of over-sampling </strong>— it eliminates some of the majority class datapoints to <strong>ensure the dataset is perfectly balanced</strong>.</blockquote><h4>Some Over-sampling techniques —</h4><ol><li>Bootstrapping or resampling (sampling with replacement) — includes over and under-sampling</li><li>Synthetic Minority Over-sampling TEchnique (<a href="https://medium.com/coinmonks/smote-and-adasyn-handling-imbalanced-data-set-34f5223e167">SMOTE</a>) and</li><li>ADAptive SYNthetic sampling approach (<a href="https://medium.com/coinmonks/smote-and-adasyn-handling-imbalanced-data-set-34f5223e167">ADASYN</a>)</li></ol><h4>Some Under-sampling techniques —</h4><ol><li>Tomek-Links undersampling</li><li>Cluster Centroids</li></ol><h4>Hybrid technique — Oversampling + Undersampling</h4><ol><li>SMOTE followed by Tomek-Links</li></ol><blockquote>See a simple Kaggle notebook on Resampling technique for Imbalanced datasets — <a href="https://www.kaggle.com/rafjaa/resampling-strategies-for-imbalanced-datasets"><strong>here</strong></a></blockquote><p>All the over-sampling and under-sampling technique APIs are available in sci-kit learn’s <a href="https://github.com/scikit-learn-contrib/imbalanced-learn">‘Imbalanced learn’</a></p><h3>References</h3><ol><li>Medium — <a href="https://medium.com/@danberdov/types-of-missing-data-902120fa4248">https://medium.com/@danberdov/types-of-missing-data-902120fa4248</a></li><li>Medium — <a href="https://medium.com/coinmonks/smote-and-adasyn-handling-imbalanced-data-set-34f5223e167">https://medium.com/coinmonks/smote-and-adasyn-handling-imbalanced-data-set-34f5223e167</a></li><li>Kaggle — <a href="https://www.kaggle.com/rafjaa/resampling-strategies-for-imbalanced-datasets">https://www.kaggle.com/rafjaa/resampling-strategies-for-imbalanced-datasets</a></li><li>Sci-kit learn @Github — <a href="https://github.com/scikit-learn-contrib/imbalanced-learn">https://github.com/scikit-learn-contrib/imbalanced-learn</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9922e611e56b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/the-story-of-missing-data-9922e611e56b">The Story of Missing Data</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Endure]]></title>
            <link>https://medium.com/@aurangazeebak/endure-9e9240eff5f3?source=rss-4452bf6d5048------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e9240eff5f3</guid>
            <category><![CDATA[thinking]]></category>
            <category><![CDATA[nature]]></category>
            <category><![CDATA[haiku]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Aurangazeeb A K]]></dc:creator>
            <pubDate>Tue, 19 Nov 2019 09:33:38 GMT</pubDate>
            <atom:updated>2019-11-19T12:17:57.562Z</atom:updated>
            <content:encoded><![CDATA[<h4>What keeps life going !</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cCFziYYsWhIrZHStOiT3jw.jpeg" /><figcaption>(Photo by <a href="https://unsplash.com/@art_ed?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">eddie howell</a> on <a href="https://unsplash.com/s/photos/rose?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>Beautiful takes time<br>Patience is to sacrifice<br>Hope fuels to strive</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e9240eff5f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Beautiful Real Life Correlations]]></title>
            <link>https://medium.com/data-science/3-beautiful-real-life-correlations-fed9e855da52?source=rss-4452bf6d5048------2</link>
            <guid isPermaLink="false">https://medium.com/p/fed9e855da52</guid>
            <category><![CDATA[universe]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[analytical-thinking]]></category>
            <category><![CDATA[philosophy-of-mathematics]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Aurangazeeb A K]]></dc:creator>
            <pubDate>Wed, 13 Nov 2019 16:34:48 GMT</pubDate>
            <atom:updated>2019-11-13T19:19:08.231Z</atom:updated>
            <content:encoded><![CDATA[<h4>Statistics and Philosophy</h4><h4>Transform your perception with these 3 real life correlations.</h4><h3>What is correlation?</h3><blockquote>Correlation is a measure of association between two variables. You can find positive, negative and no correlations in the universe.</blockquote><p>Correlation is something that data scientists deal with, in their day-to-day lives. Let’s dive in!</p><h3>Correlation 1: Time spent in meetings vs your value at the workplace</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZkw1KyI7sBihW1dmQCmlQ.jpeg" /><figcaption><strong>Deciding the future</strong> (Photo by <a href="https://unsplash.com/@youxventures?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">You X Ventures</a> on <a href="https://unsplash.com/s/photos/meeting?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>If you spend the majority of your work time in meetings, then most probably you are very much valuable to your company. This may not be the case every time, but I’m speaking in a general sense. Meetings are meant to bring up ideas, strategies and decisions that will influence the future of your firm. So this is no place to have fun. So, if you are enlisted in almost all the meetings of your firm, you can be certain that your company trusts your communication skills and creative inputs — you are really valuable to your company.</p><blockquote>Thus, we can say there is a<strong> positive correlation</strong> between the amount of time you spent in meetings and your value at the company.</blockquote><h4>Implications</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rR1ZlQau13d5-LsSseT8FA.jpeg" /><figcaption><strong>Where you stand…</strong> (Photo by <a href="https://unsplash.com/@dankapeter?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Danka &amp; Peter</a> on <a href="https://unsplash.com/s/photos/top?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>You can analyze how valuable you are compared to another person in a different firm holding the same designation as you. You can analyze on a weekly basis, whether your meeting duration is rising or falling or remaining nearly the same — which means, is the company’s perception about you changing in any way; positive or negative? Also, you can also work out the opposite manner, if you know your value at your company, you can anticipate your meeting duration in the upcoming week or month. To go even further, you may even be able to predict the designation (value) of someone in your firm or a different one, given the time they spend in meetings.</p><h3>Correlation 2: Boiling point of Water vs Time elapsed</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z71PVWM2l3qtvu5h1-MlUQ.jpeg" /><figcaption><strong>Is it pure?</strong> ( Photo by <a href="https://unsplash.com/@timmarshall?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Tim Marshall</a> on <a href="https://unsplash.com/s/photos/boiling-water?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>Water is a chemical and boiling point is one of its property telling us at what temperature it starts to boil. There’s something known as <a href="https://en.wikipedia.org/wiki/Colligative_properties"><strong>colligative property</strong></a> — property of a solvent will be influenced by solute contained in it. The pure water (not talking about distilled one but the one with natural minerals in it) will possess a particular boiling point. While, as the water starts getting less and less pure i.e more impurities starts to populate the drinking water, the boiling point of water rises — a phenomenon known as Elevation of Boiling Point, one of the colligative property. If the boiling point of water from a river near your home is higher than what you measured yesterday, then you can start suspecting the river water quality.</p><blockquote>Since drinking water should have a consistent quality, its chemical properties (boiling point, in this case) should show a constant boiling point or there should be <strong>no correlation</strong> of Boiling point of water with time.</blockquote><h4>Implications</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jrkLTT6Ok63zyvJC7ZDR7A.jpeg" /><figcaption><strong>Pollution</strong> ( Photo by <a href="https://unsplash.com/@brian_yuri?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Brian Yurasits</a> on <a href="https://unsplash.com/s/photos/plastic-in-ocean?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>A positive correlation between boiling point and time elapsed will be quite alarming as it is an indication of inclusion of impurities — at this point, you must investigate the reason. Maybe a local factory is dumping their untreated industrial waste into the river. You can find a locality or country that cares the most with their rivers or water bodies by comparing the correlation values between each country — the one with least correlation wins, as they put in place great management efforts to preserve the water quality for a long time.</p><h3>Correlation 3: Wisdom vs Overestimation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*trDQYG0c7pPplQVXbQm7qQ.jpeg" /><figcaption><strong>Power of Wisdom</strong> ( Photo by <a href="https://unsplash.com/@heftiba?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Toa Heftiba</a> on <a href="https://unsplash.com/s/photos/wisdom-and-impulsivess?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>Finally, we all have heard the adage “With Age Comes Wisdom” and there’s a study led by Frank Durgin, demonstrating that fact [1]. In that study, the participants were asked to estimate the slant of a hill and the study showed that older participants gave much better estimates than the younger ones — even though some of the older ones didn’t have any specific knowledge about hills. Thus, older ones are much better estimators than younger ones, as the study proved and they attributed it to <em>experiential knowledge (or </em><strong><em>wisdom</em></strong><em>) </em>of adults compared to the younger ones. Also, it should be noted that almost all the younger participants and <em>some of the older ones</em> (outliers) gave <em>overestimates</em>.</p><blockquote>Therefore, we can say that wisdom is <strong>negatively correlated</strong> with overestimation i.e the more wisdom you have the less likely you are to make a wrong decision or estimation.</blockquote><h4>Implications</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8tgeanEj3mzU0Dknu7iOxQ.jpeg" /><figcaption><strong>Reward of Wisdom</strong> (Photo by <a href="https://unsplash.com/@mbrunacr?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Miguel Bruna</a> on <a href="https://unsplash.com/s/photos/successful?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>Negative correlation between wisdom level and degree of overestimation proves you will be more accurate in your decision when you are very old. But here’s the good news, depending on the accuracy you want (or the corresponding degree of overestimation), you can know the corresponding level of wisdom you need to acquire from the regression line. If wisdom is an attribute of the aged ones alone, then we would not see any young influential leaders across the globe. This indicates that young people too can gain the level of wisdom, the same as that acquired by the adults. What does this mean? To youngsters, this means you will make less wrong decisions than your peers and you will be successful within short time-frame relative to your peers because you are very good at judging things due to the high level of wisdom you acquired recently. Note that the time-frame reduction does not apply to the effort that goes in — in fact, it will be something humongous as your goal is to achieve the extra-ordinary, to be honest, so determination and passion should be your best friends. Remember that adage, “No pain, No gain”?</p><p>So, look at the regression line and find the level of wisdom you need to gain and start gaining it. But how?</p><blockquote>Read as much as you can, Explore different domains of knowledge, Interpret your experiences, Discuss your ideas and Debate your views.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gs1cLsPT1FdiGZeI0h2RiQ.jpeg" /><figcaption><strong>Just a beginning </strong>( Photo by <a href="https://unsplash.com/@tateisimikito?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jukan Tateisi</a> on <a href="https://unsplash.com/s/photos/beginning?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><blockquote>Basically, what you have witnessed is the power of a simple concept in Statistics. I will be soon exploring even more powerful ones in the most simple way possible. Stay Tuned !</blockquote><p><strong>P.S:</strong> Share this article if you found this helpful and let those in need be enlightened as well.</p><h3>References</h3><p>[1] <a href="https://doi.org/10.1068/i0505">Li, Z. and Durgin, F. H., ‘A Comparison of Two Theories of Perceived Distance on the Ground Plane: The Angular Expansion Hypothesis and the Intrinsic Bias Hypothesis’ (2012), i-Perception, pp. 368–383</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fed9e855da52" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/3-beautiful-real-life-correlations-fed9e855da52">3 Beautiful Real Life Correlations</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Learning in Machine Learning?]]></title>
            <link>https://medium.com/@aurangazeebak/what-is-learning-in-machine-learning-9a25b9f8ed35?source=rss-4452bf6d5048------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a25b9f8ed35</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Aurangazeeb A K]]></dc:creator>
            <pubDate>Sun, 10 Nov 2019 16:32:21 GMT</pubDate>
            <atom:updated>2019-11-15T14:34:49.824Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gkScTtPZksXTgjaspdFYXw.jpeg" /><figcaption><a href="https://www.google.com/url?sa=i&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiHsrLypeHlAhVDgI8KHeW-BV8Qjhx6BAgBEAI&amp;url=https%3A%2F%2Fmedium.com%2Fthe-andela-way%2Fdeep-learning-hello-world-e1fc53ea888&amp;psig=AOvVaw0rwPwMXw0LGj3YaKQpIRED&amp;ust=1573532067497879">Source</a></figcaption></figure><p>An easy way to learn the terms in Machine Learning from a Philosophical point of view.</p><h3>Through the Philosopher’s specs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PZyndb6A072Wl0U6qdhJGg.jpeg" /><figcaption>Aristotle — a polymath, (<a href="https://www.google.com/url?sa=i&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwjoycSxpuHlAhXOh3AKHTZ9DWgQjhx6BAgBEAI&amp;url=https%3A%2F%2Fwww.britannica.com%2Fbiography%2FAristotle&amp;psig=AOvVaw0pK9DLikyhpZc8m4dSsazQ&amp;ust=1573532191090621">Source</a>)</figcaption></figure><p>Before diving into philosophy of Machine Learning, let’s bring in more clarity to some terms. Datapoints are the pieces of a whole — the ultimate essence from which all of it originated, machine learning experts usually call it, insight. More technically, the underlying distribution that creates these pieces of information. So every datapoint counts. As you are on a journey of learning you pick each of these stones (datapoint) along your way and get some understanding from it — you learn something from it. As you progress, you will see and pick many stones along the way and continue accumulating knowledge about it.</p><p>After you have traveled so far, you would have considerable amount of understanding accumulated about all those stones (or datapoints). Remember that speech from <em>Steve Jobs</em> at Stanford (<a href="https://news.stanford.edu/2005/06/14/jobs-061505/">click here to visit</a>) —</p><blockquote>“You cannot connect the dots by looking forward but only by <strong>looking backward</strong>” — Steve Jobs</blockquote><h3><strong>Connecting the dots or the datapoints</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C4E62ULr4huBUAYvsyqK3A.jpeg" /><figcaption><a href="https://www.google.com/url?sa=i&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiKjZGxp-HlAhXKb30KHdAEAOsQjhx6BAgBEAI&amp;url=https%3A%2F%2Ftrialfire.com%2Fblog%2F2019%2F03%2F28%2Foffline-and-online-data-connecting-the-dots%2F&amp;psig=AOvVaw21a6S8LeQ2Mlq4s4z1mTJw&amp;ust=1573532469047693">Source</a></figcaption></figure><p>Now what you do is follow Steve Jobs, connect those dots (your understandings) i.e you combine all the things you learned during your journey till now. What you are about to experience is something else.</p><p>When you analyze the information, you may find that all those stones have something in common — similar chemical composition, similar shape etc. And you may find that all these stones had a similar damage causing you to infer that those stones fell down at the same velocity and same height, which you may attribute to a truck that carried them all to its destination — do you feel like Sherlock Holmes now ? because anyone who analyses data is one. There are so many possibilities or so many explanations (models) as to why all these stones have something in common.</p><blockquote>The idea is to find the best explanation (model) that is least surprising (<a href="https://www.iep.utm.edu/peir-log/">Surprise Principle by Charles Sanders Pierce</a>)</blockquote><h3>Fitting and Generalization</h3><p>Connecting the story behind each stone (the understanding you gained from them) to generate a grand story or theory is called <strong>fitting a model</strong> in technical terms.</p><blockquote>So, for instance, you coming up with a theory or a reason behind why your air conditioner is not cooling the room as usual, is actually you fitting a model behind the under-performance of your a/c. And this fitting happens as you try to fit all those evidences you got from inspecting the a/c, into a convincing theory, just like a jig-saw puzzle. In layman’s terms, you learned the reason behind the a/c breakdown and the interesting part is, there can be more than one explanation!</blockquote><blockquote>Mathematically,<strong> learning</strong> <strong>is fitting a line on your datapoints or evidences</strong>. And there can be more than one line possible!</blockquote><p>The fitted line or model need not touch all the datapoints perfectly, because that would be <strong>overfitting</strong>. This means, there will be always some information left out from each datapoint and only such a model will have better <strong><em>generalization performance</em></strong>. So what is generalization performance?</p><figure><img alt="Sherlock Holmes" src="https://cdn-images-1.medium.com/max/391/1*KwC_mlfiJvrGgiKCAZe3eQ.jpeg" /><figcaption><a href="https://www.google.com/url?sa=i&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwjYg7DRp-HlAhWKF3IKHQ52DxoQMwhQKAEwAQ&amp;url=https%3A%2F%2Fwww.pharmaceuticalonline.com%2Fdoc%2Fhow-sherlock-holmes-helped-me-improve-my-microbiological-root-cause-analyses-0001&amp;psig=AOvVaw3Wv9lfEb8jX7ZMEhDsIVfv&amp;ust=1573532539148639&amp;ictx=3&amp;uact=3">Source</a></figcaption></figure><p>Let’s play Sherlock again. Imagine you cracked a murder case and the culprit was the one who smoked an expensive limited edition cigarette. If you are assigned a second murder case and there are two suspects who smokes cigarettes — one smokes a regular and the other an expensive limited edition, you cannot conclude that the actual criminal is the latter even though all the other circumstances of the crime are similar to the first one you cracked. This is the moment where a data scientist would say your model or theory has poor generalization performance. That is, the model you fitted or learned from the first case cannot be applied to the second case. Firstly, the model for the first case is very much adapted to the first case (overfitted) i.e you have gone deeper into the details of each evidence so much so that the probability of another case having identical set of details is so small or is negligible. If you were to make a general enough model in the first case, you can also apply it to the second case and thus to great extend gives you convincing predictions about who should be the prime suspects.</p><blockquote>What you need is a crime pattern theory that successfully explains the first crime and can also explain any future crimes to great extent. Such a theory or model is very general in nature and relatively has less overfitting than an overfitted model.</blockquote><p>This philosophy works great if you apply this for your own learning. What you learn is that line.</p><blockquote>The line is the physical representation of your knowledge.</blockquote><p>This line is telling us that in order to get better understanding than bookworms or overfitters, one must only get the core ideas from each datapoint. You fit a line for physics when you learn physics chapters, so does for chemistry and biology. Thus, we can call them physics line, chemistry line and biology line.</p><blockquote>Remember, each datapoint is a stepping stone for your line and every stepping stone is just part of the story and NOT the whole story.</blockquote><p>If you focus on just few datapoints and fit a line, chances are, you will be highly biased as it would only contain part of the reality or knowledge that you are seeking. This is called <strong>underfitting.</strong></p><blockquote>In the murder investigation scene underfitting would mean, you collecting just one or two evidences and reporting the murder to be part of mob-lynching which was actually a one-man crime.</blockquote><p><strong>Note: </strong>The process of making a line less overfitting than before is known as <strong><em>regularization</em></strong>, in technical terms — in layman’s terms it is a process of making the line or model more general and hence can be called generalization.</p><h3>Final Note</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*UpdbRRNTj28XFa5tAxL8Ew.png" /><figcaption><a href="https://www.google.com/url?sa=i&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwil9vn0p-HlAhXZe30KHX0QCCcQjhx6BAgBEAI&amp;url=https%3A%2F%2Fevents.rhema.org%2Ffinding-truth%2F&amp;psig=AOvVaw0rUepHiqRZzKj5yj6jDYan&amp;ust=1573532611760688">Source</a></figcaption></figure><p>The ultimate information or theory you seek is spread across many datapoints and you must visit sufficient number of these to get a reasonably accurate understanding. For example, <a href="https://www.deeplearning.ai/">Andrew N G’s deep learning course</a> is just one datapoint in the deep learning domain space. There is an actual truth or the complete concepts of deep learning out there, which is spread across all the different deep learning courses available, online and offline. If you spend too much time and effort into Andrew’s course, you will never reach the ultimate truth and you will be at a disadvantage. It’s necessary that you get the main concept out of Andrew’s course. There will be other teachers, with a different viewpoint and the part of story or dimension which Andrew oversees.</p><blockquote><em>Seeing through one pair of eyes makes you blind to the actual picture, instead you must see it through many pairs of eyes.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*OutDrZRPsbkc47vD8kErYQ.png" /><figcaption>Layman’s term, (<a href="https://www.google.com/url?sa=i&amp;source=images&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiC47K6qOHlAhXMLY8KHXF4DOIQjhx6BAgBEAI&amp;url=https%3A%2F%2Ffreakonometrics.hypotheses.org%2Fdate%2F2014%2F06%2Fpage%2F2&amp;psig=AOvVaw1l-2q_eHN17bHZpzRTNWso&amp;ust=1573532751229232">Source</a>)</figcaption></figure><p><strong>P.S : </strong>Share this article if you found this informative so that people in need may find it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a25b9f8ed35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Simple Framework for data collection for any Analytics Project]]></title>
            <link>https://becominghuman.ai/a-simple-framework-for-data-collection-for-any-analytics-project-a768e6c105cb?source=rss-4452bf6d5048------2</link>
            <guid isPermaLink="false">https://medium.com/p/a768e6c105cb</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-collection]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Aurangazeeb A K]]></dc:creator>
            <pubDate>Thu, 07 Nov 2019 19:12:56 GMT</pubDate>
            <atom:updated>2019-11-11T13:42:40.673Z</atom:updated>
            <content:encoded><![CDATA[<p>I believe this article will be of some help for those trying to launch their own AI or Data Science project in the domain they desire. I consider this as an opportunity to share my experiences and what I think would help if one were to collect data for themselves. This is also my humble attempt to support all those who feel irritated when they start thinking about data collection and to keep their hopes and enthusiasm about Data Science or AI alive while going through such a stage.</p><p>To be honest, when I first entered into the world of AI and Data Science I saw myself using all those cool <a href="https://becominghuman.ai/">machine learning</a> algorithms and creating solutions which had an impact on lives across the globe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*j4KrPGsUgZjEHLRLmh025Q.jpeg" /><figcaption><strong>Ready to save the world with ML codes</strong></figcaption></figure><p>My thoughts were like, “ After I master all these algorithms, I’m gonna be ready to rock”. But as you might have guessed, reality hit me.</p><h3>Trending AI Articles:</h3><blockquote><a href="https://becominghuman.ai/how-to-train-a-neural-network-to-code-by-itself-a432e8a120df">1. How to train a neural network to code by itself ?</a></blockquote><blockquote><a href="https://becominghuman.ai/are-you-using-the-term-ai-incorrectly-911ac23ab4f5">2. Are you using the term ‘AI’ incorrectly?</a></blockquote><blockquote><a href="https://becominghuman.ai/making-a-simple-neural-network-2ea1de81ec20">3. Making a Simple Neural Network</a></blockquote><blockquote><a href="https://becominghuman.ai/basics-of-neural-network-bef2ba97d2cf">4. Basics of Neural Network</a></blockquote><p>It so happened that all my confidence stemmed from all those perfectly cleaned and balanced datasets, if you know what I mean, crying to be fed into one of those magical algorithms to produce mind-boggling results and filling me with pseudo-confidence.</p><h3>The Realization</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*fcUvELqWIkj9yIsrTiS8Fg.jpeg" /><figcaption>Reality in human form</figcaption></figure><p>Reality knocked on my front door when I was assigned to an analytics project aimed at predicting the probability of success of a political candidate. It was at that moment I realized, I was hollow as a bubble — I had so many algorithms in my brain but nothing was helping — what’s the use of a gun without a bullet? I needed data to use any of the algorithms I knew. If I had any form of data, I could have done something but there was absolutely nothing!</p><p>I had two things at hand; collect data and do the prediction.</p><h3>But What Data and How..?</h3><p>Until I thought about it, collecting data felt easy. But again, yes you guessed it right, reality came after me — this time in the form of questions. What data should I collect? Which all questions or predictors will help me better predict the candidate’s success probability? <strong>How to define probability?</strong> What factors influences its value and the influence of social psychology? Things started going haywire. There were more questions being generated rather than answers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*lPgmY1BwsqKx86E9g4OrKQ.jpeg" /><figcaption>More questions than answers</figcaption></figure><p>I spend hours reading about my regional politics, journals of psychology and neuroscience —all these, not to generate survey questionnaire but decide what to include and what not to. One interesting thing I found is that humans retain the memory of negative action more than that of a positive action (<a href="https://doi.org/10.1111/j.1467-8721.2007.00506.x">Elizabeth A (2007)</a>)— something that politicians love to babble about and sometimes helps them win the elections. But we are not talking politics here…</p><p>The next thing was, how to ask the questions to the respondents — if they know we collect data for a specific party, chances are they will modify their response and we will lose some highly valuable predictors. We all know, prediction algorithms’ performance and reliability are not the sole responsibility of tuning process and that data quality has a very good part in it. So, the “how” part started creating problems after “what”.</p><h4>People are just one side of the story</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*nY--SEMgMsrI3yF14DJoRQ.jpeg" /><figcaption><strong>Opponents do have an impact</strong></figcaption></figure><p>Soon, political publications, some news articles and magazines led me to <strong>the role of the opponent </strong>in the success of a candidate. This lead me to another realization — I have to do all those research and questionnaire preparation I did for people or voters for political opponents too. This means, there exist “what”s and “how”s for the opponents as well. All these lead me to create an idea for data collection framework — so that I don’t have to scratch my head again for any upcoming projects that could gift me with late night bedtimes if I don’t create one.</p><h3>The Framework</h3><p>Finally, the reason behind this post. Before going any further we need to make some things clear. From here on, I will be using <strong><em>three</em></strong> terms:</p><ol><li><strong>Organization</strong> — the one for which we are doing the analytics project</li><li><strong>Customer</strong>— the ones who are at the receiving end, the users of solutions the <strong>organization</strong> creates</li><li><strong>Enabler</strong> — data scientists working on the problem, acts as a bridge between <strong>organization</strong> and <strong>customer </strong>to deliver organization’s products and services</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_ZaklYDoGoIPWv1IaroSQ.jpeg" /></figure><p>For any analytics project, there are <strong>two perspectives or elements</strong> — <em>organizational </em>and<em> customer perspective</em>.</p><h4>Organizational Perspective</h4><p>This perspective will help us to identify and define the “what”s and “how”s of the data collection associated with the organization. The first thing will be to <strong>identify the domain of the organization</strong>, which will filter out so many “what”s. The next thing will be to, <strong>understand the behavior of the organization — </strong>service industry or manufacturing? This will help you narrow down the variables. For example, time series of employee turnover, time series of scrap volume per day, time series of machine usage hours per day etc in a manufacturing sector will give you an idea about the behavior of that organization. All these behavioral data will guide you to the “what”s and “how”s to great extent and with the help of some research you will do just fine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*6m_hv2t0myofYdVtl6sIJA.png" /></figure><p>Thus, using organizational perspective is like the organization dictating you what it needs and will basically help shape your goal — but this is kind of narrow. So we move to the second perspective.</p><h4>Customer Perspective</h4><p>This is exactly like the Organizational Perspective, but with customers. Here we deal with the <strong>customer behavioral data — </strong>what is the gender?Age group?Number of previous associations with opponent firms? Financial soundness? Love to experiment with latest products?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*Igun9n8jUsgBHhiMpuPlcw.png" /></figure><p>For instance, number of companies for which the employee has worked for, number of disciplinary actions, quality of units machined belongs to the customer behavioral data of a manufacturing industry worker. <strong>Please don’t confuse the term customer with the usual term</strong>. By customer I mean the one who receives and uses the solution (advanced manufacturing units for machining intricate parts in an industrial setting) provided by the organization for overcoming a manufacturing challenge. <strong>Customer can be immediate or an end user.</strong></p><blockquote><strong>Definition of customer varies with your objective.</strong></blockquote><p>Therefore, customer shapes the right solution or help you find the “what”s and “how”s. Again, this perspective is narrow too, so we need the best of both of above.</p><h4>Hybrid Perspective — Best of Both</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*IERHChPgqvIc4Uscir1AEQ.jpeg" /></figure><p>The best approach according to me, as this will help you see things in all the dimensions — you get to see the big picture. The choice of this perspective depends on the difficulty of acquiring organizational or customer perspective. <strong>If any of the perspective is difficult to attain, it’s always better to start with the customer perspective</strong>. According to me, <strong>customers can say so many things about the organization than the organization itself</strong>.</p><blockquote>According to me, <strong>customers can say so many things about the organization than the organization itself.</strong></blockquote><h3>Coming back to Political Success Prediction</h3><p>As per the framework, the political environment in which the candidate of my interest competes, will be the <strong>organization </strong>and it can be basically classified into a service industry as politics help govern our state or country. The public image of the political party, the track record of the candidate of interest and that of the opponent or opponents will be some of the organization’s behavioral data and contributes to the <em>organizational perspective</em>. While, age group, unemployment rates, religious share in the population etc will be part of the customer’s behavioral data and contributes to the <em>customer perspective.</em> With these two combined, you have a hybrid perspective at hand and not only that you are much more confident than before that you have not missed anything knowingly.</p><blockquote>The ultimate takeaway is that — there are only two sides in any analytics project; Organization and Customer and this Framework is general enough to apply to almost all the analytics projects.</blockquote><h3>Don’t forget to give us your 👏 !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*2lvCls4yjxVMfZSR" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F8f5f8b%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F8f5f8b&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/c43026df6fee7cdb1aab8aaf916125ea/href">https://medium.com/media/c43026df6fee7cdb1aab8aaf916125ea/href</a></iframe><figure><a href="https://becominghuman.ai/artificial-intelligence-communities-c305f28e674c"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*2f7OqE2AJK1KSrhkmD9ZMw.png" /></a></figure><figure><a href="https://upscri.be/8f5f8b"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*v-PpfkSWHbvlWWamSVHHWg.png" /></a></figure><figure><a href="https://becominghuman.ai/write-for-us-48270209de63"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*Wt2auqISiEAOZxJ-I7brDQ.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a768e6c105cb" width="1" height="1" alt=""><hr><p><a href="https://becominghuman.ai/a-simple-framework-for-data-collection-for-any-analytics-project-a768e6c105cb">A Simple Framework for data collection for any Analytics Project</a> was originally published in <a href="https://becominghuman.ai/">Becoming Human: Artificial Intelligence Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>