<?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 Jaydeep Borkar on Medium]]></title>
        <description><![CDATA[Stories by Jaydeep Borkar on Medium]]></description>
        <link>https://medium.com/@jaydeepborkar?source=rss-67fd7a34a2d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9fpEPjaMPU0AXVCcSB1QyA.png</url>
            <title>Stories by Jaydeep Borkar on Medium</title>
            <link>https://medium.com/@jaydeepborkar?source=rss-67fd7a34a2d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:52:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jaydeepborkar/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[Getting into CS PhD programs from low-resource Engineering Colleges]]></title>
            <link>https://jaydeepborkar.medium.com/getting-into-cs-phd-programs-from-low-resource-engineering-colleges-e1d1f2c18e49?source=rss-67fd7a34a2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1d1f2c18e49</guid>
            <category><![CDATA[phd-application]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Jaydeep Borkar]]></dc:creator>
            <pubDate>Sat, 26 Jun 2021 13:44:34 GMT</pubDate>
            <atom:updated>2021-06-26T14:05:10.006Z</atom:updated>
            <content:encoded><![CDATA[<p>I am going to structure this article about my journey on getting into CS PhD programs in the US after doing my bachelor’s from one of the low-resource engineering colleges. Specifically, I will talk about the challenges that I faced as an undergrad student at a low-resource engineering college in India and how I overcame them in order to secure direct PhD admits. I hope this will help other students in similar situations looking to apply in the near future.</p><p>The majority of the undergraduate students at low-resource colleges struggle with resources and guidance when it comes to doing research and applying to direct PhD programs. They are hesitant about applying to PhD programs as they feel that they are not as <em>good enough </em>when compared to students from top-ranked institutions. I’ll use this article to share the message that this isn’t true and that you too can get direct admit to a PhD program. I’ll discuss some of the things that might help you to apply to PhD programs if you are a prospective PhD applicant from an institution with less resources.</p><p>I’ll briefly describe my journey right from my freshman year to getting PhD admits. This might get a bit long. Please bear with me :)</p><p><strong>First-year of undergrad</strong>: I ended up getting into a state engineering college after preparing for JEE for 2 years. Yes, I was disappointed with the results but I decided that I would make up for it during my undergrad years. During my first year, I had a lot of subjects other than programming even though my major was in Computer Engineering. Hence, I studied a lot of other subjects like environmental sciences, engineering graphics, Physics, Chemistry, electrical sciences, etcetera. A disclaimer that when I entered college I had <em>zero</em> background in Computer Sciences. I didn’t know how to code. Nothing. Since there were a lot of other subjects in my freshman year, I didn’t really focus much on learning programming. I just learned <em>enough</em> to pass the programming course. But I participated in a lot of extracurriculars and managed to win a couple of prizes at some inter-college contests.</p><p><strong>Second-year</strong>: The first year passed very quickly. I still didn’t know much about programming. At this point, the professors assumed that each of us knew how to program proficiently. I had thought that they would teach us <em>how to code</em> once we start our second year. I couldn’t have been more wrong. I now regretted the time that I spent in my first year on extracurriculars and introspected that I should have better used that time on learning how to code. On the first day, one of the professors told us to write a very basic program and I still remember how everyone around started coding very easily whereas I was still figuring out what the program even meant. I couldn’t code anything and felt really embarrassed in front of everyone. I returned to my hostel after the classes and didn’t feel like ever going back there. I somehow gathered the courage to continue attending the classes but some folks around strongly believed that I was a weak student who won’t be able to pass even the second year.</p><p>I talked to one of the senior students and he recommended some courses to improve my programming and learn basic concepts. I started those courses. Meanwhile, this kind senior also took me to some open source meetups so that I could get some exposure. At that point, I could hardly understand any of the discussions in those meetups, but still, I attended them with the hope that I would at least get something. And I did learn something — <em>getting over my fear</em>. I had hit absolute rock bottom and now I had no other option but to get up and improve my skills. I continued taking courses until the end of my second year. Now, I also started doing a few independent projects by building simple things and started enjoying building stuff. I felt a bit confident with my skills and started exploring different areas.</p><p><strong>Third-year</strong>: I continued taking online courses. But there was something different when I transitioned into my third year — I was a bit more disciplined than my sophomore self. This was precisely the year when I gradually started getting some clarity about the areas that excited me. I tried app development, web development, blockchain, and a few other things before stumbling upon Natural Language Processing. I found NLP very fascinating and I gradually started reading basic introductory research papers on it. While reading one of such papers, I came across a paper that talked about adversarial examples for Reading Comprehension Systems. I learned more about it and was completely fascinated. This curiosity took me into Adversarial Machine Learning. This was the phase where I actually started reading more about what doing research meant. During this phase, I found myself enjoying reading the papers and questioning assumptions that these papers made. This is when I realized that I really wanted to get into research and experience doing research firsthand. But before jumping in, I made sure I had an adequate knowledge base to do research. For this, I consistently read papers every day, took courses for the stuff I didn’t know and tried reproducing a few papers.</p><p>Now, there were a few tough challenges lying ahead of me to get into research. First, there was no one in my college who could guide me in doing research in my area of interest. There weren’t any seniors with whom I could talk about getting started with research. So I had to read a single paper several times and take the necessary online courses and grapple with the concepts independently to understand the methods in the paper. I used to sit down and take notes in my notebooks to understand the concepts. I used to be very confused most of the time as it was very difficult at the beginning, but with practice and consistency, I finally started getting a little bit of grip on things. Most of the time, the papers that I used to read had talks on them which helped me considerably. I also used to email the authors (especially PhD students) on the paper if I had any questions and they were very kind to answer all the questions that I had. Another challenge was that my undergrad college in India had very little support to do research. So I had no option but to seek out external collaborations myself. Hence, I had to cold-email people for possible collaborations. But being from an institution with less recognition, it was incredibly tough for me to find any positions. I applied for research internships at other institutes/companies but got rejected. So I started cold emailing researchers/professors whose work I had enjoyed reading for possible collaborations around April 2019. Crafting a decent cold email used to consume a lot of time. Understanding the paper, thinking about questions and assumptions, and then writing the email used to take anywhere between 7–10 days. I made a Google Sheet of all the researchers that I wanted to cold email and kept cold-emailing them.</p><p>But things only got tougher. Months passed away and I did not find any collaborations. Often it felt as if I was traveling a dark tunnel that would lead me to a dead end. I used to have anxious and sleepless nights. But I did not give up. My interest to pursue research kept me going. Some days used to be really tough. When people used to ask me about my plans after my graduation, I had no clear answers. Finally, after emailing over 50 people over a course of 12 months, I finally found my first collaborator in April 2020. That collaborator is one of the kindest researchers that I have ever come across. While I was in the process of cold-emailing, I was also fortunate to attend a couple of virtual conferences and meet/network with some researchers working in my area. This gave me some great insights about some important problems in the field, which in turn, helped me in writing my SoP. Another thing that helped me considerably was getting on Twitter. Twitter has a great research community. There are so many amazing researchers you can follow who can teach you a lot about the research process. I have met some great folks on Twitter who have helped me improve a lot as a student and as a budding researcher.</p><p>Though challenging, this process of finding a collaborator taught me more than any course I have ever taken. I realized that I enjoyed working independently and pushing myself through uncertainties. It taught me to not give up on what I believe in and to keep going with patience and perseverance. I also had to do a few sacrifices during my third and fourth year of college — I didn’t hang out with my friends a lot of times and avoided indulging in activities that would cost a lot of my time. I rather preferred spending that time sitting in my hostel’s room and reading papers/cold-emailing. But I feel that if I had spent at least an hour a day doing some fun activities or just spending time outside, that would have kept me more focussed and energetic.</p><blockquote>If your institution doesn’t have the resources to do research, you can also try getting RA positions at other institutions or research internships at companies. Some institutions also have exclusive summer research internship programs. Or as I did, you can cold email researchers/professors (especially at the US universities) to see if they are interested in collaborating.</blockquote><blockquote>Writing the cold-emails: There are a lot of excellent resources out there on writing cold-emails. But the general rule of thumb in this case is that getting to the point early on helps, since they are really very busy people. Talk about who you are and what you want from them clearly. Most importantly — talk what papers have you read, what you liked about them, thoughtful questions and extensions (if possible) on their work, and a few things about your prior experience (if any). In a nutshell, your goal should be to start a good research conversation. Another important thing to note is that no one likes to read a long email. About 1–2 paragraphs are enough. If it’s more than that, no one has the time to read.</blockquote><blockquote>The option to cold-email to get research opportunities is incredibly hard, especially if you are someone from a lesser known institution. But if you do your homework, stick to the basics and are consistent, you will hear back from someone. And if you don’t hear back, don’t take it personally. They are very busy people and receive hundreds of such emails every day. Just stay consistent.</blockquote><blockquote>Optionally — you can also consider emailing the current students of any professors. They might have some idea about the open positions or could at least direct you to the right person. Also, they are the best people to ask any doubts or questions that you have regarding their work :)</blockquote><p>I started working on a research project and started gaining exposure. The past process and this experience combined made me believe that I wanted to give a shot at PhD programs this year. Alongside working on the project, I also met some awesome people and we ended up launching the<a href="https://www.trustworthyml.org/"> Trustworthy ML Initiative</a>. I was still unsure whether I would even make the cut for PhD admissions considering the competitive nature and where I did my undergrad from. But I truly wanted to pursue a PhD so I decided to give it a shot. A couple of people even told me that “students from institutions like yours have <em>zero</em> chance for getting direct CS PhD admits”. Now I was even more sure that I wanted to apply.</p><p>My mentors, friends, and a lot of other people helped me tremendously during the application process. I would remain truly grateful for this for the rest of my life. Resources like the blog post by Kalpesh Krishna<strong> [1] </strong>helped me a lot. After applying, I cold-emailed prospective advisors. Having sent cold emails for over 1.5 years, I now knew what exactly to write. I found this article by David Evans <strong>[2]</strong> very helpful and recommend everyone to have a look at it at least once before cold-emailing prospective advisors. A lot of kind people have written excellent articles on writing SoPs and other application materials for applying to PhD programs. I will link those articles/resources below. They helped me <strong>immensely</strong>. Hope they will be helpful to others as well. Michelle has a great presentation on how to pursue undergraduate research as a student from a disconnected program<strong> [6]</strong></p><p>In the last week of January, I received my first PhD admit. I was elated. I couldn’t believe it. If someone would have told me 2 years back that I would get PhD admits or do a PhD, I literally wouldn’t have believed it. Finally, the wait was over and all the work for the last 1.5 years was worth it. Subsequent PhD admits came for the next few weeks.</p><p>If you are someone from a low-resource institution, I hope this article will help you a bit. Do not ever let anyone tell you that you cannot do it just because you are at a place with less resources or where you come from. It’s just that you will have to <em>work</em> and <em>plan</em> harder than the rest of your peers. Good luck!</p><blockquote>It’s important to note that for the majority of the students who are from institutes with less resources, it might be difficult to get all letters that are research-dense. However, if you are able to get 1–2 letters that talk about your research experience and your ability to do independent research, and the remaining letter(s) from your project supervisor at college/or from some internships, that might help.</blockquote><p>Also, I just want to add that applying to PhD programs is not everything. PhD programs at most of the schools have single-digit acceptance rates. So if you’re rejected, please don’t take it to heart. There’s always the next year and there’s a lot more to life.</p><p>If you have any questions/want to discuss PhD application process from the perspective of a PhD applicant from a low-resource institution/or want to share a funny meme, please do not hesitate to contact me.</p><p><strong>Acknowledgment</strong>: I would like to thank Earlence Fernandes and Michelle Davies Thalakottur for helpful feedback on the draft of this blog post. I would also like to thank my collaborators and mentors Pin-Yu Chen, Hima Lakkaraju and Trustworthy ML Initiative family for their never-ending support and guidance.</p><p><strong>RESOURCES (application process)</strong></p><ol><li><a href="https://martiansideofthemoon.github.io/2018/05/29/grad-resources.html">https://martiansideofthemoon.github.io/2018/05/29/grad-resources.html</a> — This article is a gem: a one-stop guide. Has a great compilation of resources for pretty much everything needed to prepare application material.</li><li><a href="https://uvasrg.github.io/prospective/">https://uvasrg.github.io/prospective/</a> — A guide on emailing prospective advisors by David Evans.</li><li><a href="http://krrish94.github.io/blog/gradschool-sop/">http://krrish94.github.io/blog/gradschool-sop/</a> — Series of articles by Krishna Murthy</li><li><a href="https://suchin.io/blog/2020/personal-statement-advice/">https://suchin.io/blog/2020/personal-statement-advice/</a> — Article by Sachin Gururangan on writing the personal statement/SoP.</li><li><a href="https://da-data.blogspot.com/2015/03/reflecting-on-cs-graduate-admissions.html">https://da-data.blogspot.com/2015/03/reflecting-on-cs-graduate-admissions.html</a> — From the past chair of CMU CS graduate admissions committee on what they look for.</li><li><a href="https://michelledaviest.github.io/files/outreach/ugrad-research.pdf">https://michelledaviest.github.io/files/outreach/ugrad-research.pdf</a> — Pursuing undergraduate research as a student from disconnected program by Michelle Davies Thalakottur.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1d1f2c18e49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Chatbots using Dialogflow on Google Assistant for Beginners.]]></title>
            <link>https://blog.chatbotslife.com/building-chatbots-using-dialogflow-on-google-assistant-for-beginners-1e91cf355abb?source=rss-67fd7a34a2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e91cf355abb</guid>
            <category><![CDATA[dialogflow]]></category>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[actions-on-google]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Jaydeep Borkar]]></dc:creator>
            <pubDate>Thu, 30 May 2019 21:41:45 GMT</pubDate>
            <atom:updated>2019-06-03T12:54:12.271Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, we will learn to build a chatbot (a virtual assistant) using Dialogflow which will work on Google Assistant.</p><p><strong>But what is Dialogflow in the first place?</strong></p><p>It’s a tool by Google to build conversational <a href="https://chatbotslife.com/">chatbots</a>.</p><p><strong>STEPS</strong></p><ul><li>Go to the <a href="https://dialogflow.com/">https://dialogflow.com/</a> — you will see a Dialogflow home page.</li><li>Sign in using your Google account.</li><li>After you sign in, click on ‘Go to console’.</li><li>You will be directed to the main console of Dialogflow. Now click on the drop-down icon next to the settings icon in the left-most column, and then click on create new agent.</li></ul><h3>Top 4 Bot Tutorials</h3><blockquote><a href="https://chatbotslife.com/introduction-to-api-ai-55b08e8954ea">1. Introduction to API.AI</a></blockquote><blockquote><a href="https://chatbotslife.com/aws-setup-for-deep-learning-fda04db6df75">2. AWS setup for Deep Learning</a></blockquote><blockquote><a href="https://chatbotslife.com/how-to-integrate-api-ai-with-chatfuel-48baafd4613">3. How to Integrate API.AI with Chatfuel</a></blockquote><blockquote><a href="https://chatbotslife.com/build-a-working-sms-chat-bot-in-10-minutes-b8278d80cc7a">4. Build a working SMS chat-bot in 10 minutes</a></blockquote><p>Now, what is an <strong>agent </strong>over here?</p><p>Agent is an interface in Dialogflow which contains different sections called <strong>intents </strong>which further contain all the responses to the user’s queries. We will learn more about intents as we proceed ahead.</p><ul><li>After you click on create new agent, give an agent name, default language, time zone, and click on create. Keep ‘create a new Google project’ as it is in the Google project section. It will create a new Google project for Actions on Google and Google Cloud. We will be integrating Dialogflow with Actions on Google console which would help us to deploy it on Google Assistant.</li><li>Now, you can see your created agent in the console. We will be creating different intents now for our agent. You can create as many intents as you want. Two default intents — Fallback and Welcome are already created.</li></ul><p><strong>Let’s understand the Default Fallback and Welcome intent</strong></p><p>Fallback intent comes into picture when the bot won’t understand the query triggered/asked by the user. It means there is no intent that matches with the query asked by the user. It will give a response like “sorry, I didn’t get it”. Talking practically — whenever you say something very unusual to Google Assistant, it will say “sorry, didn’t get you”. Here, after you said something strange that’s not a natural language, the Fallback intent got triggered and gave this response.</p><p>Default Welcome intent will greet the user once your bot is called. You can customize both the default intents with the responses that you want.</p><ul><li>Now click on the + sign to create more intents. You can make as many intents as you want, depending on your use-case. Let’s say you are building a <a href="https://chatbotslife.com/">chatbot</a> for an ice cream parlor, and the user wants to know all the flavors that you serve. Here, you will create an intent let’s say ‘flavors’. Then you will add the training phases.</li></ul><p><strong>Training Phrases</strong></p><ul><li>Training phases are the queries that the user will ask to your chatbot. You can add as many similar training phrases as you want. These are the queries that you think the user would most likely ask. For the flavor intent, you can add training phrases like — ‘What flavors do you have?’, ‘Show me the flavors’, ‘Flavours’, ‘I want to have a look at the flavors’, and the list is endless. These training phrases are used to train a natural language understanding model internally. This is the best part about</li></ul><p>Dialogflow, you don’t have to write any code to train the model. In circumstances, where you want real-time results, you can write some Node.js code which we will talk later about!</p><ul><li>Now, in the Responses section, you can add the responses that you would like to show to the users. For instance, a simple response to a question in the training phrase — ‘Show me the flavors’ could be ‘Mango, Vanilla, Chocolate”. Make sure you append every response for every intent that you create with the sentence ‘would you like to know anything else?’, because for every intent except the exit intent (the intent that you would use when the user exits) it’s necessary that your response has a user prompt, else it would be against the guidelines published by Google and your app might not get published.</li></ul><p>In a similar fashion, you can have as many intents as you like, as per your need.</p><p>Don’t forget to save every time you make an intent.</p><p>Now, if you want to give some real-time output to your users, then you can write some Node.js code for the same. Go to the Fulfillment section at the left of the console, there you will see an option for Inline editor, toggle it on to enable it. You can write your code in index.js part. Let’s say, you’re making an app for a restaurant. The restaurant’s working hours are from 10:00 am — 10:00 pm, now if someone wants to check at 11:00 pm if the restaurant is open or not, instead of giving the static response like “Our timings are from 10:00 am — 10:00 pm”, the code will take the real-time parameters and will tell if the restaurant is open at that specific time or not. You can use Node.js code for different use cases, this is just an example. After you’re done, click on deploy.</p><p>You can have your <a href="https://chatbotslife.com/">chatbot</a> integrated with different platforms like — Slack, Facebook Messenger, Alexa, Cortana, Twitter, Viber, Skype, Telegram, and many others. Make sure to toggle on the platforms that you like. We will be sticking to the Google Assistant, which is the default one.</p><p>In the History section on the console, you can check how the users are interacting with your app and what all are they saying. You can use this as a tool to check what specific questions is your app unable to answer so that you can work on them.</p><p>In the Analytics section, you would see the analysis of how your app is performing.</p><p><strong>Now it’s time to test the app. Let’s see how it works.</strong></p><p>On the Dialogflow console, at the right side, you would see “See how it works on Google Assistant”, click on that. Once you click it, you will see the test simulator. Let’s say that our app name is ‘test app’, then you will see the invocation phrase something along the line “Talk to my test app” on the simulator. You can test your app with all the training phrases/questions that you have used to train the model. You will get a better intuition about how your app will actually perform once it gets deployed on the assistant.</p><p><strong>Now, it’s time to deploy it.</strong></p><p>On the simulator page itself, you will see an overview section at the left. Click on that. In the Quick setup part, you can choose how your action should be invoked. In the ‘Get ready for deployment’ part, you can choose what countries would you like to provide your app over Assistant. By default, it’s all 215 countries. You can also choose what surfaces would you like to run your app over, it’s both phones and speakers by default.</p><p>Now, go to the ‘Deploy’ section, go to ‘Directory information’ — here you can add a short and long description for your app, sample invocations, background and profile image for your app, contact information, and privacy and consent. These all will be visible to your users. Feel free to click on ‘Need help creating a Privacy Policy?’ to know how to make a privacy policy, please follow all the steps over there. You can use free tools like <a href="https://www.freeprivacypolicy.com/">this</a> to make a privacy policy for your app. Then you can choose what category your app belongs to and some other related information about your app below it. After you’re done with all these, click SAVE at the top.</p><p>Afterward, you can add Surface Capabilities and Company details in the Deploy section itself. After that, go to the ‘release’ section within the deploy section itself — there you would see an option to submit for production in the production part. Click on that and your app will be submitted for the review by Google. If it meets all the guidelines, it will be soon deployed on Google Assistant within 24–48 hours (you will receive an email from Google once it gets deployed successfully; and if it doesn’t, you will get an email in this case as well with all the errors so that you can fix them and submit for the production again). You can also opt for the alpha and beta versions for your app.</p><p>Once it’s deployed, your app will be available to over 500+ million devices without any installation, isn’t that cool?</p><p>Feel free to post any doubts or suggestions!</p><h3>Don’t forget to give us your 👏 !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*x9ZIlHi2U91f6OAp" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3e59ef%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3e59ef&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252F3e59ef%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href">https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href</a></iframe><figure><a href="https://chatbotslife.com/bot-communities-mastermind-group-d2dae9876709#.53x0py6ou"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*6XUspT9JOSq0w0Fi35HIaA.png" /></a></figure><figure><a href="https://m.me/ChatbotsLife"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*c1LDMH5vbnIz9rmAka8Hwg.png" /></a></figure><figure><a href="https://chatbotslife.com/chatbot-development-hire-top-ai-chatbot-developers-c8b45ef7f207"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*D0Jf3dI6ZThtqcfwDYY7mg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e91cf355abb" width="1" height="1" alt=""><hr><p><a href="https://blog.chatbotslife.com/building-chatbots-using-dialogflow-on-google-assistant-for-beginners-1e91cf355abb">Building Chatbots using Dialogflow on Google Assistant for Beginners.</a> was originally published in <a href="https://blog.chatbotslife.com/">Chatbots Life</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Volunteering for Kerala Flood Search and Rescue Team — Kerala Floods 2018]]></title>
            <link>https://jaydeepborkar.medium.com/volunteering-for-kerala-flood-search-and-rescue-team-kerala-floods-2018-5129d339b33b?source=rss-67fd7a34a2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5129d339b33b</guid>
            <category><![CDATA[kerala]]></category>
            <category><![CDATA[rescue-team]]></category>
            <category><![CDATA[kerala-floods-2018]]></category>
            <dc:creator><![CDATA[Jaydeep Borkar]]></dc:creator>
            <pubDate>Sat, 09 Mar 2019 06:36:18 GMT</pubDate>
            <atom:updated>2019-03-09T06:36:18.635Z</atom:updated>
            <content:encoded><![CDATA[<h3>Volunteering for Kerala Flood Search and Rescue Team — Kerala Floods 2018</h3><p>A few days before August 18th, 2018, I came across the news that Kerala was suffering from the worst floods in nearly a century. As soon as I heard the news, I googled up to have a look at the situation. The situation was horrifying. Already, lakhs of people were stranded, displaced, missing and lives were lost. Floods amounting to huge destruction to the state’s property. I really felt sad about the situation. But, the thing that pricked me the most was that I was unable to do anything to stop this or to protect people and save their lives. I couldn’t do anything on my part apart from sharing posts on social media to donate the fund.</p><p>1,143 kilometers away, I spent quite a lot of time thinking about how I can help them. Neither was I in Navy nor in any Local Rescue Team. What is the use of studying these much, getting a degree, equipping yourself with a lot of knowledge, if you can’t help those in need, those who are on the verge of losing their lives? I just thought for a moment. Still, I was clueless regarding how I can help them.</p><p>On the morning of 18th of August, I got to know that Kerala Rescue Team needed developers who can keep their website running. I joined their slack group as soon as possible, but I found that the development stuff would require me to learn that particular technology first and then I could be in a position to contribute, and this would considerably take a lot of time. It was pretty dilemmatic. But, as I was exploring various other modes of contribution, I found out this Chat Support Volunteering.</p><p>The functionality was like this: relatives and friends of the people who were stranded in the various districts of Kerala without food, water, and other necessary things contacted our chat support team with the help of a portal. Our job was to extract all the necessary information from them such as the number of people stranded, their contact numbers, names, location and coordinates(longitude, latitude), their condition. Collecting the information and checking it in the database for the duplicate entries and to file the entry if it was a new case. Followed up by contacting the local rescue team, the authorities and the Navy carrying out rescue operations, by providing them with the already extracted information. We were provided with the details of various district wise helpline numbers, rescue team contact numbers, details of various relief camps and the updated data of the people in the relief camps.</p><p>The other chat support volunteers were really very helpful and kind. They helped me and guided me throughout the operation. For instance, I don’t understand Malayalam, so they helped me in explaining what the requester was requesting with all the necessary data. I tried the hardest to respond to all the rescue requests that I could with, taking all the required information, assuring them that they would get in touch with their loved ones sooner. I was very clear regarding my role to unite a child with his/her mother, to unite a family, to unite friends, and to save their lives. I wasn’t an inch less and tried my best. Skipped my lunch because I have an extremely slow rate of transferring food particles per second to my digestive system and that would have taken a much of time, and I couldn’t afford to miss on any of the rescue requests. Definitely, I had some snacks later in the evening. The real heroes were the Navy and the local Rescue team.</p><p>It was very hurtful to hear that people were losing their lives. I called a group of stranded people in one of the districts to assure them that the help was arriving, and got to know that few people had lost their lives over there. They were in a pretty bad mental and physical condition. Tried my level best to help the people by responding to the requests with the tremendous help of other chat support volunteers, they were the people with unmatchable efforts. We were available 24×7 on the helpline. We had divided the slots. I went offline at 1 am and came back again by 5 am, with the other volunteers assisting the team.</p><p>A lot of people who found their missing ones dropped touching messages to me, the next day. A woman had a relative missing since 3–4 days. I took her email and assured her that I’ll get in touch with her as soon as I find that person. That day, unfortunately, we couldn’t find that person, so I dropped her an email regarding this and assured her that we were trying our best. The next day, one of the volunteers dropped me a message indicating the similar person on Google Finder. Yes, it was that same person. I dropped her an email regarding this update and yes, she got really very emotional and happy, and dropped a very touching email to me, thanking our team. A person whose friends went on missing from Ernakulam district contacted me on WhatsApp after he found them, leaving a very touching message again. This was something to live for.</p><p>With the help of our tireless Chat Support Volunteering Team, a lot of people were rescued, a lot of lives were saved. The members of chat support and other teams were so dedicated that they spent day and night to rescue the people. Unfortunately, I couldn’t help for more than three days as the deadlines of my assignments were marching nearer. People from various parts of India, and even from other countries were helping out the rescue team in different ways.</p><p>It had never really felt so good to me in my life yet, that we had saved the lives of people by coordinating with various teams. I met highly dedicated, motivated, hardworking and humble volunteers and made good friends too. <em>There’s a very big and different world outside the college life, the world that is built on empathy and good people</em> is what I learned. There’s much more to life than what our system restricts us to. Well, Kerala is on its track to be a powerful state again, it’s recovering, and I’m super happy about that.</p><p>Huge respect for the team of volunteers who worked day and night behind this for weeks and months in various fields, the local rescue teams, and the Navy. I could contribute for only three days due to my assignment deadlines, but other volunteers contributed for a really long period, even after floods, to make Kerala strong again. I have great respect for these guys.</p><p>I could go on and on writing about this, so to wrap it up: for me, <strong><em>It’s a great day to be alive!</em></strong></p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5129d339b33b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Natural Language Processing]]></title>
            <link>https://blog.chatbotslife.com/introduction-to-natural-language-processing-7803a85b2101?source=rss-67fd7a34a2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7803a85b2101</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[chatbot-design]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Jaydeep Borkar]]></dc:creator>
            <pubDate>Sat, 09 Mar 2019 06:27:03 GMT</pubDate>
            <atom:updated>2019-07-17T13:08:40.384Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fb_IK7nf1_Z77gJe" /><figcaption><a href="https://www.coursera.org/learn/language-processing">Source</a></figcaption></figure><p>Hello folks, I’ve just started my NLP journey and will be happy to share my learning process with you. Here’s an article regarding Introduction to Natural Language Processing.</p><p>The essence of Natural Language Processing lies in making computers understand our natural language. That’s not an easy task though. Computers can understand the structured form of data like spreadsheets and the tables in the database, but human languages, texts, and voices form an unstructured category of data, and it gets difficult for the computer to understand it, and there arises the need for Natural Language Processing.</p><figure><a href="https://www.eventbrite.com/e/chatbot-conference-tickets-62945583936?aff=cbl"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0in_nxNUTYgyPIAOZXMKXg.png" /></a></figure><p>There’s a lot of natural language data out there in various forms and it would get very easy if computers can understand and process that data. We can train the models in accordance with our expected output in different ways. Humans have been writing for thousands of years, there are a lot of literature pieces available, and it would be great if we make computers understand that. But the task is never going to be easy. There are various challenges floating out there like understanding the correct meaning of the sentence, correct Named-Entity Recognition(NER), correct prediction of various parts of speech, coreference resolution(the most challenging thing in my opinion).</p><h3>Trending AI Articles:</h3><blockquote><a href="https://chatbotslife.com/machine-learning-for-dummies-part-1-dbaca076ec07">1. Machine Learning for Dummies</a></blockquote><blockquote><a href="https://chatbotslife.com/text-classification-using-algorithms-e4d50dcba45">2. Text Classification using Algorithms</a></blockquote><blockquote><a href="https://chatbotslife.com/regularization-in-deep-learning-f649a45d6e0">3. Regularization in deep learning</a></blockquote><blockquote><a href="https://chatbotslife.com/chatbot-conference-a53999cf5adb?postPublishedType=initial&amp;fbclid=IwAR3LwmT_MxdqCYWj4tJ_6JbXvOTsjShpQRZ-Ci8Y0buN2htOaHUUMIhDDt0">4. Chatbot Conference in San Francisco</a></blockquote><p>Computers can’t truly understand human language. If we feed enough data and train a model properly, it can distinguish and try categorizing various parts of speech(noun, verb, adjective, supporter, etc…) based on previously fed data and experiences. If it encounters a new word it tried making the nearest guess which can be embarrassingly wrong few times.</p><p>It’s very difficult for a computer to extract the exact meaning from a sentence. For an example — <strong><em>The boy radiated fire like vibes</em></strong>. The boy had a very motivating personality or he actually radiated fire? As you see over here, parsing English with a computer is going to be complicated.</p><p>There are various stages involved in training a model. Solving a complex problem in Machine Learning means building a pipeline. In simple terms, it means breaking a complex problem into a number of small problems, making models for each of them and then integrating these models. A similar thing is done in NLP. We can break down the process of understanding English for a model into a number of small pieces.</p><p>My friend recently went for a dive at San Pedro island, so I’ll love to take that example. Have a look at this paragraph — “<strong><em>San Pedro is a town on the southern part of the island of Ambergris Caye in the Belize District of the nation of Belize, in Central America. According to 2015 mid-year estimates, the town has a population of about 16,444. It is the second-largest town in the Belize District and largest in the Belize Rural South constituency</em></strong>”.</p><p>(source-Wikipedia)</p><p>It would be really great if a computer could understand that San Pedro is an island in Belize district in Central America with a population of 16,444 and it is the second largest town in Belize. But to make the computer understand this, we need to teach computer very basic concepts of written language.</p><p>So let’s start by creating an NLP pipeline. It has various steps which will give us the desired output(maybe not in a few rare cases) at the end.</p><p><strong>STEP 1: Sentence Segmentation</strong></p><p>Breaking the piece of text in various sentences.</p><ol><li><em>San Pedro is a town on the southern part of the island of Ambergris Caye in the 2.Belize District of the nation of Belize, in Central America.</em></li><li><em>According to 2015 mid-year estimates, the town has a population of about 16,444.</em></li><li><em>It is the second-largest town in the Belize District and largest in the Belize Rural South constituency.</em></li></ol><p>For coding a sentence segmentation model, we can consider splitting a sentence when it encounters any punctuation mark. But modern NLP pipelines have techniques to split even if the document isn’t formatted properly.</p><p><strong>STEP 2: Word Tokenization</strong></p><p>Breaking the sentence into individual words called as tokens. We can tokenize them whenever we encounter a space, we can train a model in that way. Even punctuations are considered as individual tokens as they have some meaning.<br><em>‘San Pedro’,’ is’, ’a’, ’town’</em> and so.</p><p><strong>STEP 3: Predicting Parts of Speech for each token</strong></p><p>Predicting whether the word is a noun, verb, adjective, adverb, pronoun, etc. This will help to understand what the sentence is talking about. This can be achieved by feeding the tokens( and the words around it) to a pre-trained part-of-speech classification model. This model was fed a lot of English words with various parts of speech tagged to them so that it classifies the similar words it encounters in the future in various parts of speech. Again, the models don’t really understand the ‘sense’ of the words, it just classifies them on the basis of its previous experience. It’s pure statistics.</p><p>The process will look like this:<br>Input →Part of speech classification model→ Output<br>Town →common noun<br>Is → verb<br>The → determiner</p><p>And similarly, it will classify various tokens.</p><p><strong>STEP 4: Lemmatization</strong><br>Feeding the model with the root word.<br>For an example — <strong><em>There’s a Buffalo grazing in the field </em></strong>and<br><strong><em>There are Buffaloes grazing in the field.</em></strong><br>Here, both Buffalo and Buffaloes mean the same. But, the computer can confuse it as two different terms as it doesn’t know anything. So we have to teach the computer that both terms mean the same. We have to tell a computer that both sentences are talking about the same concept. So we need to find out the most basic form or root form or lemma of the word and feed it to the model accordingly.</p><p>In a similar fashion, we can use it for verbs too. ‘<em>Play’ and ‘Playing’</em> should be considered as same.</p><p><strong>STEP 5: Identifying stop words</strong></p><p>There are various words in the English language that are used very frequently like <em>‘a’, ‘and’, ‘the’</em> etc. These words make a lot of noise while doing statistical analysis. We can take these words out. Some NLP pipelines will categorize these words as stop words, they will be filtered out while doing some statistical analysis. Definitely, they are needed to understand the dependency between various tokens to get the exact sense of the sentence. The list of stop words varies and depends on what kind of output are you expecting.</p><p><strong>STEP 6.1: Dependency Parsing</strong></p><p>This means finding out the relationship between the words in the sentence and how they are related to each other. We create a parse tree in dependency parsing, with root as the main verb in the sentence. If we talk about the first sentence in our example, then <em>‘is’</em> is the main verb and it will be the root of the parse tree. We can construct a parse tree of every sentence with one root word(main verb) associated with it. We can also identify the kind of relationship that exists between the two words. In our example, <em>‘San Pedro</em>’ is the subject and ‘<em>island’</em> is the attribute. Thus, the relationship between <em>‘San Pedro’</em> and <em>‘is</em>’, and ‘<em>island</em>’ and <em>‘is</em>’ can be established.</p><p>Just like we trained a Machine Learning model to identify various parts of speech, we can train a model to identify the dependency between words by feeding many words. It’s a complex task though. In <strong>2016</strong>, Google released a new dependency parser <strong>Parsey McParseface</strong> which used a deep learning approach.</p><p><strong>STEP 6.2: Finding Noun Phrases</strong></p><p>We can group words that represent the same idea. For example — <strong><em>It is the second-largest town in the Belize District and largest in the Belize Rural South constituency</em></strong>. Here, tokens ‘<em>second’, ‘largest’</em> and ‘<em>town</em>’ can be grouped together as they together represent the same thing ‘<em>Belize</em>’. We can use the output of dependency parsing to combine such words. Whether to do this step or not completely depends on the end goal, but it’s always quick to do this if we don’t want much information about which words are adjective, rather focus on other important details.</p><p><strong>STEP 7: Named Entity Recognition(NER)</strong></p><ol><li><em>San Pedro is a town on the southern part of the island of Ambergris Caye in the Belize District of the nation of Belize, in Central America.</em></li></ol><p>Here, the NER maps the words with the real world places. The places that actually exist in the physical world. We can automatically extract the real world places present in the document using NLP.</p><p>If the above sentence is the input, NER will map it like this way:<br><em>San Pedro</em> — Geographic Entity<br><em>Ambergris Caye</em> — Geographic Entity<br><em>Belize</em> — Geographic Entity<br><em>Central America</em> — Geographic Entity</p><p>NER systems look for how a word is placed in a sentence and make use of other statistical models to identify what kind of word actually it is. For example — ‘<em>Washington</em>’ can be a geographical location as well as the last name of any person. A good NER system can identify this.</p><p>Kinds of objects that a typical NER system can tag:<br>People’s names.<br>Company names.<br>Geographical locations<br>Product names.<br>Date and time.<br>Amount of money.<br>Events.</p><p><strong>STEP 8: Coreference Resolution:</strong></p><p><em>San Pedro is a town on the southern part of the island of Ambergris Caye in the Belize District of the nation of Belize, in Central America.<br>According to 2015 mid-year estimates, the town has a population of about 16,444.<br>It is the second-largest town in the Belize District and largest in the Belize Rural South constituency.</em></p><p>Here, we know that ‘<em>it’</em> in the paragraph stands for <em>San Pedro</em>, but for a computer, it isn’t possible to understand that both the tokens are same because it treats both the sentences as two different things while it’s processing them. Pronouns are used with a high frequency in English literature and it becomes difficult for a computer to understand that both things are the same. Hence, this step is used. This step is indeed the most difficult step</p><p>In the upcoming articles, I’ll try sharing about the history of NLP, how it evolved, various past models and why they failed, NLP Libraries and coding NLP pipeline in Python. I’d love discussing various papers as well.</p><p>Please, feel free to correct me on any topic if I went wrong somewhere and do let me know about improvements.</p><p>Cheers!</p><h3>Don’t forget to give us your 👏 !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*DJE6bbXf2VUBsNiX" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3e59ef%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3e59ef&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252F3e59ef%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href">https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href</a></iframe><figure><a href="https://chatbotslife.com/bot-communities-mastermind-group-d2dae9876709#.53x0py6ou"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*6XUspT9JOSq0w0Fi35HIaA.png" /></a></figure><figure><a href="https://m.me/ChatbotsLife"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*c1LDMH5vbnIz9rmAka8Hwg.png" /></a></figure><figure><a href="https://chatbotslife.com/chatbot-development-hire-top-ai-chatbot-developers-c8b45ef7f207"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*D0Jf3dI6ZThtqcfwDYY7mg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7803a85b2101" width="1" height="1" alt=""><hr><p><a href="https://blog.chatbotslife.com/introduction-to-natural-language-processing-7803a85b2101">Introduction to Natural Language Processing</a> was originally published in <a href="https://blog.chatbotslife.com/">Chatbots Life</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>