<?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 Divya Choudhary on Medium]]></title>
        <description><![CDATA[Stories by Divya Choudhary on Medium]]></description>
        <link>https://medium.com/@learnwithdivya?source=rss-d12e7454cbea------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*g-15oJivBmXgi8f-6D_r6A.png</url>
            <title>Stories by Divya Choudhary on Medium</title>
            <link>https://medium.com/@learnwithdivya?source=rss-d12e7454cbea------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 22:35:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@learnwithdivya/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[The many lessons of 2021]]></title>
            <link>https://learnwithdivya.medium.com/the-many-lessons-of-2021-9acf0e883f40?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/9acf0e883f40</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[2022]]></category>
            <category><![CDATA[2021]]></category>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Sat, 01 Jan 2022 07:56:00 GMT</pubDate>
            <atom:updated>2022-01-01T07:56:00.260Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>2021 — A Recap</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FdrPEp5mynCBwPQLgSf%2Fvideo&amp;display_name=GIPHY&amp;url=https%3A%2F%2Fgiphy.com%2Fclips%2Fthefastsaga-fast-and-furious-saga-7-drPEp5mynCBwPQLgSf&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2FdrPEp5mynCBwPQLgSf%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="480" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/2bcc2c66cad32a17dbc010b50b1c0038/href">https://medium.com/media/2bcc2c66cad32a17dbc010b50b1c0038/href</a></iframe><p>As the year winds down, we have a week off from office and I snuggled into my bed with a book to end the year. Got distracted, opened YouTube on my phone, and I see every creator I follow releasing a summary of their accomplishments in the year. This made me feel like I hadn’t accomplished anything this year. So, I sat down to reflect and assess. In doing so I was pleasantly surprised by the things I did do. Why ? Because a lot them were new for me. Let me take you through them:</p><h4>1. Made a career move</h4><p>This year I made a conscious career move to a field of work. It was guided by the desire to get exposure to End to End Data Science pipelines. DS being a new field, I have had the chance to work with many companies that were starting DS teams. Teams set in a context where most stakeholders don’t know about the capability of DS in solving their problems. While it has been interesting building PoCs, after a few years in similar setup, I realized that there comes a point when all the tech in the world can’t convince a business stakeholder to transition to AI/ML unless we are able to showcase the advantage in terms of business benefit. Thus, the conscious move to a company that has made and scaled ML models from PoC to production.</p><p><strong>Value add :</strong> I am being conscious about my career journey.</p><h4>2. Started Investing in Shares</h4><p>For the longest time the only thing I knew about the stock market was — Its risky. These 2 words prevented me from ever wandering any further. In 2018, the company I was working in at that time, underwent a spinoff from the parent company. As part of the spinoff, employees were offered a chance to participate in its IPO. After holding the shares for 3 years, I decided to sell them this year. I was surprised at the runup achieved by the shares and taken aback at the potential of this source of passive income. This was my 1st brush with the stock market, and I wanted more. So finally, I opened an account with Zerodha and dipped my toes in the stock market.</p><p><strong>Value add : </strong>Since I have my own skin in the game, I am more in touch with current affairs, and their effect on businesses. My perspective of looking at companies has changed from that of a consumer or employee to one of an investor.</p><h4>3. Investing on friendships</h4><p>The 2nd wave of Covid in India was tough on all of us. It made us stop and reach out to our loved ones. Reach out to people we hadn’t spoken to in a long while. In doing so I ended up speaking to a few friends regularly — by taking effort to circle back periodically. The depth of conversations grew — because were not just catching up and updating each other anymore. I experienced peer support for the first time since college.</p><p><strong>Value add :</strong> I found an accountability partner. Each of us derived energy and ideas from the other and shot off in our own trajectories.</p><h4>4. Practiced Yoga pranayama and meditation</h4><p>Long hours of sitting and working from the same room, bred monotony. One day of wearing a smart watch opened my eyes to the fact that I was barely making 2000 steps in a day. An annual health checkup pointer out that my Vit D levels were low too. This prompted me to go out in the sunlight for walks in the morning and afternoon. For a break in the rhythm, I practiced yoga on other days and even practiced pranayama and mediation to detox the mind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*VkzU38g-1soNcxTTUkBhOg.jpeg" /></figure><p><strong>Value add : T</strong>he benefits of yoga are obvious and much spoken about. What was surprising for me was the immediate and perceptible effect of meditation. I could find myself acting as a witness to my own thoughts during the day. For instance, if something was bothering me and was still powering through, I would stop and ask myself, what&#39;s the problem. Though a series of what/why questions, I was able to arrive at the root cause. Then address it and move on.</p><h4>5. Writing</h4><p>This year I started writing on medium. At the time I was working on a project that involved a lot of innovation. I was constantly finding the answers on stack overflow inadequate for the problem at hand. I ended up creating a pipeline by putting together ideas from multiple sources. So, when the problem was solved, I decided to write an article and share it with the community. This led to my first two articles</p><ul><li><a href="https://towardsdatascience.com/nlp-and-pos-based-chunking-to-generate-amazon-style-key-phrases-from-reviews-239084543225">NLP and POS based chunking to generate Amazon style Key phrases from Reviews</a></li><li><a href="https://towardsdatascience.com/build-a-search-engine-with-sql-cc8baf06ddb2">Build a search engine with SQL…</a></li></ul><p>My most popular article (with ~ 3.5K views) this year has been :</p><p><a href="https://towardsdatascience.com/conquer-the-python-coding-round-in-data-science-interviews-5e27c4513be3">Conquer the Python Coding Round in Data Science Interviews</a></p><p><strong>Value add: </strong>This outlet helps me consolidate and solidify my learnings for future reference and it opened up interesting discussions with folks working on similar problems. At the same time it helped me build a brand for self in the industry.</p><h4><strong>6. Volunteer activity</strong></h4><p>At my present job we have the option to do probono work. This means we get to use our skills for works of social significance. As part of this activity, we got the chance to conduct mock interviews for students just entering the workforce. We also got a chance to work on a marketing activity that will help a War Museum gather funds for future expansion.</p><p><strong>Value add : </strong>It is a creative way to apply our analytics chops, while working with some fun people in an environment where feedback loop is almost instantaneous.</p><h4>The way ahead:</h4><p>So what does this mean for the year 2022? Looking at the value added from the different activities this year, I will continue them, and hope to add new experiences this year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fCvxSvoEE986ZMEMKfU-JA.jpeg" /><figcaption>Credits: Rangoli by Lakshmi</figcaption></figure><p>Looking forward to the year 2022 with hope and positivity. Wishing you all a very Happy and Joyous new year 2022! One that helps you grow and give back :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9acf0e883f40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 types of Data Science Interview Questions — Part2]]></title>
            <link>https://medium.com/data-science/4-types-of-data-science-interview-questions-part2-106f5bf7218d?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/106f5bf7218d</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[interview-prep-questions]]></category>
            <category><![CDATA[data-science-interview]]></category>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Mon, 02 Aug 2021 11:54:57 GMT</pubDate>
            <atom:updated>2021-10-21T09:53:48.373Z</atom:updated>
            <content:encoded><![CDATA[<h3>Conquer the Data Science Interview — Part2</h3><h4><strong>Real questions with a strong business focus</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*mDyIfOklNL85a0pZl-hvxw.png" /><figcaption>Who doesn&#39;t like a person who talks data and business [Image by <a href="https://pixabay.com/users/graphicmama-team-2641041/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1454403">GraphicMama-team</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1454403">Pixabay</a>]</figcaption></figure><p>DS interviews can be a saga of multiple rounds. Its common for most companies to conduct 2–3 rounds. This is sometimes followed by a director round/ hiring manager round. Multiple rounds means that you can be assured of being tested on all aspects of the DS project pipeline.</p><p>Broadly there are the following types of Questions:</p><p><strong>1. Resume based/ Project based</strong></p><p><strong>2. ML Proficiency check — algorithm details</strong></p><p><strong>3. Metrics</strong></p><p><strong>4. Case-study based questions</strong></p><p>We have covered type 1 and 2 in the<strong> </strong><a href="https://learnwithdivya.medium.com/4-types-of-data-science-interview-questions-part1-d17db4253c69"><strong>previous post</strong></a><strong> </strong>where we saw questions with a strong technical focus<strong>.</strong> The current post targets type 3 and 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QF3bNReXMzre5vZmFqq2nQ.jpeg" /><figcaption>Case studies are a test of your thought process [Photo by <a href="https://unsplash.com/@wocintechchat?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Christina @ wocintechchat.com</a> on <a href="https://unsplash.com/s/photos/white-board?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>]</figcaption></figure><h3><strong>Case-study based questions</strong></h3><p>In this type of question, the interviewer shares a business use case, and asks you to solve it. Minimum guardrails are provided by the interviewer.</p><blockquote><em>It is a way to check the candidate’s business acumen and see if they can take a vague business statement (yes, many a times the business requirements are indeed vague), ask relevant questions, state their assumptions, tie it down to a suitable Data Science solution, and finally translate the DS solution back into a language makes sense to business.</em></blockquote><p><em>In such questions it is important to ask clarifying questions and break the problem into smaller chunks.</em></p><p><strong>Eg1:</strong> Imagine you are an analyst at Big Basket. You have access to prices of all products in the BB catalogue. You also have access to transaction details. BB is planning to launch a premium honey developed in-house. You need to come up with a recommended price point for this new in-house premium honey. What will your approach be?</p><p><strong>Concepts tested </strong>— Business acumen, data awareness</p><p><strong>Eg2 :</strong> You are a part of the Quality control team at a company that manufactures vials for vaccines. The vials are supposed to have walls of minimum thickness of 2mm. The company guarantees a quality standard that has maximum defect rate of 3%. As a Quality tester how many vials do you need to test to be certain about whether the quality is met or not.</p><p><strong>Concept tested </strong>— Statistics (Sample size estimation)</p><p><strong>Eg3:</strong> You are a hired consultant for a boutique that makes various clothes and accessories. They sell their products through their own website. The boutique has different departments like — men’s clothing, men’s accessories, men’s shoes, and similarly structure for women. It is time for launch of the new spring-summer collection. However, due to low sales in the past few months there is an accumulated stock in the warehouse. Its your job to come up with a strategy that will empty the old stock and sell the new stock. You are allowed to give discount, but you need to be sensitive to each department’s cost.</p><p>State any assumptions you make. What data point will you consider to formulate your strategy? What kind of analysis will you perform on the data? Finally, how will you convince individual department heads to use your strategy?</p><p><strong>Concepts tested:</strong> Business acumen, translate business to DS and vice versa</p><p><strong>A possible solution could talk about the following points:</strong></p><p><strong>Data </strong>— Inventory management cost, cost of goods, past prices, past demands, customer transactions history</p><p><strong>Analysis </strong>— Demand prediction, effect of offers, customer propensity to buy, product bundling</p><p><strong>Communication with business</strong> — Show the graph of Sales Prediction without any strategy vs Sales prediction with proposed strategy. Likewise for Inventory costs with vs without any strategy.</p><p><strong>Eg 4: </strong>You are a Data Scientist<strong> </strong>at a fintech startup. This company has a product that offers a line of Credit of $500 (unsecured lending). The target segment is people who do not have a regular income. Most banks insist on a credit check , pay slips, security/guarantee before providing a loan. But your company provides unsecured lending without nay credit check and doesn’t even charge interest. For anyone who approaches you, you gather their KYC details, and have access to last 24 months of transactions on their bank account. Come up with a strategy to identify if the bank account shared is their primary bank account, and whether they can qualify for the credit line.</p><p><strong>Concept tested </strong>— Business acumen, ability to break the problem into chunks, awareness of the domain, translate business to DS</p><p><strong>Eg5:</strong> You are a data scientist at a Digital Marketing firm. Your current project is on analyzing product reviews and identifying topics people are talking about. You have a high-volume incoming stream of data. How will you assign topics in real time? You need to be able to accommodate for new topics coming up in real time?</p><p><strong>Possible solution</strong> could utilize word embedding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A4sQF4zXzg6Z9thy4ARmcw.jpeg" /><figcaption>Is this the right measure? [Photo by <a href="https://unsplash.com/@darlingarias?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Darling Arias</a> on <a href="https://unsplash.com/s/photos/metric?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>]</figcaption></figure><h3><strong>Metrics (KPI)</strong></h3><blockquote>“If you cant measure it, you cant improve it.”</blockquote><blockquote>- Peter Drucker</blockquote><p>For any business problem its important to know what you are trying to improve — reduce cost , increase engagement, increase profitability. ANd this is where metrics become important. I feel metrics are what tie the DS solution to the business objective.</p><p><strong>Eg1:</strong> You are a Data scientist at Twitter. You want to increase the new user’s engagement with the platform. What metric will you use to figure out a new user about to become disengaged?</p><p><strong>Hint —</strong> Track the trend of daily metrics — like logins and interactions.</p><p><strong>Eg2:</strong> We are a mobile manufacturer. We have the historical price list of our mobiles and other companies’ mobiles We want to report to the management, how competitive our prices are with respect to the market. What will you do?</p><p><strong>Hint — </strong>Proportions</p><h3><strong>Conclusion</strong></h3><p>As one progresses higher on the DS ladder from Junior to Senior Data Scientist the expectations of the job change, and the interview questions reflect that. Initially one is just expected to solve a problem provided the solution strategy is outlined. However, later one is expected to own a project end to end and that includes all aspects of the CRISP-DM methodology — defining the strategy, executing it, checking for its validity, deploying and monitoring the solution.</p><p>The diversity of questions mentioned in this series covers most of these aspects, and will help you prepare better.</p><p><strong>You may also like:</strong></p><p><a href="https://towardsdatascience.com/conquer-the-python-coding-round-in-data-science-interviews-5e27c4513be3">Conquer the Python Coding Round in Data Science Interviews</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=106f5bf7218d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/4-types-of-data-science-interview-questions-part2-106f5bf7218d">4 types of Data Science Interview Questions — Part2</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[4 types of Data Science Interview Questions — Part1]]></title>
            <link>https://medium.com/data-science/4-types-of-data-science-interview-questions-part1-d17db4253c69?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/d17db4253c69</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[interview-prep-questions]]></category>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Mon, 02 Aug 2021 11:24:48 GMT</pubDate>
            <atom:updated>2021-10-21T09:54:54.144Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Conquer the Data Science Interview — Part1</strong></h3><h4><strong>Real questions with a strong ML focus</strong></h4><p>In the previous post we spoke about<a href="https://towardsdatascience.com/conquer-the-python-coding-round-in-data-science-interviews-5e27c4513be3"> Conquering the coding round is DS interviews</a>. In this post, I share actual questions asked in DS interviews, and what is being assessed by those questions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vQUZD55fx2AbifhLPfXBfA.jpeg" /><figcaption>Being interviewed can be overwhelming, but not when one is prepared [Photo by <a href="https://unsplash.com/@sammcghee?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Sam McGhee</a> on <a href="https://unsplash.com/s/photos/data-science-interview?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>]</figcaption></figure><p>DS interviews can be a saga of multiple rounds. Its common for most companies to conduct 2–3 technical rounds. This is often followed by a Senior Director/hiring manager round. In some companies each round is an elimination round; but in others, every round is meant to get an unbiased assessment of a candidate from multiple interviewers. In such cases any one interview is not a make or break of your journey towards that coveted job. Its good to check the interview process and rationale behind by asking the Recruiter (HR).</p><p>Whatever be the case, multiple rounds mean that you can be assured to be tested on all aspects of the DS project pipeline. Broadly there are the following types of Questions:</p><p><strong>1. Resume / Project based</strong></p><p><strong>2. ML Proficiency check — algorithm details</strong></p><p><strong>3. Case-study based questions</strong></p><p><strong>4. Metrics</strong></p><p>We’ll cover type 1 and 2 in this post, and the remaining in the next post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FCItoYOS9cwwlxSdm_QQIw.jpeg" /><figcaption>Know your resume like the back of your hand [<a href="https://unsplash.com/photos/7iSEHWsxPLw">Source</a>]</figcaption></figure><h3><strong>Resume / Project based</strong></h3><p>The basic requirement of any interview is that you are well versed with everything written in the resume- because Hey! it’s what you say you’ve worked on. This area can be strongest part of the interview.</p><p>You’ll be asked to explain any project from the resume. And as you are explaining the project the interviewer will delve deeper into some aspects of the project or they may add a twist and check you adapt to complexity.</p><p><strong>Example 1: Questions that delve deep</strong></p><p><strong><em>Project — Customer Churn prediction using GBM</em></strong></p><p><strong><em>Candidate(C):</em></strong> Spoke about data sources, creation of the dependent variable</p><p><strong><em>Interviewer(I):</em></strong><em> </em>What was the distribution of the 2 classes in the dependent variable?</p><p><strong><em>C:</em> </strong>4% — 1s, remaining 0s</p><p><strong><em>I: </em></strong>How did you deal with class imbalance?</p><p><strong><em>C:</em> </strong>Data interventions (Sampling strategies), algorithm interventions (Using class weights), and choosing the right reporting metric (precision/recall over accuracy)</p><p><strong><em>I:</em> </strong>What is the advantage of Majority under sampling over minority over sampling? Did you try other techniques like Smote/Adasyn?</p><p><strong><em>C:</em></strong> Explains the reason and moving onto the classifier — a GBM classifier</p><p><strong><em>I:</em></strong><em> </em>Which cost function does GBM use? How does it work? Other than GBM what else did you try?</p><p><strong><em>I:</em></strong><em> </em>How do you choose the best Precision/Recall cut-off?</p><p>and so on..</p><p><strong>Example 2: Explore all offshoots of the project</strong></p><p><strong><em>Project — Topic modelling using SVD</em></strong></p><p><strong><em>C: </em></strong>Introduces the use case and text pre-processing.</p><p><strong><em>I:</em></strong> What is the difference between Stemming and lemmatization — what is used when?</p><p><strong><em>C : </em></strong>Explains</p><p><strong><em>I :</em></strong> How big was the data. Dimensions of the matrix used for decomposition. Any problems encountered using SVD?</p><p><strong><em>C: </em></strong>SVD takes long time to decompose, thus used another variant of it — <a href="https://research.fb.com/blog/2014/09/fast-randomized-svd/">FastSVD (developed by Facebook)</a></p><p><strong><em>I: </em></strong>Can you explain how FastSVD works? What aids in speeding up the process?</p><p><strong><em>C : </em></strong>Explains by going into linear algebra.</p><p><strong><em>I : </em></strong>Ok, now that you have the topics, how did you validate the topics?</p><p><strong><em>C: </em></strong>Manual + Topic coherence, Topic Perplexity</p><p><strong><em>I: </em></strong>How did you decide the number of topics?</p><p><strong><em>C: </em></strong>Using a Scree Plot of importance of singular Values with respect to number of topics</p><p><strong><em>I:</em></strong> Explain the system architecture used in this project. Was the processing real-time or in batches? How did the backend system handle this?</p><p>and so on..</p><p><strong>Example 3: Add complexity to an existing problem</strong></p><p><strong><em>Project — Anomaly detection using log data</em></strong></p><p><strong><em>C :</em></strong> Explains about the need of the use case, and the data available.</p><p><strong><em>I:</em></strong> What is the difference between an anomaly and an outlier?</p><p><strong><em>C:</em></strong> The outlier is an extreme value that will still be within the mechanism that generated the data. An anomaly however, is so extreme that it makes you wonder that it may be generated by another mechanism altogether.</p><p><strong><em>I:</em></strong> What other anomaly detection techniques did you explore? Can you reformulate your solution using Isolation Forest?</p><p><em>You get the trend…</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*lPtWhM3z9gEWih9lP8kGRA.png" /><figcaption><a href="https://upload.wikimedia.org/wikipedia/commons/f/fe/Kernel_Machine.svg">[Source]</a></figcaption></figure><h3><strong>Machine Learning Proficiency check — Algorithm details</strong></h3><p>In this type of questions, you can expect to go deep into the workings of an algorithm. One can use Mathematics, Statistics, Geometry and anything else that works for you to explain the inner workings of an algorithm.</p><p><strong><em>Examples:</em></strong></p><p><strong><em>1.</em></strong> What is the difference between RF and GBM (This is a pretty common question, and for good reason too. Many of the business use cases are still being solved as classification problems. Especially for tabular data, tree-based modes still perform quite well. However its an entry question into the workings of tree based algorithms, as you’ll see below)</p><p><strong><em>2.</em></strong> Why is a RF better than a Decision Tree?</p><p><strong><em>3.</em></strong> How does RF/GBM assign a probability score to new data?</p><p><strong><em>4.</em></strong> What is the Loss function used in GBM?</p><p><strong><em>5.</em></strong> Explain the Cross entropy loss function. Why does it use log?</p><p><strong><em>6.</em></strong> How does RF calculate variable importance?</p><p><strong><em>7.</em></strong> The variable importance of Logistic regression offers an advantage over that of RF. Could you tell what it is? (Hint — its to do with p values)</p><p><strong><em>8.</em></strong> What methods do you use to detecting and overfit?</p><p><strong><em>9. </em></strong>Post deployment the model trained on 1 distribution encounters another distribution. What will you do?</p><p><strong><em>10. </em></strong>When would you use an LSTM over a simple RNN?</p><p><strong><em>11.</em></strong> Can you explain how back propagation works?</p><h3>Conclusion</h3><p>In this set of questions you saw a strong technical focus, in the next article, you’ll notice a business focus the form of case study and metric based questions. Continue reading at -</p><p><a href="https://learnwithdivya.medium.com/4-types-of-data-science-interview-questions-part2-106f5bf7218d">4 types of Data Science Interview Questions — Part2</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d17db4253c69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/4-types-of-data-science-interview-questions-part1-d17db4253c69">4 types of Data Science Interview Questions — Part1</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[Conquer the Python Coding Round in Data Science Interviews]]></title>
            <link>https://medium.com/data-science/conquer-the-python-coding-round-in-data-science-interviews-5e27c4513be3?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e27c4513be3</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python-interview-question]]></category>
            <category><![CDATA[coding-interviews]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science-interview]]></category>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Mon, 05 Jul 2021 13:44:25 GMT</pubDate>
            <atom:updated>2021-08-03T05:28:36.289Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>My experience from interviewing as a Data Scientist in 2021 in Bangalore, India.</strong></h4><p>The coding round has become an integral part of Data Science interviews. As ubiquitous it may be, it is also a dreaded round for many. With this post, I aim to fight fear with information, by sharing the different types of coding interviews and questions I encountered recently.</p><p>Let us look at the different Formats of execution and questions asked, and understand what concept is being tested by the questions.</p><h4><strong>Format1 — Live coding</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*qk09eikKngIG3nHs9DMXUQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@thisisengineering?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">ThisisEngineering RAEng</a> on <a href="https://unsplash.com/s/photos/coding-round?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>You are asked to open an editor (Jupyter notebook) and share your screen with the interviewer. It’s appreciated when a candidate talks through their process to keep the interviewer on the same page. Often the interviewer nudges candidates in the expected direction. Most interviewers are considerate and allow minor Googling for syntax etc.</p><p>Some examples:</p><p><strong>Q1. Explore the Covid-19 dataset. Plot the month-on-month Covid positive numbers state wise. Display the top 3 states for the month of June.</strong></p><p><a href="https://www.kaggle.com/sudalairajkumar/covid19-in-india?select=covid_19_india.csv">https://www.kaggle.com/sudalairajkumar/covid19-in-india?select=covid_19_india.csv</a></p><p><strong>Concepts Tested</strong></p><ol><li><em>Exploratory Data Analysis</em></li></ol><p><em>2. Data Cleaning</em></p><p><em>3. Handling missing values</em></p><p><em>4. Data Frame manipulations</em></p><p><em>5. Performing aggregate operations</em></p><p><em>6. Datetime manipulations</em></p><p><em>7. Data Visualization</em></p><p><strong>Q2. Create a dummy Dataset that has sensor values</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*iB4-RnE-paoDA9N84sJ3vg.png" /><figcaption>Sensor data, dummy dataset (Image by author)</figcaption></figure><p><strong>Find the highest ratio of Pressure to Temperature in this time range.</strong></p><p><strong>Concepts Tested –</strong></p><ol><li><em>Exploratory Data Analysis</em></li></ol><p><em>2. Data Cleaning</em></p><p><em>3. Data Frame manipulations</em></p><p><em>4. Performing aggregate operations</em></p><p><em>5. Datetime manipulations</em></p><p><em>6. Data Visualization</em></p><p><strong>Q3. Write a code that takes a number from the user and outputs all Fibonacci numbers less than the user input.</strong></p><p><strong>Concepts Tested –</strong></p><p><em>1. Basic Python Programming</em></p><p><em>2. Basic logical thinking</em></p><p><em>3. Awareness of Data Structure and Algorithms (This problem can be solved faster with Dynamic programming)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8H_QpCGpfY9JY8_1vNklmA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@linkedinsalesnavigator?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">LinkedIn Sales Solutions</a> on <a href="https://unsplash.com/s/photos/computer-man?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4><strong>Format 2 — Platform based test</strong></h4><p>Executed as a timed test on Hackerrank/Hackerearth (or other) platform.</p><p>Companies use this test as a way to check on various areas of Data Science. So, it’s common to see a mix of objective type questions on Probability and statistics, Machine Learning, Deep Learning (like 10 questions of 2 points each) and a few coding questions on SQL, Machine Learning and Data Structures and Algorithms (rare but noticeable) (2–5 questions, their weightages based on complexity and concept)</p><p>Few examples:</p><p><strong>Q1. Given the CDF of a distribution, find its mean.</strong></p><p><strong>Concept Tested — </strong>Basic Probability theory</p><p><strong>Q2. Person A decides to go on a sky diving trip. Based on his research, the probability of a glitch resulting in death is 0.001. If A goes on 500 sky dives, what is the probability of death?</strong></p><p>Solution Options:</p><p>a) .50</p><p>b) .29</p><p><strong>c) .39</strong></p><p>d) .01</p><p><strong>Concept Tested — </strong>Knowledge of Distributions</p><p><strong>Q3. Given a dataset of soft drinks sold in 4 stores in Europe, for a period of 1 year. Perform Data Wrangling and visualization. Can you predict future demand and identify how different features influence that? Please explain your findings effectively to technical and non-technical audiences using comments and visualizations, if appropriate.</strong></p><p><strong>Concepts Tested</strong> — <em>The complete gamut of activities within a Data science project till modeling.</em></p><p><strong>Q4. Questions on writing SQL queries on sample datasets.</strong></p><p><strong>Concepts Tested — </strong><em>Joins, Partition and Rank, Order by, Group by</em></p><p><strong>Q5. Given two numbers a, b ;a&lt;b. Print output of</strong></p><p><strong>f(a,b) = g(a) + g(a+1) +g(a+2) +…+ g(b-2) + g(b-1) + g(b)</strong></p><p><strong>where g(x) is defined as all Fibonacci numbers less than x.</strong></p><p><strong>Concepts Tested —</strong></p><p><em>1. Python Programming</em></p><p><em>2. Logical thinking</em></p><p><em>3. Data Structure and Algorithms</em></p><p><strong>Q6. Given a number X, find the smallest sum of two factors (a, b) of X</strong></p><p><strong>Concepts Tested —</strong></p><p><em>1. Python Programming</em></p><p><em>2. Logical thinking</em></p><p>Q7.<strong> Read the data present in this </strong><a href="https://ocw.mit.edu/ans7870/6/6.006/s08/lecturenotes/files/t8.shakespeare.txt"><strong>link</strong></a><strong> using a get request. It contains the complete works of Shakespeare. Remove digits and stop words present in this </strong><a href="https://gist.githubusercontent.com/sebleier/554280/raw/7e0e4a1ce04c2bb7bd41089c9821dbcf6d0c786c/NLTK&#39;s%2520list%2520of%2520english%2520stopwords"><strong>link </strong></a><strong>. Now count the number of unique words present in the text.</strong></p><p><strong>Concepts Tested —</strong></p><ol><li>Using Get and Pull requests to read data</li></ol><p>2. Basic NLP like stop word removal</p><p>3. Split a string into tokens</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DsaEvg8zIYy4bXz3EsZm7Q.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@brunocervera?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">BRUNO EMMANUELLE</a> on <a href="https://unsplash.com/s/photos/woman-using-laptop-at-home?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>Format 3 — Onsite Case study/ Take home Assignment</h4><p>This can be an Onsite (nowadays Online) short duration (1–3 hours) case study, or a take home assignment of 3–7 days where a candidate is given a sample dataset (which is fairly similar to a real dataset in size and complexity) and asked to solve for a business objective in 90 mins. Post that they need to walk the interview panel through their solution and thought process.</p><p>In the take home version, most companies understand that people have their day jobs as well and are considerate enough to extend the timeline within reason.</p><h4><strong>Pro Tip:</strong></h4><blockquote>This format is a great place to showcase your breadth and depth of knowledge. Big points are given for going beyond the stated problem. For example, find literature (papers) similar to the problem at hand. Show how your solution is inspired by the paper. If the panel specifically asks for the deep learning-based solution, do that, but also create a machine learning solution and compare and contrast their results. Maybe one model outperforms another in some segments of the data. Investigate those segments. Try building an ensemble model of the two.</blockquote><blockquote><strong>This showcases to the panel that you go beyond the minimum requirement and you bring all your skills to the table.</strong></blockquote><p><strong>Example: </strong><a href="https://github.com/divya-chou/Retail_Transactions"><strong>Retail transactions Case study</strong></a></p><p><strong>The company gave me a transactions dataset of a gift shop for a 2-year period.</strong></p><p><strong>Business problem: Predict whether a customer is going to buy a product next month.</strong></p><p><strong>They insisted I solve it using a deep learning technique.</strong></p><p>This was the perfect place to display the range of my skills across the gamut of model building, and I fully used the tip mentioned above to convert the interview into an offer.</p><h4>Conclusion</h4><p>I hope with this post I have allayed the fear of coding round and levelled the playing field to some extent. It is to show the variety of ways companies test a candidate on their coding and problem-solving skills. Practice on the concepts mentioned above certainly goes a long way.</p><p>For Questions, you may leave a Comment or message me on <a href="https://www.linkedin.com/in/divya-choudharyiisc/">LinkedIn</a>.</p><p><strong>You may also like:</strong></p><ul><li><a href="https://towardsdatascience.com/4-types-of-data-science-interview-questions-part1-d17db4253c69">4 types of Data Science Interview Questions — Part1</a></li><li><a href="https://towardsdatascience.com/4-types-of-data-science-interview-questions-part2-106f5bf7218d">4 types of Data Science Interview Questions — Part2</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e27c4513be3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/conquer-the-python-coding-round-in-data-science-interviews-5e27c4513be3">Conquer the Python Coding Round in Data Science Interviews</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[A Graphical Explanation of RoC and AUC]]></title>
            <link>https://medium.com/data-science/a-graphical-explanation-of-roc-and-auc-183705caeb27?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/183705caeb27</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[roc]]></category>
            <category><![CDATA[auc]]></category>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Sat, 12 Jun 2021 05:02:24 GMT</pubDate>
            <atom:updated>2021-06-12T10:46:21.345Z</atom:updated>
            <content:encoded><![CDATA[<h4>Understand threshold invariance <strong>and beware of one common mistake</strong></h4><p>This post will help you understand the advantage of AUC over other metrics, how it’s calculated (using RoC), and why it’s necessary to calculate it so.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dIPdoYSqefwsIiOtFGZFiA.jpeg" /><figcaption>Nature own RoC (Image by <a href="https://pixabay.com/users/ykaiavu-7068951/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=5372892">ykaiavu</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=5372892">Pixabay</a>)</figcaption></figure><h4><strong>Introduction</strong></h4><p>If you have built a classifier, you have most certainly measured the performance of the model using metrics like accuracy, precision, recall, or F score. But each of these metrics are calculated after defining the cutoff probability (like 0.5) at which to measure the metric.</p><h4><strong>Advantage of AUC over other metrics</strong></h4><p>What about when you have two competing models and want to compare their performance? What if model 1 performs best at a 0.5 cutoff, and model 2 performs best at a 0.4 cutoff? Then checking the above mentioned metrics alone will give an incomplete view. Thus, it is advised to check the Area under the Receiver operating Characteristic (RoC) curve when one is comparing two models.</p><p>This is because the<strong> AUC is a threshold invariant metric</strong>. By that we mean, AUC does not depend on the probability threshold used to calculate the classification performance. Rather, we iterate over all cutoff probabilities between 0 and 1 and calculate the TPR and FPR at each cutoff.</p><p>Then plot a curve — the RoC curve of FPR vs TPR — and calculate the area under that curve. This is the AUC.</p><h4><strong>Calculating AUC — The correct way</strong></h4><p>I have a classifier in place that predicts the probability of customers returning for a purchase in the next month [<a href="https://github.com/divya-chou/Retail_Transactions">Retail Transaction Case study</a>].</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/59a6f9d5c17ca90c30bb0723e29d8234/href">https://medium.com/media/59a6f9d5c17ca90c30bb0723e29d8234/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*xybgH1H1J9uyfhUwh8Dmog.png" /><figcaption>Probability output of a classifier [Image by author]</figcaption></figure><p>We use the<em> roc_curve </em>function provided within <em>sklearn.metrics </em>to calculate the TPR and FPR.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d940d4bb0489676f0c69323cf89b45f5/href">https://medium.com/media/d940d4bb0489676f0c69323cf89b45f5/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*01MM-nVIZFft6r0bMoSKOw.png" /><figcaption>Roc returns TPR and FPR at every threshold [Image by author]</figcaption></figure><p><em>Don’t worry about the threshold value of 1.99 in the 1st row. According to the official documentation in sklearn, </em><a href="https://scikit-learn.org/stable/modules/generated/sklearn.metrics.roc_curve.html"><em>thresholds[0] represents no instances being predicted and is arbitrarily set to max(y_score)+1.</em></a></p><p>Calculate the AUC as:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/05a31192f38f6aa6c8f53d76148a2056/href">https://medium.com/media/05a31192f38f6aa6c8f53d76148a2056/href</a></iframe><p>and plot the RoC curve as:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/195b3a6083db24fc301c8dc3bd9c5ab6/href">https://medium.com/media/195b3a6083db24fc301c8dc3bd9c5ab6/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*1Y6HBwOxDmGbS_ilnvI7NA.png" /><figcaption>Correct representation of RoC [Image by author]</figcaption></figure><h4><strong>Common mistake while calculating AUC</strong></h4><p>Quite often, when we are too engrossed and write the code for calculating f1 (or accuracy, precision recall, etc.) like:</p><p><em>f1 = f1_score(y_true, y_pred)</em></p><p>…we end up copying that line and edit the same to calculate AUC like so:</p><p><em>AUC = roc_auc_score(y_true, y_pred)</em></p><p>One forgets that f1 uses the binarized output, while AUC needs the probability output of the model. Thus the correct code should be:</p><p><em>AUC = roc_auc_score(y_true, y_pred_prob)</em></p><p>Why is it wrong?</p><p><strong>What happens If you mess with the threshold invariant property of AUC? What happens when you calculate AUC on the binarized result of a classifier?</strong></p><p>Let’s understand using the same example.</p><p>We find the best probability cutoff for our retail transaction case study by maximizing for F1. Then we convert the probability output to a binary form.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/14610008e4076cae7b926a35c1a0901b/href">https://medium.com/media/14610008e4076cae7b926a35c1a0901b/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*Zfl2fa1Sb9aHQ8fdeKmgNA.png" /><figcaption>Probability output of a classifier (L) and Binarized output (R) [Image by author]</figcaption></figure><p>Now calculate the TPR and FPR at all possible probability thresholds..</p><p>Wait.. didn’t we just binarize the output..?</p><p>That leaves us with just 2 probability thresholds — 0 and 1</p><p>So the TRP and FPR look like — just 2 entries really — one for 0 and one for 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*rXDrYrY0fpmz14y5gwJLiQ.png" /><figcaption>RoC for binarized output [Image by author]</figcaption></figure><p>And the RoC graph looks like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c9c01091bf8381654d865e38d7563154/href">https://medium.com/media/c9c01091bf8381654d865e38d7563154/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*odO9C0D3j5viKjlq7o6xSA.png" /><figcaption>RoC with binarized output [Image by Author]</figcaption></figure><p>Notice the drop in AUC from 74% to 68%.</p><p>The difference becomes stark as we overlay the 2 RoC curves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*8tRezgBreCXk5dfvZ0pVzQ.png" /><figcaption>Area lost due to binarizing the output [Image by author]</figcaption></figure><p>The area between the blue and orange lines is the Area lost by calculating AUC on a binarized output.</p><h4><strong>Generalizing over multiple cutoff thresholds</strong></h4><p>Draw the RoC for binarized output by binarizing over multiple thresholds. Then draw a curve joining the inflection points of all the curves, and we end up with the correct RoC curve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-PM8uaHsEA9hV3mma17KOg.png" /><figcaption>Join the inflection points to get RoC [Image by author]</figcaption></figure><p>The purple line is in fact the RoC curve as drawn on the probability output.</p><h4><strong>Conclusion</strong></h4><p>I hope these graphs shed some light on why the AUC is calculated on probability output of a classifier, and what we mean by saying AUC is threshold invariant.</p><p>Thanks for reading. For more such Data science tit-bits, read my other posts, and connect with me on <a href="https://www.linkedin.com/in/divya-choudharyiisc/">Linkedin</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=183705caeb27" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/a-graphical-explanation-of-roc-and-auc-183705caeb27">A Graphical Explanation of RoC and AUC</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[Bootstrapping and OOB samples in Random Forests]]></title>
            <link>https://medium.com/analytics-vidhya/bootstrapping-and-oob-samples-in-random-forests-6e083b6bc341?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e083b6bc341</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[bootstrap]]></category>
            <category><![CDATA[random-forest]]></category>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Sun, 18 Apr 2021 16:58:41 GMT</pubDate>
            <atom:updated>2021-04-18T16:58:41.046Z</atom:updated>
            <content:encoded><![CDATA[<h3>An explanation for why the bagging fraction is 63.2%</h3><p>If you have read about Bootstrap and Out of Bag (OOB) samples in Random Forest (RF), you would most certainly have read that the fraction of observations in the ‘bag’ when you build RF with bootstrap is around 63.2%.</p><p>This post is a crisp explanation for the origins of the number <strong>63.2%.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oGceckyw_z3qngRT4AlwWw.jpeg" /><figcaption>How Random can the Forest be? (Photo by <a href="https://unsplash.com/@davidkovalenkoo?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">David Kovalenko</a> on <a href="https://unsplash.com/s/photos/random?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)</figcaption></figure><p>The post is organized as:</p><ol><li>Recap of RF terminologies</li><li>Example of Bootstrap</li><li>Generalizing the example</li><li>Simulation</li><li>Conclusion</li></ol><h4>Recap of RF terminologies</h4><p>RF is a techniques of ensemble learning through Bagging.</p><p><strong>Bagging = Bootstrap + Aggregation</strong></p><p><strong>Bootstrap </strong>means that instead of training on all the observations, each tree of RF is trained on a subset of the observations. The chosen subset is called the <strong>bag</strong>, and the remaining are called <strong>Out of Bag s</strong>amples.</p><p>Multiple trees are trained on different bags, and later the results from all the trees are <strong>aggregated</strong>. The aggregation step helps reduce Variance.</p><h4>Example of Bootstrap</h4><p>Now, coming back to choosing bootstrap samples.</p><p>If we have 1000 training observations, then for every bag, a set of 1000 observations are selected from the training set.</p><p>Each draw is made with replacement.</p><p>Meaning, when the 1st sample is chosen, there are 1000 options to chose from.</p><p>For the next sample, again, there are the same 1000 options to chose from.</p><p>This process is repeated 1000 times for Bag1.</p><p>So its quite possible that there will be repetitions in the observations that make it to the bag.</p><p>All the observations that do not make it to the Bag1 are called the OOB for Bag1.</p><p>Multiple such Bags are created for training multiple trees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6BZFg5tyELzTU_CgWo7XJQ.png" /><figcaption>Creation of Bag and OOB</figcaption></figure><p><strong>Generalizing the example</strong></p><p>The number of observations in training set = n</p><p>Size of Bag1 = n</p><p>Probability of an observation being selected in a draw = 1/n</p><p>Probability of an observation not being selected in a draw = 1-(1/n)</p><p>Number of draws = Size of Bag = n</p><p>Therefore, the probability of an observation not being selected in all the draws for Bag1 = [1-(1/n)]^n</p><p>As the value of n increases, this values tends to 36.8%</p><p>Probability of an observation making it into the bag after n draws</p><p>= 1 – 36.8%</p><p>= 63.2%</p><p><strong>Simulation</strong></p><p>Let us look at a simulation with multiple values of n.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kVVMB3Oz_sSjoidQCyj54Q.png" /><figcaption>As the value of n increases the Prob of OOB saturates at .368, and correspondingly the Prob of samples in the bag at .632</figcaption></figure><p><strong>Conclusion</strong></p><p>I hope this post helps you understand the reason behind the fraction 63.2%. While the number itself is not spoken of much, the process of bootstrapping is, as it forms the core of Random forests.</p><p>By training multiple trees on multiple such bootstrapped samples in combination with other parameters like column sampling, each tree gets visibility of a region of the observation space, and thus multiple uncorrelated trees are created.</p><p>Additionally, the existence of an OOB sample helps in calculating Feature Importance, and the OOB error gives a good estimate of the Validation error.</p><p><strong>Reference:</strong></p><p><a href="https://blogs.sas.com/content/iml/2017/06/28/average-bootstrap-sample-omits-data.html#:~:text=I&#39;ll%20give%20you%20the,original%20observations%20and%20omits%2036.8%25">The average bootstrap sample omits 36.8% of the data</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e083b6bc341" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/bootstrapping-and-oob-samples-in-random-forests-6e083b6bc341">Bootstrapping and OOB samples in Random Forests</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NLP and POS based chunking to generate Amazon style Key phrases from Reviews]]></title>
            <link>https://medium.com/data-science/nlp-and-pos-based-chunking-to-generate-amazon-style-key-phrases-from-reviews-239084543225?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/239084543225</guid>
            <category><![CDATA[parts-of-speech]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[keyphrase-extraction]]></category>
            <category><![CDATA[regex]]></category>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Mon, 22 Feb 2021 18:56:45 GMT</pubDate>
            <atom:updated>2021-02-24T13:41:09.924Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Using a regex parser based on grammar to extract key phrases</strong></h4><p><strong>The goal of this article</strong> is to introduce the concept of POS chunking with the example of Amazon review tags.</p><p>I am planning to upgrade from a 2017 Moto G5 plus to a new phone. In my research for a new phone, I ended up going through a lot of phones listed on Amazon and scouring through their reviews.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tcx-YOs4Rg91kYiMzLBOxw.png" /><figcaption>Screenshot captured by Author</figcaption></figure><p>And just like me, you’d have noticed a list of tags on top of the verbose reviews. These tags saved me a lot of time by highlighting the most talked about points regarding the phone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1p15_RX1oPr0g9Qy_sPDvA.png" /><figcaption>Key phrases extracted from reviews. Screenshot by Author</figcaption></figure><p>This piqued my interest… Well how do they do it?</p><p>To start with we need to extract the phrase of interest from this sea of raw text.</p><p>We will make use of a concept in Natural Language processing known as Chunking to divide the sentence into smaller segments of interest.</p><p>I used the Amazon reviews dataset from my Post on “Building a Search Engine using SQL”.</p><p>I highly recommend you read that post, but you can proceed with rest of the article without comprehension being affected.</p><p><a href="https://learnwithdivya.medium.com/build-a-search-engine-with-sql-cc8baf06ddb2">Build a search engine with SQL…</a></p><p>The rest of the post contains the following topics:</p><p>1. POS Tagging</p><p>2. Identifying POS of interest</p><p>3. Defining and accessing the chunk</p><p>4. Other use cases of POS Chunking</p><h3><strong>1. POS Tagging</strong></h3><p>No need to whip out your Wren and Martin grammar book yet. One doesn’t need to be an expert in English grammar for identifying Parts of speech. A basic grasp over grammar is sufficient. Thankfully <strong>nltk</strong> libraries do that for us.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/919fb1f17eaa688d5dda8251e57e0d01/href">https://medium.com/media/919fb1f17eaa688d5dda8251e57e0d01/href</a></iframe><p>Output looks like:</p><p>[‘Battery’, ‘life’, ‘is’, ‘very’, ‘good’, ‘(‘, ‘I’, ‘am’, ‘not’, ‘a’, ‘gamer’, ‘)’, ‘Display’, ‘is’, ‘fantastic..’, ‘I’, ‘have’, ‘used’, ‘galaxy’, ‘s9’, ‘plus’, ‘in’, ‘the’, ‘past’, ‘and’, ‘I’, ‘love’, ‘the’, ‘display’, ‘of’, ‘this’, ‘phone..’]</p><p>POS tagged words= [(‘Battery’, ‘NNP’), (‘life’, ‘NN’), (‘is’, ‘VBZ’), (‘very’, ‘RB’), (‘good’, ‘JJ’), (‘(‘, ‘(‘), (‘I’, ‘PRP’), (‘am’, ‘VBP’), (‘not’, ‘RB’), (‘a’, ‘DT’), (‘gamer’, ‘NN’), (‘)’, ‘)’), (‘Display’, ‘NNP’), (‘is’, ‘VBZ’), (‘fantastic..’, ‘JJ’), (‘I’, ‘PRP’), (‘have’, ‘VBP’), (‘used’, ‘VBN’), (‘galaxy’, ‘NN’), (‘s9’, ‘NN’), (‘plus’, ‘CC’), (‘in’, ‘IN’), (‘the’, ‘DT’), (‘past’, ‘JJ’), (‘and’, ‘CC’), (‘I’, ‘PRP’), (‘love’, ‘VBP’), (‘the’, ‘DT’), (‘display’, ‘NN’), (‘of’, ‘IN’), (‘this’, ‘DT’), (‘phone..’, ‘NN’)]</p><p>That&#39;s nice, but which ones interest me..?</p><h3><strong>2. Identifying POS of interest</strong></h3><p>I strongly benefitted from this online POS tagger because it color codes the POS.</p><p><a href="https://parts-of-speech.info/">Parts-of-speech.Info - POS tagging online</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P7wZRU0UwVy3mbvaaT2V-Q.png" /><figcaption>Review Example 1</figcaption></figure><p>Pick a review from Amazon and paste it in the online POS tagger</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_5AJwUcyFnw2xdCgYSKgjQ.png" /><figcaption>Colorful POS output from online tagger</figcaption></figure><p>For the human eyes, recognizing patterns in color comes more naturally than in constructs like POS.</p><p>Hmm… what patterns emerge..?</p><p>Grey and orange words seem to convey some features. That is an Adjective- Noun combination</p><p>Lets see a few more examples..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y_O3VMaZgn_pQYO22v6U3w.png" /><figcaption>Review Example 2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*07q3yJZYSNQiFlp4CagiQA.png" /><figcaption>Looking for more patterns</figcaption></figure><p>Grey — Grey combinations too pop out. Meaning nouns in a sequence.</p><p>But also…</p><p>Grey and orange with other colors in between ; meaning Noun and Adjective with other POS in between.</p><p>So we go through multiple examples and identify a few POS patterns to extract from the reviews.</p><p>This brings us to..</p><h3>3. Defining the chunk</h3><p>Its best to define multiple patterns to extract most out of the review text.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0b5460635baa0622798690a7f9eed72e/href">https://medium.com/media/0b5460635baa0622798690a7f9eed72e/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b1e5f108941c644ff31a75d706ceb949/href">https://medium.com/media/b1e5f108941c644ff31a75d706ceb949/href</a></iframe><p>For a full tutorial on creating POS regex, please see the following link:</p><p><a href="https://www.pythonprogramming.net/chunking-nltk-tutorial/">Python Programming Tutorials</a></p><p>Let us look at the output by accessing the chunks.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/afd1689331d2bb805e274c8ec4c74e99/href">https://medium.com/media/afd1689331d2bb805e274c8ec4c74e99/href</a></iframe><p>For the input sentence :</p><p>It’s an awesome phone. Cameras are wonderful. I m very happy with its overall performance. Battery seems to last longer after a days use. Nice display.</p><p>Chunk 1 : Adjective followed by a Noun</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uleF0yEn4_TMg4y2OS8puw.png" /></figure><p>Chunk 2 : Noun and Adjective with other POS in between</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZaxjAdB511PmdFmTAdQKtQ.png" /></figure><p>Chunk 3: Sequence of Nouns</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hu2yiw429xuOhnFpCQiLAw.png" /></figure><p>Lets see a few more examples on other reviews:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*2thrBE_fzLpKOVvCb4u_Tw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*B7Sfdk5Z5vx469PXR5xCxQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-juImFvXdd66eI67RHmDAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*dogFPL52tdbmpxKm9ffvxQ.png" /></figure><p>There you have it — a list of feature descriptives for a product extracted from the reviews.</p><p>Let us give chunking its well-deserved credit by looking at some interesting use cases.</p><h3><strong>4. Interesting use cases of chunking</strong></h3><p>The ability to parse through text based on group of words conveying a certain type of meaning opens up a host of possibilities. Continue reading to sample a few:</p><p><strong>Use case1 : </strong>I want to scour through a customer care call transcript and identify the common complaints with which customers call, so that I can automate those frequent workflows.</p><p>Looks like a &lt;Verb&gt; &lt;other POS&gt; &lt;Noun&gt; kind of pattern will work here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YtDH-RlzTKd2NSGM4VwG6A.png" /><figcaption>Identifying patterns for Customer Care call center use case</figcaption></figure><p><strong>Use case 2 :</strong> Extract Doctor’s Suggestions from Consultation notes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2DZP8xZYjsZrCh945HvXxA.png" /><figcaption>Doctor consultation notes</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GmvHv1tYyesKwJbsao8EzQ.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e367e14a1b1a94d27cb9879254a0ce47/href">https://medium.com/media/e367e14a1b1a94d27cb9879254a0ce47/href</a></iframe><p>The extracted chunks read:</p><ol><li>Use Cocyx cusion</li><li>Apply ice</li><li>Continue physiotherapy</li><li>strengthening exercises</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mfef7W_g_QrKil9WMLmU7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdFQYyrrjrtrqxuxsuhF6Q.png" /></figure><p>Once we have the key phrases, we can run a clustering algorithm to group the similar phrase together (eg: group good battery, and high-performance battery). I’ll cover that in a later post.</p><p>For today, I hope you leave knowing the power of having a tool like Chunking in your NLP toolkit.</p><p>Thanks for reading. Let me know how you plan to use POS chunking.</p><p>I’m available in the comments section and <a href="https://www.linkedin.com/in/divya-choudharyiisc/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=239084543225" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/nlp-and-pos-based-chunking-to-generate-amazon-style-key-phrases-from-reviews-239084543225">NLP and POS based chunking to generate Amazon style Key phrases from Reviews</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[Build a search engine with SQL…]]></title>
            <link>https://medium.com/data-science/build-a-search-engine-with-sql-cc8baf06ddb2?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc8baf06ddb2</guid>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Thu, 28 Jan 2021 17:19:55 GMT</pubDate>
            <atom:updated>2021-02-23T12:59:04.301Z</atom:updated>
            <content:encoded><![CDATA[<h3>Build a search engine with SQL</h3><h4>Using Full Text Search</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bd7UX4O4EL3clA4mFxeLEw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@laughayette?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Marten Newhall</a> on <a href="https://unsplash.com/s/photos/searching?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>If you’ve used SQL to perform a text search, you would have probably used the <strong>like </strong>command. But the limitation with like command is that it looks for exact matches. Luckily for us, SQL offers a feature - SQL FULL TEXT INDEX — that offers fuzzy text search capability on any column that contains raw text. this is a god sent for NLP projects.</p><p>I for one, am a big fan of NLP libraries offered by python — scikit learn and spaCy.</p><p>But before one steps into the deep waters of the text processing, its good to dip your toe into the shallow end with SQL’s full text Index.</p><p>In this article we are going to see how one can use the Text search capabilities of MS SQL to perform an elastic search. Yes, a full fledged elastic search.</p><h3>Dataset</h3><p>We will be using the Amazon reviews dataset available at:</p><p><a href="http://jmcauley.ucsd.edu/data/amazon/">Amazon review data</a></p><p>Lets focus on one product category</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*thqrN7JtWEbg3O-nHTtMFA.jpeg" /><figcaption>Screenshot captured by author</figcaption></figure><p>Import the downloaded json into python and have a look at the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*Qt1o9temkISt17yS7jnAsA.png" /><figcaption>Screenshot captured by Author</figcaption></figure><p>Push the data into SQL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*C-WBEaGkXFNWlbMrBwEn0w.png" /><figcaption>Screenshot captured by Author</figcaption></figure><h4>Setting up the Full Text search feature</h4><p>First a little housekeeping.</p><p>Within SQL, check if the feature Full text is installed in the SQL Server</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fdfe7f7a077ab8af0bb1a44d1546c52b/href">https://medium.com/media/fdfe7f7a077ab8af0bb1a44d1546c52b/href</a></iframe><p>If its not installed, use the following link to do so.</p><p><a href="https://www.sqlshack.com/hands-full-text-search-sql-server/">Hands on Full-Text Search in SQL Server</a></p><p>Check if its enabled.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5cde239c85d89300ffee36cd3f786c33/href">https://medium.com/media/5cde239c85d89300ffee36cd3f786c33/href</a></iframe><p>Create a Full Text catalog on the AmazonReviews table.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/151c7ce3aa244ce8022adf20d82356eb/href">https://medium.com/media/151c7ce3aa244ce8022adf20d82356eb/href</a></iframe><p>Think of this as the place where the index will be populated..</p><p>Populated… What does that mean..?</p><p>We’ll find out shortly…</p><p>For now, look at the primary key of the table AmazonReviews.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*LQIsNopzm6OokS1tCtbv2Q.png" /></figure><p>Hmm..</p><p>The table had ID as the primary key.</p><p>In the index, its named as PK_AmazonRe_3212…</p><p>Let us rename it for easy access later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*dEhxlMmOaXwW_oNJk4kPdg.png" /><figcaption>Primary key of the table</figcaption></figure><p>There, that looks better.</p><p>Now, the part we’ve been waiting for…</p><p>Populate, i.e. fill the Full text Index. This enables us to perform super fast searches on the reviews text.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bca553c3301cf40bd89b6a50a05455bc/href">https://medium.com/media/bca553c3301cf40bd89b6a50a05455bc/href</a></iframe><p>Lets have a look at the <strong>contents of the Full text</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a91da3e82628c8c08e724de6abf7ff8e/href">https://medium.com/media/a91da3e82628c8c08e724de6abf7ff8e/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6U03B2la34cQG-xoJBDojw.png" /><figcaption>Contents of the FT index</figcaption></figure><p>This is what we meant by populating the index.</p><p>Its has 121995 entries. It has a track of which term occurs in which column, and how many times.</p><p>Think of it like the vocabulary from Count Vectorizer we create in scikit learn.</p><p>And finally, lets <strong>perform a search operation</strong> on the reviewText column.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b470af2cac3ba6ad9809f19ba55bc7d/href">https://medium.com/media/4b470af2cac3ba6ad9809f19ba55bc7d/href</a></iframe><p>Lo and Behold…!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k4mnHEBpQGaRMWHOKbu-Vg.png" /><figcaption>Exact Matches rank higher</figcaption></figure><p>28000 rows with matching results.</p><p>Lets explore further…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FolPL1SlR3jGtGRxgajxDg.png" /><figcaption>Lower end of the matches</figcaption></figure><p>Rows that rank higher contain exact match with the search term “low battery”. While on the contrary, rows that rank lower contain partial matches — like only the word “low” or only the word “battery”.</p><p>Additionally, notice that as we scroll through the results, the length of the reviews increases.</p><h4>How does Ranking work?</h4><p>At this point its interesting to understand how the rows are ranked.</p><p>Its ranked based on the OKAPI BM formula.</p><p>The formula in its entirety is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*J681EkcPN6zScSLdE_G46Q.png" /><figcaption>Formula from : <a href="https://docs.microsoft.com/en-us/sql/relational-databases/search/limit-search-results-with-rank?view=sql-server-ver15">https://docs.microsoft.com/en-us/sql/relational-databases/search/limit-search-results-with-rank?view=sql-server-ver15</a></figcaption></figure><p>But really it boils down to the below factors:</p><p>· Number of words in query</p><p>· Number of rows in DB matching the queried words</p><p>· Average length of the rows in DB</p><p>· Frequency of word in DB</p><p>· Frequency of word in the query</p><p>That explains why the matched row with 12330 characters has the lowest rank score and the matched row with 141 characters has the highest rank score.</p><p>And that there is a quick and easy to perform an elastic search using Full Text search in SQL. This ability to perform fuzzy search and rank and sort the results forms the core of any search engine. The best part of this feature is the index can be setup to auto-update when the base data updates.</p><p>In addition to using it as for its search capabilities, I have personally used the Full text index at the beginning of many NLP projects. For example, going through the index and the count of terms gives me an idea of the domain specific stop words. Scrolling through the index and looking at misspelled words or typos, gives me a clue to the kind of text cleaning steps I need to perform.</p><p>Thank you for making it this far. I’m going to be writing more such posts. Let me know what you think of this post and what other topics you’d like to see covered by messaging me on <a href="https://www.linkedin.com/in/divya-choudharyiisc/">LinkedIn</a>. For future posts, follow me on <a href="https://learnwithdivya.medium.com/">Medium</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc8baf06ddb2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/build-a-search-engine-with-sql-cc8baf06ddb2">Build a search engine with SQL…</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[Impossible vs Unknown]]></title>
            <link>https://learnwithdivya.medium.com/impossible-vs-unknown-2c1e1a350d78?source=rss-d12e7454cbea------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c1e1a350d78</guid>
            <dc:creator><![CDATA[Divya Choudhary]]></dc:creator>
            <pubDate>Tue, 26 Jan 2021 10:48:20 GMT</pubDate>
            <atom:updated>2021-01-26T10:48:20.503Z</atom:updated>
            <content:encoded><![CDATA[<p>Its important to know the difference</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1VxgyEgjtK7cp6TP0Qi46A.jpeg" /></figure><p>Photo by <a href="https://unsplash.com/@ethandow?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Ethan Dow</a> on <a href="https://unsplash.com/s/photos/road-with-bright-lights?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p><p>Quite often when we are venturing in something new, we are faced with doubts, fears. We are even tempted to give up saying, it was impossible. At this time if we can draw the line between the impossible and the unknown, then we can quite easily transcend the fear.</p><p>More often than not, the task is only unknown. At such time, we need to list down things to do, and find the best person/resource to guide. And slowly what was impossible starts becoming a reality.</p><p>On the other hand if it really is impossible, still try. At least now we know that its impossible in this way. Perhaps it’ll be possible some other way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c1e1a350d78" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>