<?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 Piu Mallick on Medium]]></title>
        <description><![CDATA[Stories by Piu Mallick on Medium]]></description>
        <link>https://medium.com/@piu-mallick?source=rss-6418fa8def79------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*y-idcWsZLCwS6UQIZTNEUQ@2x.jpeg</url>
            <title>Stories by Piu Mallick on Medium</title>
            <link>https://medium.com/@piu-mallick?source=rss-6418fa8def79------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 09:51:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@piu-mallick/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[Inheritance]]></title>
            <link>https://piu-mallick.medium.com/inheritance-14dd6d46b056?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/14dd6d46b056</guid>
            <category><![CDATA[scala]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[oops-concepts]]></category>
            <category><![CDATA[inheritance]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Thu, 08 Apr 2021 18:50:00 GMT</pubDate>
            <atom:updated>2021-04-08T18:50:00.297Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2tDz4QLL9AMAkE2x-22BSA.jpeg" /><figcaption>Pic Courtesy: <a href="https://unsplash.com/@liane">Liane Metzler</a> (Unsphash)</figcaption></figure><p>In <strong>O</strong>bject-<strong>O</strong>riented <strong>P</strong>rogramming paradigm, classes can be <em>derived</em> from other classes, hence <em>inheriting</em> fields and methods from those classes.</p><p>Java, C++, Python, Scala, etc. are some of the programming languages that exhibit the property of inheritance.</p><p>The idea of <strong>inheritance</strong> is very simple yet powerful. There can be times when we want to create a new class and there is already an existing class that includes some of the code we might be in need, so in that case we can derive our new class from the existing class. In doing this, we can reuse the fields and methods of the existing class without having to do the whole stuff(writing and debugging the code) again by ourselves.</p><p><strong>A subclass</strong> inherits all the <em>members</em>(i.e. fields, methods and nested classes) from its superclass or parent class.</p><p><strong>A class</strong> derived from another class is called a <em>subclass</em> (also known as a <em>derived class</em>, <em>extended class</em> or <em>child class</em>). The class from which the <em>subclass</em> is derived is called a <em>superclass</em> (also known as a <em>base class </em>or a <em>parent class</em>).</p><p><strong><em>Note</em></strong>: Constructors are not the members, hence they are not inherited by the subclasses, but the constructor of the superclass can be invoked from the subclass.</p><p>Except <strong><em>Object</em></strong><em>, </em>which has no <em>superclass</em>, every class has one and only one direct <em>superclass</em>, which is also known as <em>Single</em> <em>Inheritance</em>. When there is no explicit declaration of a superclass, every class is implicitly a subclass of <em>Object</em>.</p><p>Classes can be derived from classes that are derived from classes that are derived from classes and so on, unless and until derived from the topmost class, <em>Object</em>. Such type of a class is said to be descended from all the classes in the inheritance chain stretching back to the superclass <em>Object</em>.</p><h4>The Java Platform Class Hierarchy</h4><p>The <em>Object</em> class, defined in the <em>java.lang </em>package, defines and implements the behavior common to all the classes, including the classes that we write. In the Java platform, many classes are derived directly from the Object class, and other classes are derived from those which are derived from some other classes and so on, forming a hierarchy of classes as a result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PCj78r4xe-PvwQmOPqIk3g.png" /><figcaption>Pictorial Representation: All the classes in the Java Platform are descendants of Object. The top of the hierarchy, the Object, being the most general of all the classes. The classes near the bottom of the hierarchy provide more specialized behavior.</figcaption></figure><h4>Power of a Subclass</h4><p>A subclass has the capability of inheriting all of the <em>public</em> and <em>protected</em> members of its parent, irrespective of what package the subclass is in. If the subclass is in the same package as its parent, it also inherits the <em>package-private</em> members of the parent. The inherited members can be used as is, can be replaced, hidden or supplemented with new members:</p><ol><li>The inherited fields can be used directly, just like any other fields.</li><li>A field can be declared in the subclass with the same name as the one in the superclass, thus <em>hiding it </em>(which is not recommended).</li><li>New fields in the subclass can be can be defined which are not in the superclass.</li><li>The inherited methods can be used directly as they are.</li><li>A new <em>instance</em> method can be written in a subclass that has the same signature as the one in the superclass, thus <em>overriding</em> it.</li><li>A new <em>static</em> method can be written in a subclass that has the same signature as the one in the superclass, thus <em>hiding</em> it.</li><li>New methods can be declared in the subclass that are not in the superclass.</li><li>A subclass constructor can be written that invokes the constructor of the superclass, either implicitly or by using the keyword <em>super</em>.</li></ol><h4>Private Members in a Superclass</h4><p>A subclass does not inherit <em>private</em> members of its parent class. However, if the superclass has its <em>public</em> or <em>protected</em> methods for accessing these its <em>private</em> fields, these can also be used by the subclass.</p><p>A nested class has access to all the private members of its enclosing class — both fields and methods. Hence, a public or protected nested class inherited by a subclass has indirect access to all of the private members of the superclass.</p><p>In my next article, I will try to elaborate on some of the examples (code snippets) that show inheritance and the common problems that we might run into while implementing inheritance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14dd6d46b056" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Daily Coding — 1]]></title>
            <link>https://piu-mallick.medium.com/daily-coding-1-8abda83b4e6c?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/8abda83b4e6c</guid>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[coding-interviews]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Tue, 11 Aug 2020 01:57:29 GMT</pubDate>
            <atom:updated>2020-08-11T02:06:59.782Z</atom:updated>
            <content:encoded><![CDATA[<h3>Daily Coding — 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JzputR1MQBnde-Y6WWD-qg.png" /><figcaption>Photo Credit: Unsplash (<a href="https://unsplash.com/@ffstop">Fotis Fotopoulos</a>)</figcaption></figure><h3><strong>Problem 1: TwoSum</strong></h3><h4>Problem Statement</h4><p>Given a list of numbers and a number k, return whether any two numbers from the list add up to k.</p><p>For example, given [10, 15, 3, 7] and k of 17, return <strong>[0, 3]</strong> since 10 + 7 is 17. Otherwise, return <strong>[-1, -1]</strong>.</p><p><strong><em>Bonus: Can you do this in one pass?</em></strong></p><p>Similar <strong>Leetcode</strong> problem: <a href="https://leetcode.com/problems/two-sum/">https://leetcode.com/problems/two-sum/</a></p><p><strong>Approach 1: Brute Force Method</strong></p><p>Let’s try this to approach the problem gradually, and try this with a <strong>2-pass approach</strong>.</p><p>(Programming Language Used: Python)</p><pre>def twoSum(nums, target):</pre><pre>    res = []<br>    for i in range(len(nums)):<br>        for j in range(1, len(nums)-1):<br>            if nums[i] + nums[j] == target and i != j:<br>                res.append(i)<br>                res.append(j)<br>                return res<br>    return [-1, -1]</pre><pre><strong># Testing</strong><br>s = [10, 15, 3, 7]<br>k = 17<br>print(twoSum(s, k))</pre><pre><strong># Output: [0, 3]</strong></pre><p><strong>Visual Execution:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*EvinTst6LSKeS9JMeTBX3w.png" /><figcaption>Check <a href="http://pythontutor.com/">http://pythontutor.com/</a> for your code-visualization (in steps)</figcaption></figure><p><strong>Complexity Analysis:</strong></p><ul><li><strong>Time Complexity</strong>: O(n²) [for 2 for-loops]</li><li><strong>Space Complexity</strong>: O(1) [since the res always holds 2 values]</li></ul><p>where, n = length of the elements in <strong>nums.</strong></p><p><strong>Approach 2: Hash Map / Dictionaries</strong></p><p>(This is, of-course, a better solution that the previous one.)</p><pre>def twoSum(nums, target):<br>    dictionary = {}<br>    for i in range(len(nums)):<br>        if nums[i] not in dictionary:<br>            dictionary[target - nums[i]] = i <br>        else:<br>            return [dictionary[nums[i]], i]<br>    return [-1, -1]</pre><pre><strong># Testing:</strong><br>nums = [7, 2, 15, 11]<br>target = 17<br>print(twoSum(nums, target))</pre><pre><strong># Output</strong><br>[1,2]</pre><p><strong>Visual Execution:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*AJsRtvCSPpC7NA-LlFPJJQ.png" /></figure><p><strong>Complexity Analysis:</strong></p><ul><li><strong>Time Complexity</strong>: O(n) [for 1 for-loop]</li><li><strong>Space Complexity</strong>: O(n) [since the dictionary holds the values from nums till it gets the desired output]</li></ul><p>where, n = length of the elements in <strong>nums.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8abda83b4e6c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algorithms — Part I]]></title>
            <link>https://medium.com/swlh/algorithms-part-i-e98c25273e9a?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/e98c25273e9a</guid>
            <category><![CDATA[algo]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[basics]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Tue, 16 Jun 2020 19:26:22 GMT</pubDate>
            <atom:updated>2020-06-19T05:41:04.028Z</atom:updated>
            <content:encoded><![CDATA[<h3>Algorithms — Part I</h3><p><strong><em>Or should we call secret recipes to logical programming?</em></strong></p><p><strong><em>Choice is yours!</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8UaHd4Tdo4c6FYQgzWFRzQ.png" /><figcaption>Image Source: <a href="http://bit.ly/2wSkMbO">http://bit.ly/2wSkMbO</a></figcaption></figure><h4>Brief Overview</h4><p>The world that we are living in is being increasingly powered by various software. We can hardly find anything being done without the use of software. Seriously, it just touches almost every aspect of our daily lives; whether keeping ourselves updated by scrolling through the news feeds, or doing office-work on spreadsheets or preparing presentations or coding, or driving in our cars or even using some smart kitchen appliances for our ease. And, have you ever wondered what powers a software? Of course, they are <strong><em>Algorithms</em></strong>.</p><p>Is ‘<strong>Algorithm</strong>’ a new term to you? Don’t worry — I am here to guide you. <strong>Algorithm </strong>can be described as processes or recipes or instructions (whatever you may want to call them) that describe the procedure to perform certain tasks. No matter what kind of applications you build, you are bound to come across certain situations that require the use of one or more algorithms to get your job done. So, all I am trying to convey is that <em>trying to build a program without understanding the algorithms is like trying to build a car without having an understanding about the engines — </em>hence, getting a proper understanding of the algorithms are so important.</p><h4>Diving deeper into the concept of Algorithm through a hypothetical example</h4><p>We would gradually dig deep and start understanding the concept of an algorithm through an example. Let us suppose that we have a collection of shapes(as shown in the picture below) and we have to group the shapes together in individual sets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oNzTdKbf3LN6cUuffe89qQ.png" /><figcaption>Collection of shapes: Rectangles, Squares, Circles, Triangles</figcaption></figure><p>Now, there are so many ways in which we can do this, but probably the easiest and the simplest way would be to write some kind of a loop function to iterate over each of the shapes, then determine what kind of shape each one is, and lastly add that shape to the correct group. So, by the time the process ends, we would have separate groups of each shape type.</p><p>The algorithm might look somewhat like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gZS5l0lNKQt3bRLZyeoF4A.png" /><figcaption>Algorithm for grouping the shapes in different category</figcaption></figure><p>And, after grouping, the final picture would be like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*30oqmkKsZ8WRMC8oTEPBbQ.png" /><figcaption>Final picture after grouping (i.e. after execution of the algorithm)</figcaption></figure><p>So, this complete set of steps that are taken together to solve a particular problem, forms an <em>algorithm</em>. <em>Algorithms</em> have <em>several characteristics</em> that could be used to describe them.</p><p><strong>Algorithm Complexity</strong></p><ol><li><strong><em>Space Complexity</em></strong>: Amount of memory and storage space required for the execution of the algorithm.</li><li><strong><em>Time Complexity</em></strong>: Time taken to complete the algorithm, i.e. it describes how efficient the algorithm is relative to the size of the input it is given to work on.</li></ol><p><strong>Inputs &amp; Outputs</strong></p><ol><li><strong><em>Inputs</em></strong>: What does the algorithm accept?</li><li><strong><em>Outputs</em></strong>: What are the results?</li></ol><p><strong>Classification</strong></p><ol><li><strong><em>Serial/Parallel</em>: </strong>The algorithms which are <strong><em>serial </em></strong>in nature work on their data-sets in a sequential fashion. On the other hand, a <strong><em>parallel</em></strong> algorithm can break up a data-set into smaller bits and then work on each simultaneously.</li><li><strong><em>Exact/Approximate</em></strong>: An algorithm can be <strong><em>exact</em></strong> where it produces a known or predictable value. Whereas, an algorithm can be <strong><em>approximate</em></strong> too, in which case, it tries to find an answer that might or might not be exact (for example, a facial-recognition algorithm — might not produce the same result every single time).</li><li><strong><em>Deterministic/Non-deterministic: Deterministic </em></strong>algorithms execute each step with exact decision. But when an algorithm seems to be<strong><em> non-deterministic</em></strong>, it attempts to produce a solution using successive guesses, which become more accurate over time, based on the data-set training (for example Machine Learning algorithms).</li></ol><h4>Common Algorithms</h4><p>Some of the common algorithms used in our day-to-day life may include:</p><ol><li><strong><em>Search Algorithms</em></strong> — These algorithms are used where there is a need to find a specific piece of data inside a large data structure (for example, searching for a substring within a string or finding a file within a set of nested folders on a file system).</li><li><strong><em>Sorting Algorithms</em></strong> — These are one of the most common types of algorithms used when working with ordered sets of data; be it numbers or strings. The working principle of these algorithms involve taking a set of data and then placing into a particular order.</li><li><strong><em>Computational Algorithms </em></strong>— These algorithms are used to take a set of data, as input, and derive or produce another set of data. Simple examples using these algorithms can be <em>finding out whether a number is prime or not</em>, or <em>finding the factorial of a particular number</em> or <em>converting a particular unit of measurement to another</em>.</li><li><strong><em>Collection Algorithms </em></strong>— Finally, there are collection algorithms which involve manipulating and navigating among sets of data that are stored within a particular structure. Some specific examples that can be included under these algorithms would be counting specific items, filtering out certain unwanted data based on some conditions, etc.</li></ol><h4>Understanding Algorithm Performance</h4><p>As we have been discussing that algorithms are designed to work on sets of data and solve computational problems, it becomes very crucial to understand about the performance of the algorithm. The algorithm-performance is an important factor in choosing a particular algorithm to solve a programming problem as well as in understanding on how your program would perform under certain circumstances. So, measuring the change in the performance of an algorithm depends mainly on the <em>size of the input data,</em> and the term used to describe the algorithm performance is called the ‘<strong><em>Big-O notation.</em></strong>’</p><h4>Big-O notation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HC6iZQ4YkCzWq6amcMp-Fw.png" /></figure><p>This notation is used to describe how a particular algorithm performs as the size of the input data keeps on growing over the period of time. And, the reason behind using the letter O is addressing the growth-rate of an algorithm’s time complexity as the <strong><em>order of operation </em></strong><em>(time-scale to perform the operation)</em>. It usually describes the worst-case scenario of the duration it takes to perform the cooperation. And, one noteworthy thing is that many algorithms and data structures have more than <strong>Big-O </strong>value.</p><p>For example, if we speak about the Data Structures, we can usually perform multiple operations on a particular program, such as, inserting, searching, sorting — for values each of which have their own order of operation. So, it’s time to have a look at some of the commonly used <strong>Big-O </strong>terms.</p><h4>Quotidian/Familiar Big-O Terms</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z0eoRF59DjTCDmiBO-D6ow.png" /></figure><p>So, this is just a sneak-peek of the time-complexities of the various algorithms, and we would gradually learn in details about them in due course of time. If you want to view graphically how the order of complexity becomes worse, here it is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CtnDKKIrc1A1Jc5yVHIJeA.png" /><figcaption>Image Source: <a href="http://bit.ly/2IqGNVS">http://bit.ly/2IqGNVS</a></figcaption></figure><p>We will be discussing about the complexity of algorithms in the next part of the article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e98c25273e9a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/algorithms-part-i-e98c25273e9a">Algorithms — Part I</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When Python fell for R!]]></title>
            <link>https://medium.datadriveninvestor.com/when-python-fell-for-r-a9d63a419276?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9d63a419276</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Fri, 14 Feb 2020 02:03:00 GMT</pubDate>
            <atom:updated>2020-03-27T18:32:58.872Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>This article has been written to enter SaturnCloud’s V-day challenge. (</em></strong><a href="http://www.saturncloud.io/"><strong><em>www.saturncloud.io</em></strong></a><strong><em>)</em></strong></p><p>It was few months ago when me and my teammates where doing some brainstorming about a <strong>Data Visualizing project</strong> that we had to do as a part of our <strong>Masters program course curriculum</strong>. Initially we didn’t have any concrete idea on what to do. And as usual with any other group, we bounced a lot of ideas around, some were good and some not so. Ultimately, with a few rounds of discussion and consulting with our professor, we came up with an awesome idea.</p><p><a href="https://www.datadriveninvestor.com/2019/02/21/best-coding-languages-to-learn-in-2019/">Best Coding Languages to Learn in 2019 | Data Driven Investor</a></p><p><strong><em>So, what was the awesome idea?</em></strong></p><p>We tried to visualize the <strong>immigration trends from various parts of the world to USA during the time-frame 2010 to 2017</strong>. We considered only the <strong>H1-B applicants</strong> for our research purpose.</p><p>We named our project as ‘<strong>The Crumbling American Dream</strong>’, as the data/statistics (showed below) a gradual and then a rapid drop in the number of immigrants moving to America. I have attached an excerpt of the project below for the people interested in.</p><p>So at this point if you are thinking what is awesome about this I won’t hold you accountable for that. In fact there is nothing awesome about the data set or what we wanted to portray with our finding. The awesomeness lied in the way we thought we wanted to showcase it.</p><p>We saw a graph about Facebook usage around the world where the representation was done in dark mode which had impressed the hell out of all of us (link <a href="https://www.bbc.co.uk/news/science-environment-11989723">here</a>) and we wanted to achieve that in our project. And this exercise gave us an opportunity to showcase that in our project.</p><p>The <strong>data-set</strong> used for our project research was: <a href="https://www.kaggle.com/jboysen/us-perm-visas"><strong>US Permanent Visa Applications</strong>.</a> The weapon of our choice for this data visualization was Python to start with as most of us were proficient in it.</p><p>Initial exploration rounds were easy with <strong>Python;</strong> when we tried to plot some <strong>bar graphs</strong> or <strong>heat maps </strong>(on<strong> </strong>USA). However, we soon faced a roadblock or more like a puzzle to solve. The plotting that was the immigration lines to USA from various parts of the world. The graph that we did with Python was not clear and the curves were not smooth enough. It looked jagged and somewhat pixelated. So not the look we were going for. All the other graphs done in Python were good enough for explanation and understanding; however this was supposed to be our “<strong>wow factor</strong>” and with this not proper we were going to lose the “<strong>wow factor</strong>” from our project. And, none of us were ready to accept that just yet.</p><p>This was the moment when one of us suggested to redo the graph in R and we were awestruck with the outcome.</p><p>Here look for yourself. It may not be a Michelangelo, however we are stupid proud of it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wRPl6nQKWx9td1Zuv5S22Q.png" /><figcaption>Immigration trends (for H1-B applicants) from various parts of the world to USA during the time-frame 2010 to 2017</figcaption></figure><p>For us the project was a perfect match made in heaven between Python and R. The Python figures complimented the main figure (the world map done in R) in terms of explanation for our project to be successful.</p><p>Below are the supporting figures in Python and the project excerpt follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JCTeVXuqV3jemSL6D2qdxw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcULLdwz9-XKqHFQCQpB6A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uBga4xViv5ywrs3VaXcp6w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FXp-_YFXYyS8DIT6AgTMJg.png" /><figcaption>WordCloud showing the most visited places by H1-B immigrants</figcaption></figure><p><strong>Source Code of the Project</strong>: <a href="https://github.com/piumallick/Data-Visualization/blob/master/Project_TheCrumblingAmericanDream/Project_Notebook/TheCrumblingAmericanDream.ipynb">Click here</a></p><p><strong>Project Report</strong>: <a href="https://github.com/piumallick/Data-Visualization/tree/master/Project_TheCrumblingAmericanDream/Project_Report">Click here</a></p><p><strong>Project Team Members</strong>: <a href="https://www.linkedin.com/in/goutham-uppalapati/">Goutham Uppalapati</a>, <a href="https://www.linkedin.com/in/shubhrika/">Shubhrika Sehgal</a>, <a href="https://www.linkedin.com/in/-shrutigupta/">Shruti Gupta</a> and <a href="https://www.linkedin.com/in/piu-mallick-1940351a/">Piu Mallick</a> (and that’s me).</p><p>Want to read more about the discussion and the personal story about the project? Please scroll down. :)</p><h3><strong>Discussion about the project</strong></h3><p><strong>“What is the status of the current U.S. H1B visa program and what can we look forward to in the new year</strong>?” — This is the most buzzing question going around right now as the Trump Administration is trying hard to enforce new and stringent laws to the U.S. H1B visa program.</p><p>There is no denying the fact that foreigners view the H1B visa as the golden gate to furthering their career, starting a family and building a new life in America. The visa is particularly popular because people can also transition from it to a green card. Many applicants are international students trying to transition from F-1 student status to H1B work visas on route to a green card. According to the generic statistics, each year, the <strong>U.S. Citizenship and Immigration Service</strong> (USCIS) opens a total of 85,000 such visas — 65,000 for those applicants who have a Bachelor’s degree or equivalent, and 20,000 for those obtaining a Master’s degree or higher from the U.S.</p><p>Hence, it becomes worth considering the fact where individuals have passed through this H1B visa gateway and what they have contributed to American society. Nearly 50% of the Fortune 500 companies were founded by the 1st or 2nd generation immigrants please see ‘<strong>Data’</strong> section for more information. According to a recent report, U.S. tech giants like Amazon, Microsoft, Google and Intel are among top 10 employers of approved H1-B applicants. U.S. educators have established without doubt that the entry of foreign-born scientists and engineers remains an unmatched source of “<a href="https://immigrationforum.org/article/immigrants-as-economic-contributors-immigrant-entrepreneurs/">strength and vitality</a>” for the country’s tech industry. Under these circumstances, one would expect the American government to support the H1-B visa program. Instead, it is trying hard to introduce a number of policies that appear to impede its effectiveness.</p><p>One thing has happened for sure — securing a work visa for foreign nationals accomplished in the math and engineering fields fit for high tech has become more difficult under President Trump’s executive order “<strong>Buy America, Hire American</strong>”. The policy directs the Department of Homeland Security to issue H-1B visas to only the most-skilled foreigners or highest-paid beneficiaries. According to new data acquired by the National Foundation for American Policy (NFAP), the USCIS has begun to increase H-1B visa denials and the number of Requests for Evidence issued to H-1B visa applicants. According to an NFAP source, “<strong><em>Employers report the time lost due to the increase in denials and Requests for Evidence has cost millions of dollars in project delays and contract penalties, while aiding competitors that operate exclusively outside the United States</em></strong>.” According to an article published in Forbes, it can be noticed that the H1-B denial rate has surged to a greater extent, particularly in the Trump era. The figure below depicts this fact very clearly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*VtyMW7C7yuA4kU2_3b-SgQ.png" /></figure><h3>Personal Story Behind the Project</h3><p>We have researched and found out earlier that people have migrated to the U.S. from various parts of the world for better job opportunities, better life and hoping that they would have live the “<strong>American dream</strong>”. The facts and figures, shown above, also prove the same. Even, we as current graduate students (being STEM students and holding Master’s degree from a reputed university in U.S.), also aspire to find better employment opportunities after completing graduation and live the similar dream. U.S. has always welcomed talented people across the globe which in turn boosts the U.S. economy and as a result can claim itself to be world’s number one country. However, looking at the current situation, we can say that the current situation may not be as good as it used to be earlier and the migration of people to U.S. might have affected to a certain extent. We need to wait and watch what the American government unfolds for us in future!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fb2a0d6%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2Fb2a0d6%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/0707f5c806284d01a4a13c7b13a91ce3/href">https://medium.com/media/0707f5c806284d01a4a13c7b13a91ce3/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9d63a419276" width="1" height="1" alt=""><hr><p><a href="https://medium.datadriveninvestor.com/when-python-fell-for-r-a9d63a419276">When Python fell for R!</a> was originally published in <a href="https://medium.datadriveninvestor.com/">DataDrivenInvestor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What if you need to elucidate any Data Science concept to any non-techie or a layman?]]></title>
            <link>https://medium.com/swlh/what-if-you-need-to-elucidate-any-data-science-concept-to-any-non-techie-or-a-layman-101a2d721ce8?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/101a2d721ce8</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data-analytics]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Fri, 02 Aug 2019 03:44:53 GMT</pubDate>
            <atom:updated>2020-03-27T18:36:30.244Z</atom:updated>
            <content:encoded><![CDATA[<p>It was about a month ago when I paid a short visit to my hometown (Kolkata, India) and I was full of mixed feelings — <strong>excited</strong> because I was going to meet my family members after a long time, <strong>doleful</strong> as I was traveling alone, leaving my husband &amp; my daughter here in USA and <strong>anxious</strong> because I was going to attend the visa interview(Student visa for pursuing my Master’s degree) at the US Consulate — the main purpose of my visit to my hometown. With all the mixed feelings going in my mind, I sometimes, became <strong>nervous</strong> too, with some questions like— “<em>What if my visa gets rejected?</em>”, <em>“What if all my hard work of past 2 years in getting admission to the University goes in vain?” </em>However, with all these questions buzzing around my mind, I went for the interview. Although I was expecting a lot of questions from the US personnel, it went pretty smooth as he was quite impressed with my profile. And, guess what, my visa got approved — “<em>Yay!</em>” My happiness knew no bounds. So, my dream of pursuing Master’s degree was soon going to be true. Everyone in my family was very happy and excited as I was.</p><p>And the days crossed by so soon and the calendar date was 14th July 2019 —when I would be flying back to USA from India. I would never forget that date in my life because something happened on that day which I was expecting on the visa interview day.</p><p>Are you guys wondering what strange thing happened that day? Well, here it goes:</p><p>My flight was on 14th July, at 3:30 a.m. I entered the airport around 12:30 am and waved at my dad. He came along for see-off. With a heavy heart I went inside, waiting in the queue for my tickets. I got my tickets and then I was guided towards another queue — the <strong>Immigration Queue</strong>. I could see the big sign board hanging on the top displaying “<strong>Immigration (India)</strong>”. It was a big queue, the wait time was even longer. Anyways, I was waiting for my turn, unknown of the fact that I would be bombarded with a big pile of questions. Finally, it was my turn. So, the conversation went on like this:</p><p><strong>Immigration Officer (IO)</strong>: “<em>Hello Ma’am! How are you?</em>”</p><p><strong>Me</strong>: “<em>I’m good. Thank you. How are you?</em>”</p><p><strong>IO</strong>: “<em>I am fine too. Are you going to Chicago, USA?</em>”</p><p><strong>Me</strong>: “<em>Yes</em>.”</p><p><strong>IO</strong>: “<em>Is this your first visit to USA? Oh my bad, I am so sorry. How can this be your first visit? You seem to be a frequent traveler and quite surprisingly you seem to possess so many visas — you have been on H4 visa for quite sometime, you had H1B previously and now you got your F1 visa also. Wow!</em>”</p><p><strong>Me</strong>: “<em>Yes, I have been staying with my husband as a dependent but now I have my F1 visa and would be traveling to USA with F1 status. And I have never actually traveled in my H1B.</em>”</p><p><strong>IO</strong>: “<em>So Ma’am, what is your purpose of your visit?</em>”</p><p><strong>Me</strong>: “<em>I am going to USA to pursue my Master’s degree from University of Pittsburgh.</em>”</p><p><strong>IO</strong>: “<em>Master’s in what?</em>”</p><p><strong>Me</strong>: “<strong><em>Information Sciences</em></strong>”</p><p><strong>IO</strong>: “<em>What will be your concentration area?</em>”</p><p><strong>Me</strong>: “<strong><em>Big Data Analytics</em></strong>”</p><p><strong>IO</strong>: “<em>What? What is that? Never heard of anything like this before. Could you please explain it to me in details?</em>”</p><p><strong>Me</strong>: “<em>If you have heard of </em><a href="https://medium.com/dataseries/data-science-b447d3a1de5f"><strong><em>Data Science</em></strong></a>,<em> </em><strong><em>Big Data Analytics</em></strong><em> is a subset of that</em>.”</p><p><strong>IO</strong>: “<em>No, these words are new to me. Explain them to me please</em>.”</p><p>Now to be truthful, I never expected him to ask me to explain <strong>Data Science</strong> or <strong>Big Data</strong>, may be at the visa interview, but not here. So was a little dumbstruck for a moment, however then I thought he may create some problem if I don’t tell him something. So, I said aloud, ever the text-bookish: “<strong><em>Big Data Analytics</em></strong><em> is the complex process of examining large and varied data sets — to uncover information including hidden patterns, unknown correlations, market trends and customer preferences which help the organizations in making business decisions.</em>”</p><p>At that the <strong>IO</strong> looked at me silly and asked: “<em>I didn’t understand anything. Can you explain me in some other way?</em>”</p><p><strong>Me(in my mind)</strong>: “<em>OMG! What to do? He did not understand anything. How to make some guy understand the concepts of </em><strong><em>Data Science</em></strong><em> where he doesn’t have the faintest idea about it!</em>”</p><p>And then just like that I had this brilliant idea to explain about some aspects of <strong>Data Science</strong>.</p><p><strong>Me aloud</strong>: “<em>Have you ever </em><strong><em>tossed a ping-pong ball into a bucket</em></strong><em> in your childhood, as a part of the hurdle race?</em>”</p><p><strong>IO</strong>: “<em>Yes. Why not? But, why are you asking me this?</em>”</p><p><strong>Me</strong>: “<em>You might have realized that after the first attempt you have put too much force in it. The second attempt might make you realize that you were closer to the target but all that you needed was a little increase in the throw angle. So, what was happening there was basically after every throw you were learning something new and improvising on the end result.</em>”</p><p><strong>Me (after a pause)</strong>: “<em>Does that make any sense?</em>”</p><p><strong>IO</strong>: “<em>Yes, it does.</em>”</p><p><strong>Me</strong>: “<em>Okay. Let’s take another example. Have you ever tried </em><strong><em>aiming at the dart</em></strong><em>? Was your every throw perfect? If not, what mistakes did you make?</em>”</p><p><strong>IO</strong>: “<em>Well, frankly speaking. I was never good at aiming the darts. Initially, I tried to aim left or right of the real target but gradually my throw started getting better.</em>”</p><p><strong>Me</strong>: “<em>Exactly, after making few attempts you would realize that your elbow needs to be slightly pointed up directly at the dart-board. When you start the throw, your elbow leads to the process followed by the basic mechanics of your throw. The ultimate technique is — </em><strong><em>Aim directly at your target</em></strong><em>.</em>”</p><p><strong>IO</strong>, again giving me the silly look: “<em>Yes, I get it. But, what connects these examples to </em><strong><em>Data Science</em></strong><em>, or your course of study?</em>”</p><p><strong>Me</strong>: “<em>I am slowly coming to that point. The point I was trying to make is that we, rather, the human brain, is programmed to learn from our past experiences and eventually getting closer to perfection, if not 100% perfect always. And we can do something similar with machines too by applying the same technique. We can program a machine to learn from every attempts or experiences and then improve on the outcome.</em>”</p><p><strong>IO</strong>: “<em>Okay, I am not sure I am getting it hundred percent, but go ahead.</em>”</p><p><strong>Me</strong>: “<em>Okay, lets try some real application of </em><strong><em>Data Science </em></strong><em>— let’s say you have taken a day-off and planned for a long drive with your wife. Imagine yourself at the driver’s seat and your wife sitting beside you — you started the engine of the car, turned on the music, set the destination in your GPS and you are all set to go. After driving for one hour or so, all of a sudden, there is a forecast in the GPS that there is some road work going on and it has been causing traffic delays. Based on the information that the GPS has gathered from the satellites, it might be suggesting or predicting a detour for you or showing alternative routes to avoid any hustles and most of the time you would end up in an agreement with the GPS. Hence, you might understand how </em><strong><em>Data Science</em></strong><em> is making predictions in our day-to-day lives and trying to make our life trouble-free.</em>”</p><p><strong>Me (with a pause)</strong>: “<em>I guess I was able to explain one of the application areas of </em><strong><em>Data Science</em></strong><em>, if not all.</em>”</p><p><strong>IO</strong>: “<em>Yes, of course. I understood what you meant and I am quite impressed with your explanation. I had no idea about </em><strong><em>Data Science</em></strong><em> and even was unaware of the fact that these kind of predictions might make a huge impact in our daily lives. Thanks a lot for educating me on this. Well, wish you good luck for your future endeavors and safe travels</em>.”</p><p><strong>Me (with a big smile)</strong>: “<em>Pleasure is all mine. Thank you!</em>”</p><p>And with a happy face I started walking towards the gate from where I would be boarding my flight. But that conversation made me realize that being from a tech background it is easier to explain some technical details to another techie, but your job gets more difficult when you have to explain the same to a non-techie in layman’s terms. When that person understands what you are really trying to portray, that day you can assume that you are “technically sound” and the concepts are clear in your head.</p><p><strong>NOTE</strong>: The above conversation is not exactly how it happened in it’s entirety, however this is how my brain wanted to have happened. The reality was little less dramatic and more on the mundane side, although I did actually try my damnedest to explain <strong>Data Science</strong> to the poor guy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=101a2d721ce8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/what-if-you-need-to-elucidate-any-data-science-concept-to-any-non-techie-or-a-layman-101a2d721ce8">What if you need to elucidate any Data Science concept to any non-techie or a layman?</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science]]></title>
            <link>https://medium.com/dataseries/data-science-b447d3a1de5f?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/b447d3a1de5f</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Wed, 31 Jul 2019 00:20:00 GMT</pubDate>
            <atom:updated>2020-03-28T12:53:05.843Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Science 101</h3><h4>The concepts you need to know before entering the Data Science world</h4><p><em>I was playing around with data and then I found the Science — </em>Yes, my introduction to the world of Data Science has been a part of my research work that I did solely for my pleasure. I used to work as a Database Developer in a reputed IT firm when my daughter was born and I decided to take a hiatus from work to make her my priority. However, whenever I was at leisure, I was always surfing the web, poking around in my friend circle to keep updating myself with the latest technologies and all the happenstance in the tech world. And not surprisingly I got introduced to quite a few amazing concepts and in them the newer inventions around Data Science captivated me and the thrust for more kept me going on.</p><p>And like me, if you are starting at Data Science, looking for resources that can give you a jump start or at least a better understanding at it or you have just heard/read the term being coined and want to know what it is, off-course you can find a gazillion materials about it, this is, however, how I started and got familiar with the basic concepts. :)</p><h4>What do you mean by the term ‘Data Science’?</h4><p>Data Science provides a meaningful information based on larger amount of complex data or big data. Data Science, or if you would like to say Data-Driven Science, combines different fields of work in statistics and computation to interpret data for decision-making purposes.</p><h4>Understanding Data Science</h4><p>How do we collect data? — Data is drawn from different sectors, channels and various platforms including cell phones, social media, e-commerce sites, various healthcare surveys, internet searches and many more. The surge in the amount of data available and collected over a period of time has opened the doors to a new field of study based on big data — the huge and massive data sets that contribute towards the creation of better operational tools in all the sectors.</p><p>The continuous and never-ending access to data has been made possible due to advancements in technology and various collection techniques. Numerous data patterns and behavior can be monitored and predictions can be made based on the information gathered.</p><blockquote>In technical terms, the above stated process is defined as <strong>Machine Learning</strong>; in layman’s terms, it may be termed as <strong>Data Astrology</strong> — <em>predictions based on data</em>.</blockquote><p>Nevertheless, the ever-increasing data is unstructured in nature and is in constant need for parsing in order to make effective decisions. This process is really complex and very time-consuming for the organizations — and hence, the <em>emergence of </em><strong><em>Data Science</em></strong>.</p><h4>A Brief History / Background of Data Science</h4><p>The term ‘Data Science’ has been into existence for about three decades now and was originally used as a substitute for ‘Computer Science’ in 1960s. Approximately 15–20 years later, the term was used to define the survey of data processing methods used in different applications. 2001 was the year when Data Science was introduced to the world as an independent discipline.</p><p>In fact in the year 2012, the Harvard Business Review had published an <a href="https://hbr.org/2012/10/data-scientist-the-sexiest-job-of-the-21st-century">article</a> stating the role of a Data Scientist as the “<strong><em>Sexiest Job of the 21st century</em></strong>” and Data Science has been the buzzword ever since.</p><h4>Disciplinary Areas of Data Science</h4><p>Data Science incorporates tools from multiple disciplines in order to gather a data-set, process and derive insights from the data-set and interpret it appropriately for the decision-making purposes. Some of the disciplinary or noteworthy areas that make up the Data Science field include <strong>Data Mining</strong>, <strong>Statistics</strong>, <strong>Machine Learning</strong>, <strong>Analytics</strong> and <strong>Programming</strong>, of course, and the list goes long and never-ending. But, we would be doing a brief discussion mainly on the aforesaid topics as the concept of Data Science mainly revolves around these basic concepts, just to keep it simple.</p><p><strong>Data Mining </strong>applies algorithms to the complex data-sets to reveal patterns that are then used to extract useful and relevant data from the set.</p><p><strong>Statistics</strong> or <strong>Predictive Analysis </strong>use this extracted data to gauge events that are likely to happen in future based on what the data shows happened in the past.</p><p><strong>Machine Learning </strong>can be best described as an Artificial Intelligence tool that processes massive quantities of data that a human is incapable of doing in a lifetime — it perfects the decision model presented under predictive analytics by matching the likelihood of an event happening to what actually happened at a predicted time in the past.</p><p>The process of<strong> Analytics </strong>involves the collection and processing of structured data from Machine Learning stage using various algorithms. The data analyst interprets, converts and summarizes the data into a cohesive language that the decision making team can understand.</p><p><strong>Programming </strong>forms the backbone of the Software development. Data Science is a combination of several fields including Computer Science. It involves the usage of scientific processes and methods to analyze and draw conclusions from the data. Hence, specific programming languages are designed for this role — Python, R, SQL, Scala, SAS, Julia, Tableau, Qlik, Azure deserve a special mention. All the above mentioned processes need some or the other programming language for the desired result.</p><h4>Data Science Across Different Industries</h4><p><strong><em>Data Science — in Today’s World</em></strong></p><p>Organizations are in constant attempt of applying big data &amp; data science to almost all the everyday activities to bring value to the consumers.</p><p><strong>Banking institutions</strong> are capitalizing on big data to enhance on their fraud detection techniques.</p><p><strong>Asset management firms</strong> are using big data to predict the likelihood of the moving up and down of the security price at a particular stated time.</p><p><strong>Entertainment </strong>&amp; <strong>mass media</strong> companies like Netflix incorporates data mining to determine what products to deliver to its customers. Not only this, Netflix uses specialized algorithms to create personalized recommendations for customers/viewers based on their viewing or watch history.</p><p>These are some of the mention-worthy application areas of data science, but the list goes never-ending. Data science is continuously evolving at a very rapid rate, and its applications have already and will change lives into the future.</p><h4>Job of a Data Scientist</h4><p>Literally speaking, the job of a Data Scientist is multi-tasking: he/she collects, analyzes and interprets massive amount of structured and unstructured data, and in maximum number of cases, to improve an organization’s operations. Data Science professionals develop statistical models that analyze data and detect patterns, trends and various relationships in data sets. This vital information can be used to predict consumer behavior or to identify business and operational risks. Hence, the job of a Data Scientist can be described as a story-telling which presents data-insights to the decision-makers in a way that is understandable and applicable to problem-solving. The role of a Data Scientist is becoming increasingly important as businesses rely more heavily on data analytics to drive decision-making and lean on automation and machine learning as core components of their IT strategies.</p><p>Well, it might appear to others(especially the non-technical people) that the job of a Data Scientist is no different from other jobs and still they take home a lucrative compensation package. But believe me, being a Data Scientist is not an easy task — they are the fortune tellers of the organizations and they should do their analysis right. After all, as mentioned earlier, the job of a Data Scientist has been declared as the sexiest job (by Harvard Review) not long ago.</p><h4>Key Takeaways</h4><ol><li>Advancements in technology, internet, social media and their use have all contributed to the increased access to the Big Data.</li><li>Data Science uses the techniques such as Machine Learning(ML) and Artificial Intelligence(AI) to extract meaningful information and predict future patterns and behaviors.</li><li>The field of Data Science is experiencing a gradual growth as the technology advances and big data collection and and analytical techniques become more sophisticated.</li></ol><h4>Present &amp; Future of Data Science</h4><p>Data Science has become the real thing now and there are potentially hundreds and thousands of people running around with that job title. And, we too have started seeing these Data Scientists making large contributions to their organizations. There are certainly challenges to overcome, but the value of data science from a business point of view is pretty clear at this point.</p><p>As aptly said, “<em>Necessity is the mother of invention</em>” — likewise future needs open the doors for more research work in the field of data science. For example, you can see in the video below the concept of ‘<strong>Democratizing AI</strong>’ (the power of mixed reality) by overcoming the barriers of communication — language and transport and it is absolutely a game changer.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FauJJrHgG9Mc%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DauJJrHgG9Mc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FauJJrHgG9Mc%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1b295f0c29418e513f3651ef9dad6c22/href">https://medium.com/media/1b295f0c29418e513f3651ef9dad6c22/href</a></iframe><p>Now, thinking about the future, certain questions definitely arise —</p><p>→ “How will the practice of data science be changing over the next five years? What will be the new research areas of data science?”</p><p>→ “Will we still be using that title? Or will we all be <strong>AI monkeys</strong>, or something else?” We have to wait and see what future awaits for us. ;)</p><p>→ “Will the fundamental skills will remain the same?”</p><p>These are certainly debatable questions, but one thing is for sure — inventions has happened and will continue to happen when there arises any demand or for the betterment of the future. And, the world would keep benefiting from data science through its upcoming innovations.</p><p>Please <strong>clap </strong>if you liked reading the article. It definitely gives a sort of encouragement for writing more. I would be sharing more on Data Science concepts in my upcoming articles and try to make it as simple as possible, so that even a non-technical person can get the taste of it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b447d3a1de5f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataseries/data-science-b447d3a1de5f">Data Science</a> was originally published in <a href="https://medium.com/dataseries">DataSeries</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Democratization]]></title>
            <link>https://medium.com/data-science/data-democratization-918416c0f0e0?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/918416c0f0e0</guid>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-democratization]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[ds-in-the-real-world]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Thu, 18 Jul 2019 16:39:02 GMT</pubDate>
            <atom:updated>2020-03-28T12:50:42.347Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong><em>Brief Introduction, Definition, Pros &amp; Cons, Conclusion</em></strong></h4><p>In today’s world, every business is bombarded with data from each and every angle possible. There always remains a constant pressure to use various insights we garner from the data to improvise on our business performance. Hence, the incredible amount of the usage of the processed data has surged the desire and demand for <strong>data-democratization</strong>. So, if you are wondering that the above mentioned term is totally new to you, let’s dive deep into it.</p><h4>Diagnosis of the term ‘Data Democratization’</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tUfr41NiI--Ylvq2kw0kVg.png" /></figure><p>Before grabbing some knowledge on <strong>data democratization</strong>, we need to understand what does <strong>democratization</strong> mean. We can define it as the <em>introduction of a democratic system or democratic principles</em>; on breaking down the term further we can elucidate it as <em>the action of making something accessible to everyone</em>.</p><p>And as aptly named, <strong>data democratization</strong> is the process of making <em>data accessible to everyone</em>, which implies that <em>there are no gatekeepers that create a bottleneck at the gateway to the data</em>. It provides <em>an ease to the people for a better understanding of the data to expedite the decision-making and uncover brilliant opportunities for an organization</em>. The ultimate mission is to have anybody use the data anytime, as and when required, to make a major impact in decision-making with no barricade or roadblocks.</p><p>Of late, data was “retained” by the IT departments. Various business units such as marketing, sales, executives are always in need to data in order to make important business decisions. Needless to say that they always had to go through their respective IT departments to access the required data. This is the way it has been for a long time, few decades may be, and there are people out there who still believe that this is the way it should be.</p><h4>Pros: Need for Data Democratization</h4><p><strong>Should we be Liberal regarding data-sharing?</strong></p><p>Advocates of data democratization are in the belief that it should be obligatory to disperse information on all the working teams so as to gain a competitive edge. The more people with diverse expertise having the access to data, the more organization will benefit by identifying and taking actions on important and critical business insights. It is believed by many high and esteemed professionals that data democratization can be a game-changer to many organizations. When the data gets spread out all over across the organization, it empowers each and every level of the individual to use the data and participate for the contribution in decision-making.</p><h4><strong>Cons: Apprehension about Data Democratization</strong></h4><p><strong>Or should we be Conservative regarding data-sharing?</strong></p><p>Yet many organizational individuals are still perplexed as to sharing the data to the non-technical employees could result in misinterpretation of the data which might result in making some bad business decisions. Additionally, the more users having access to data, the bigger is the data-security risk and thus resulting in more challenges to maintain the data integrity.</p><p>Talking about the data, some data still exists in silos/warehouse/archive-mode; although several attempts have been made in recent years and the attempts are still in progress, but the reality cannot be denied that people from different departments are still finding it difficult to access the data and view it.</p><p>There is another concern which cannot be denied — a duplication of efforts across different teams which could lead to more cost and wastage of time and effort when compared to a centralized analysis group.</p><h4>Be Conservative or Liberal — What Should be the approach?</h4><p>For the sake of argument, it might be concluded that it is easy to preach one approach over the other, but the reality states that extremely conservative or liberal views rarely fit into the context of data democratization. The business leaders should carefully weigh the pros and cons of data democratization in determining which kind of approach benefits their organization the most.</p><p>The business leaders should decide upon how much liberal or conservative they should be regarding their organization — ultimately, it all comes down to their business or organizational success. But, they can always spread out the metadata (and retaining the raw data) within the organization individuals to gain meaningful and impactful insights and can retain the sensitive data within themselves.</p><p>For example, if we speak about a particular health-care center which deals with diabetic patients, it is not permissible to share the personal details of the patients (and thereby acting as intruders to their privacy), but analysis can always be done the generic data and thus finding out the age group or the sex-ratio are being trapped under diabetics.</p><p>I agree that sometimes the perception shared by the non-technical people or the people who are not data-literate might be misleading, but attempts can surely be made to add an extra layer of scrutiny on top of that, to avoid any kind of mistakes and ensure the organizational growth — that’s what the business leaders are there for.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=918416c0f0e0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/data-democratization-918416c0f0e0">Data Democratization</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[How can a data-driven culture drive business success?]]></title>
            <link>https://medium.com/dataseries/how-can-a-data-driven-culture-drive-business-success-afa34a250c28?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/afa34a250c28</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-driven-culture]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[culture]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Thu, 06 Jun 2019 19:30:44 GMT</pubDate>
            <atom:updated>2020-03-28T12:48:38.103Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K1Vt_9WgMumAf0GxUgIN7w.png" /><figcaption>Aiming at business success, by getting the bigger picture through data</figcaption></figure><p>In recent times, almost all the business leaders would like the ubiquitous use of data throughout their organizations. While the companies try to put in a lot of effort in gathering the data across their business, often it happens that the data was unable to cross the periphery and remained mostly as an untapped potential. So, wanna know the success behind the data-savvy tech-giants like <em>Facebook</em>, <em>Amazon</em>, <em>Twitter</em>, <em>Google</em>, etc. and compare with other organizations who are still struggling to make a similar pathway? — Probably it is the <strong>ability to establish and cultivate data-driven culture across their business</strong>. So, in case if you are not familiar with the term “<strong><em>data-driven culture</em></strong>”, let me put it in simple words — it can be defined as <strong><em>an operating environment that attempts to leverage data whenever and wherever possible to enhance the business efficiency and effectiveness</em></strong>.</p><p>So, looking out for a secret recipe that you would like to put in for implementing a data-driven culture in your organization? It would be really helpful for a lot of people if we had one, but unfortunately there is none. But yes, if we want to, we can define some thumb-rules which are, of-course needed for the formation of a data-driven organization, but yet do not guarantee the re-structuring and transformation of a data-resistant culture:</p><ol><li><strong>On-going investment of time, effort and money </strong>— Obtaining the right technology and hiring smart talent can certainly help, but again, they don’t necessarily guarantee the success.</li><li><strong>Defining a clear strategy </strong>— Well, it can lead to meaningful success measures and key-performance indicators(KPIs), but might not motivate people to reply on the strategies on a regular basis.</li><li><strong>Narrowing down the data-literacy gap </strong>— Offering proper training to the employees might be of little help, but then again, it might not be exacting or demanding for them to use and apply what they have learnt.</li></ol><p>Well, as all the above-stated factors might contribute to a data-driven culture, some <strong><em>leadership skills</em></strong><em> </em>become an absolute necessity for the emergence of successful business. In times of need, if the company executives are prepared to lead by example with data, there are numerous ways in which they would be able to showcase the importance of data to the organization. They can even model the desirable behaviors through their own personal actions and thereby demonstrating the importance of data culture.</p><p>Some points are discussed below which might be helpful in running a successful business, if <strong><em>executives/leaders</em></strong> can lead the organization by <strong><em>culturing the data</em></strong>:</p><ol><li><strong>Building Trust</strong>: <strong><em>Trust in your data</em></strong> is probably the most arguable factor and there is nothing more disastrous to the organizational data culture if the employees begin to distrust the data. “<strong><em>If your data is a mess, you should probably start taking control of the data-quality issues</em></strong>.” Building trust in data requires having quality data that is aligned to your business objectives, and the company executives need to assure that data-culture is being practiced properly throughout the organization.</li><li><strong>Regular Usage</strong>: If the company executives really think that data matters a lot for the organization, then they can make a very powerful impact by exhibiting the active usage of data by themselves. Well, those who are familiar with the corporate world, they might have noticed that most of the busy leaders or the executives are dubious about logging their activities into some advanced analytical tools, but then if they want to be that change which can lead the organization to the path of the success, they need to be that trend-setter — they could use some sort of dashboard on their mobile device to track their daily activities, while on business-tours or in meetings. Observing the leaders using data on a regular basis will definitely galvanize the other employees and the sub-ordinates to follow the same.</li><li><strong>Decisions</strong>: If the data really plays an important role in an organization, then all of the leader’s decisions or verdicts should be data-based, till the hell freezes over. When executives request data in order to make vital decisions, they reinforce data’s role as an strategic asset which in turn serves as an integral part of the decision-making process.</li><li><strong>Communications</strong>: Be it any form of communication — email, presentation, discussion over the meetings — represents an opportunity to share the insights on the business performance, promotes the data-driven culture and obviously emphasizes the importance of data to the organization. This is an indication to the employees of the organization that data is a the top-of-the-mind with the executives and they should also be ready to embrace that.</li><li><strong>Meetings</strong>: The organization-executives spend approximately 50% of their time in various sorts of meetings. Most of the times, these meetings turn out to be very time-consuming and ineffective. Nevertheless, if a greater amount of emphasis is put on reviewing the key-metrics and developing the action plans based on the results, then the data can guide the agenda for the meetings and as a result the meetings could turn out to be more focused, productive and beneficial for everyone involved.</li><li><strong>Training</strong>: When it comes to the limelight that the busy executives are choosing to spend time in something which matters to them the most for the benefit of the organization, like participating in the data-skills training, it sends out a very strong and powerful message to their team and the other employees that these skills would be very critical for the success of the organization.</li><li><strong>Digital Displays</strong>: When some executive chooses to display the key metrics in the prominent public locations through some digital displays, for example, touchscreen or dashboards on TVs, he/she is proactively trying to send a message to the employees that the metrics and the targets are collectively owned by his/her team. “<strong><em>When data is around you, it is really hard to ignore.</em></strong>” This helps reinforcing the message that “<strong><em>we use data here and the data-driven culture is paving a pathway towards a successful organization</em></strong>.”</li><li><strong>Live and breathe data</strong>: Executives must always be prepared to live and breathe data. They should put up a continuous effort in showing repeated examples of how and why data must be embraced with the organizations. If they notice some gaps, they should show some pro-activeness and evaluate the mindset and actions of the executive teams.</li><li><strong>Instill a ‘Code of Ethics’</strong>: As the executives are trying their best to introduce a data-driven culture in the organization, eventually more and more individuals in the organization are getting exposed to the data. Hence, the governance around the data becomes a critical component of education process. As per the consumer privacy regulations, it is very important that everyone in the organization must have the right training around data privacy and security. <strong><em>Respecting the organization privacy</em></strong> and <strong><em>having a Code of Ethics</em></strong> should not be taken lightly, it should be followed diligently.</li></ol><p>If a person is not a business owner or an executive in some company, that does not mean that he/she cannot lead from that position in the organization. On the other hand, it can be a golden opportunity for him/her to differentiate themselves and contribute towards the data-driven change his/her team might be envisioning in the near future — be it applying any prior work experience or learning and applying the data-driven culture in an innovative way. Juggling with the right attitudes and actions around data, the leaders can generate powerful stories and propel the data-driven culture forward. “<strong><em>A little role-modeling with data can go a long way</em></strong>.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afa34a250c28" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dataseries/how-can-a-data-driven-culture-drive-business-success-afa34a250c28">How can a data-driven culture drive business success?</a> was originally published in <a href="https://medium.com/dataseries">DataSeries</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL JOINS]]></title>
            <link>https://piu-mallick.medium.com/sql-joins-50c012f952aa?source=rss-6418fa8def79------2</link>
            <guid isPermaLink="false">https://medium.com/p/50c012f952aa</guid>
            <category><![CDATA[sql-joins]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Piu Mallick]]></dc:creator>
            <pubDate>Fri, 17 May 2019 03:48:07 GMT</pubDate>
            <atom:updated>2019-05-21T13:19:27.861Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DHH9IknbF3ViOqH8OPrT4A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uibZAQsoQTttMIQJliE4OA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jF36ALTDW_DjiPqhaPht6w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J-xgxtAtFFe-a50lbqVeIw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ID0EYm3j7V5Mao13QRikUQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7P6vYTBFkoLlxFaTm1knmQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dr6H2QelMqKjUgFQVr855g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AvsTWdNa-XGL65cmftSZNg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BA2So6hgXbk_GUAVdWA36g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9lrh5diEABCzZs_X7S2JCw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ALUOgzpV8YEsQDEDblmanA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50c012f952aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>