<?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 Rahul Vaish on Medium]]></title>
        <description><![CDATA[Stories by Rahul Vaish on Medium]]></description>
        <link>https://medium.com/@rahulvaish?source=rss-5bbc49e3c245------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*GQXsdWDF62xSKCiIywHl7A.jpeg</url>
            <title>Stories by Rahul Vaish on Medium</title>
            <link>https://medium.com/@rahulvaish?source=rss-5bbc49e3c245------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 19:43:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rahulvaish/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[VADER and Sentiment Analysis — Python]]></title>
            <link>https://medium.com/@rahulvaish/vader-and-sentiment-analysis-python-eae70ecef454?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/eae70ecef454</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[sentiment-analysis]]></category>
            <category><![CDATA[vader]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Sun, 11 Nov 2018 12:50:00 GMT</pubDate>
            <atom:updated>2018-11-11T12:53:01.780Z</atom:updated>
            <content:encoded><![CDATA[<h3>VADER and Sentiment Analysis — Python</h3><p>VADER stands for <strong>V</strong>alence <strong>A</strong>ware <strong>D</strong>ictionary and s<strong>E</strong>ntiment <strong>R</strong>easoner. It is a Lexicon and rule-based sentiment analysis library. The library is popular in the area of Sentiment Analytics. Let&#39;s have a quick overview of the basic concepts of this powerful library in this tutorial.</p><p><strong>Step#1:</strong> To Install VADER, execute <strong>pip install vaderSentiment </strong>command in the Anaconda Admin Mode.</p><p><strong>Step#2: </strong>Go through the below self-explanatory example to understand the basics of this library. Besides, the scale diagram will help us in understanding and interpreting the output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*AhqHTmvl00dbh8jmEpBmaQ.png" /><figcaption>VADER Sentiment Scale Diagram</figcaption></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5302d2d6e35862482aff7a9c863109d2/href">https://medium.com/media/5302d2d6e35862482aff7a9c863109d2/href</a></iframe><p>VADER is a wonderful library for Sentiment Analysis, hope this quick tutorial helps in building basic understanding :)</p><p>Please feel free to relay your comments, suggestions or corrections. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eae70ecef454" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Self-Explanatory Tutorial to Pivot Tables [Python]!]]></title>
            <link>https://medium.com/@rahulvaish/simple-self-explanatory-tutorial-to-pivot-tables-python-5e54f1f93a77?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e54f1f93a77</guid>
            <category><![CDATA[python-pandas]]></category>
            <category><![CDATA[pivoting]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Thu, 27 Sep 2018 05:29:43 GMT</pubDate>
            <atom:updated>2018-09-27T05:29:43.195Z</atom:updated>
            <content:encoded><![CDATA[<p>Pivot tables are a very useful way of data representation. This tutorial describes how they can be made :)</p><p><strong>Step#1</strong>: Here is our sample <a href="https://gist.github.com/rahulvaish/29d36b24ec7ec11899a39a7ba29874f4">data</a></p><p><strong>Step#2: </strong>Below is a self-explanatory code snippet.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c0d1c474209c59767178dc0f57a16d0c/href">https://medium.com/media/c0d1c474209c59767178dc0f57a16d0c/href</a></iframe><p>Hope it helps. Please feel free to relay your comments, suggestions or corrections. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e54f1f93a77" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jupyter + Docker!]]></title>
            <link>https://medium.com/@rahulvaish/jupyter-docker-badd38fd6b51?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/badd38fd6b51</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[jupyter]]></category>
            <category><![CDATA[jupyter-notebook]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Sun, 23 Sep 2018 18:17:46 GMT</pubDate>
            <atom:updated>2018-09-27T01:21:44.550Z</atom:updated>
            <content:encoded><![CDATA[<p>Docker is an amazing technology. The explanation and concepts of Docker is beyond the scope of this blog. We are here to explore how Docker allows us to run ‘ready to go’ Jupyter notebooks !!</p><p><strong>Step#1: </strong>Login into <strong>hub.docker.com</strong>.</p><p><strong>Step#2: </strong>Search for “Jupyter” over here and you will find a long list of variously published images. Screenshot as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*u41PA_yebfRELP2luYr0LA.png" /><figcaption>List of Docker images, published on Docker Hub</figcaption></figure><p><strong>Step#3: </strong>Now,<strong> </strong>choose anyone from the above list. Lets select <strong>jupyter/all-spark-notebook</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EQIHV4y6o8wuMzqW8af5mQ.png" /><figcaption>Selected jupyter/all-spark-notebook image from the Docker Hub.</figcaption></figure><p><strong>Step#4: </strong>Now initiate Docker Quickstart Terminal, and enter Docker pull command. This command is highlighted in the above screenshot [docker pull jupyter/all-spark-notebook]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*ydpCUclkaUJTnrJ_azbL7g.png" /></figure><p><strong>Step#5:</strong> After downloading, create a folder with two files, as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*yzZIkR2YmPRfJ0DEWPqHEQ.png" /><figcaption>docker-compose.yml and Dockerfile</figcaption></figure><p>For now, keep Dockerfile as empty whereas docker-compose.yml has the below content:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/13067a2714b5e524ea9f24ae7dd3c379/href">https://medium.com/media/13067a2714b5e524ea9f24ae7dd3c379/href</a></iframe><p><strong>Step#6: </strong>On Docker Quickstart Terminal, navigate to your desired folder structure(where the above-created files were kept), and enter the command &lt;<strong>docker-compose up</strong>&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*JPzPJgYK1jCz2VotkKwKbQ.png" /></figure><p><strong>Step#7: </strong>Now as we know that docker is configured to use the default machine with IP. In our case, it is 192.168.XX.YYY therefore to launch Jupyter Notebook [Docker Image] we will form our URL as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*jxOZ0r7HBj0k2fowFI0B6w.png" /></figure><p>Hope you found this simple basic tutorial helpful. Please share your comments, suggestions and corrections. Thanks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=badd38fd6b51" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Self-Explanatory Tutorial to House Price Prediction Problem!]]></title>
            <link>https://medium.com/@rahulvaish/simple-self-explanatory-tutorial-to-house-price-prediction-problem-e7c4825e35f8?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7c4825e35f8</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[predictions]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[house]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Sun, 16 Sep 2018 11:41:13 GMT</pubDate>
            <atom:updated>2018-09-18T19:08:59.700Z</atom:updated>
            <content:encoded><![CDATA[<p>For a beginner in Data Science and Machine Learning, solving ‘House Price Prediction Problem’ is an interesting way to build fundamental concepts. Here is the <a href="https://gist.github.com/rahulvaish/7e33ff90d4a5b629e501a4dc41e1dad2">dataset</a> and a self-explanatory notebook, that aims to guide through the solution :)</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c417040f1f6db04126e3a3eadbc3422c/href">https://medium.com/media/c417040f1f6db04126e3a3eadbc3422c/href</a></iframe><p>Hope it helps. Please feel free to relay your comments, suggestions or corrections. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7c4825e35f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Self-Explanatory Tutorial to Titanic Problem !]]></title>
            <link>https://medium.com/@rahulvaish/simple-self-explanatory-tutorial-to-titanic-problem-457f80030438?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/457f80030438</guid>
            <category><![CDATA[titanic]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[titanic-problem]]></category>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[blog]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Thu, 30 Aug 2018 05:25:13 GMT</pubDate>
            <atom:updated>2018-09-15T04:00:50.954Z</atom:updated>
            <content:encoded><![CDATA[<p>For a beginner in Data Science and Machine Learning, solving ‘Titanic problem’ is an interesting way to build fundamental concepts. Here is the <a href="https://gist.github.com/rahulvaish/540117d0e89ddd996a3aa8dba037850d">dataset</a> and a self-explanatory notebook, that aims to guide through the solution.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/233400536d71e6f3d9885c5f43190d82/href">https://medium.com/media/233400536d71e6f3d9885c5f43190d82/href</a></iframe><p>Hope it helps. Feel free to share if by any means we can improve the accuracy :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=457f80030438" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Text To Speech [Into File]— Python]]></title>
            <link>https://medium.com/@rahulvaish/text-to-speech-into-file-python-1b1f9be0804c?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b1f9be0804c</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[gtt]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[text-to-speech]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Mon, 20 Aug 2018 05:41:34 GMT</pubDate>
            <atom:updated>2018-08-20T05:41:34.257Z</atom:updated>
            <content:encoded><![CDATA[<p>Converting Text into Speech is extremely easy. Lets see a simple example, how to convert a given text into an automated voice —</p><p><strong>Step#1: </strong>Install <strong>gtts </strong>library. Execute <strong>pip install gtts </strong>on Anaconda Shell, as we will be using Jupyter Notebook.</p><p><strong>Step#2:</strong> On Jupyter Notebook, write the below code. The mentioned code demonstrates how a given text “Good morning” is converted into English automated voice. Also if we have a text which is not in English, but in any other language (let say in Hindi), gtts can also convert it well !! :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*A-pFYcNxFPr-UnotQoh-DQ.png" /></figure><p><strong>Step#3:</strong> Now check the generated files in the desired location:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*L_XxhSfwXRMzDP9YQ4ii8w.png" /></figure><p>Hope this quick tutorial helps. Thanks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b1f9be0804c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Play with ChatBots— Python]]></title>
            <link>https://medium.com/@rahulvaish/play-with-chatbots-python-7bcfaa2689f1?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bcfaa2689f1</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatterbot]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Tue, 17 Jul 2018 23:40:03 GMT</pubDate>
            <atom:updated>2018-07-17T23:40:03.924Z</atom:updated>
            <content:encoded><![CDATA[<p>To implement Chatbots, we will use a library called chatterbot. It is one of the most famous way to implement Chatbot applications. Let’s explore it-</p><p><strong>Step#01</strong>- Install the chatterbot library, by using the below command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/404/1*70-4B4ibshQCEHnfGCbnCg.png" /></figure><p><strong>Step#02- </strong>On Jupyter Notebook, write the below code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*VaK0xQOrhhVEmmXlH6Rmag.png" /></figure><p><strong>Observation</strong>: For the question “Who build the Bada Imambara in Lucknow” we have not provided any answer, therefore, the match happens on the basis of <strong>keyword </strong>“build” and hence we get the closest result.</p><p>Now, after providing an appropriate answer, to the above question-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*_kOre9KSyrdIRHVaDyVZ7w.png" /></figure><p><strong>Observation:</strong> Things look good now!</p><p>Testing the keyword phenomenon again-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*nVmfyLw2waaCrJrDVmL0Sg.png" /></figure><p>Now, we are providing more information, as Question-answer pair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*QFcGvSfD4Y41TGCvDXPI0Q.png" /></figure><p><strong>Observation:</strong> As we can see that, the more we keep inserting Question-Answer pairs, and chatbot can relate internally and give the best results.</p><p>Instead of entering Question-Answer pairs like the above mentioned, we can also feed the chatbot with inputs from a file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*PcAiU_U3Yw6gAFo_YQgELg.png" /><figcaption>Screenshot of a File containing Q-A pairs (separated by line)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*bjD_za2tXDkMRD2o60Y6Eg.png" /></figure><p><strong>Observation:</strong> Things look good now!</p><p>Hope the quick tutorial was helpful for starting the hands-on over chatterbot :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bcfaa2689f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TextBlob and Sentiment Analysis — Python]]></title>
            <link>https://medium.com/@rahulvaish/textblob-and-sentiment-analysis-python-a687e9fabe96?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/a687e9fabe96</guid>
            <category><![CDATA[textblob]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[sentiment-analysis]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Thu, 14 Jun 2018 20:57:54 GMT</pubDate>
            <atom:updated>2018-06-14T20:57:54.704Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s see a very simple example to determine sentiment Analysis in Python using TextBlob.</p><p><strong>Step#1:</strong> Execute <strong>pip install textblob</strong> on Anaconda/command prompt.</p><p><strong>Step#2: </strong>In the your IDE, play and learn likewise —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*RbqpntwwWJSjYWfkx2QKaw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*gfigqbUQYSgEkfBWmO1jwg.png" /></figure><p><strong>Observation:</strong> We can see the output is categorized between two — <strong>Polarity</strong> and <strong>Subjectivity</strong>.</p><p><strong>Polarity </strong>is a float value within the range [-1.0 to 1.0] where 0 indicates neutral, +1 indicates a very positive sentiment and -1 represents a very negative sentiment.</p><p><strong>Subjectivity </strong>is a float value within the range [0.0 to 1.0] where 0.0 is very objective and 1.0 is very subjective. Subjective sentence expresses some personal feelings, views, beliefs, opinions, allegations, desires, beliefs, suspicions, and speculations where as Objective sentences are factual.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a687e9fabe96" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Tesseract OCR — Java]]></title>
            <link>https://medium.com/@rahulvaish/simple-tesseract-ocr-java-be261e343c5b?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/be261e343c5b</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[tesseract]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[ocr]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Thu, 14 Jun 2018 19:26:01 GMT</pubDate>
            <atom:updated>2018-06-14T19:26:01.466Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s see a very simple example of OCR implemented in Java.</p><p><strong>Step#1:</strong> Download <a href="https://github.com/tesseract-ocr/tessdata"><strong>tessdata</strong></a><strong> </strong>[eng.traineddata]</p><p><strong>Step #2:</strong> Get a sample image (<strong>Grayscale converted</strong>) with something written on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*klTODXvF6Zjh3SRpOdIpbA.png" /></figure><p><strong>Step#3: </strong>Add the below dependency in the pom.xml-</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9bcf81ba59acd1607e829ffce3b11fe8/href">https://medium.com/media/9bcf81ba59acd1607e829ffce3b11fe8/href</a></iframe><p><strong>Step#4:</strong> Write the below code snippet to perform OCR-</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fcddd0d4f7c24f9c3bae21f0544e126b/href">https://medium.com/media/fcddd0d4f7c24f9c3bae21f0544e126b/href</a></iframe><p><strong>Step#5:</strong> On executing the above code, the output is displayed on console :)</p><p><em>P.S. So far, the best OCR to choose on production code can be found with Google Vision API (which scans and results the image attributes as REST JSON).</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be261e343c5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Speech [From File] To Text — Python]]></title>
            <link>https://medium.com/@rahulvaish/speech-from-file-to-text-python-953b64306654?source=rss-5bbc49e3c245------2</link>
            <guid isPermaLink="false">https://medium.com/p/953b64306654</guid>
            <category><![CDATA[text-to-speech]]></category>
            <category><![CDATA[speech]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[text]]></category>
            <category><![CDATA[audio]]></category>
            <dc:creator><![CDATA[Rahul Vaish]]></dc:creator>
            <pubDate>Sun, 27 May 2018 12:07:50 GMT</pubDate>
            <atom:updated>2018-05-27T12:07:50.102Z</atom:updated>
            <content:encoded><![CDATA[<p>Lets see an example of converting speech (from an audio file) to text —</p><p><strong>Step#1: </strong>We should have an audio file (.wav file). <br>In this audio file, I have recorded a sentence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*zrX7RbTRovmbuOjJri_LCw.png" /></figure><p><strong>Step#2: </strong>The below code takes the above file(speech)as input and displays the text as output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*rxIip3HDZr9jaqWshCEIrg.png" /></figure><p>Hope it helps. Thanks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=953b64306654" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>