<?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 Jayesh on Medium]]></title>
        <description><![CDATA[Stories by Jayesh on Medium]]></description>
        <link>https://medium.com/@jayeshmotog?source=rss-4a3c68a1ff8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Q7DIIlGWYOkVYyNp.jpg</url>
            <title>Stories by Jayesh on Medium</title>
            <link>https://medium.com/@jayeshmotog?source=rss-4a3c68a1ff8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 00:47:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jayeshmotog/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[Decision Tree Regression]]></title>
            <link>https://medium.com/swlh/decision-tree-regression-6f746a03f3fe?source=rss-4a3c68a1ff8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f746a03f3fe</guid>
            <category><![CDATA[decision-tree]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jayesh]]></dc:creator>
            <pubDate>Fri, 07 Aug 2020 11:07:27 GMT</pubDate>
            <atom:updated>2020-08-07T17:52:52.185Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/724/0*6kPhw8lXQAZUhuEW" /></figure><h4>- A quickie: All you need to know about Decision Tree Regression as a beginner</h4><p>You might have come across Linear Regression , Multiple Regression and Polynomial Regression Models. Furthermore, we have many other Regression models in Machine Learning, one of which is <strong><em>Decision Tree Regression</em></strong>. The decision tree model is very good at handling tabular data with numerical features, or categorical features with fewer than hundreds of categories. Unlike linear models, decision trees are able to capture non-linear interaction between the features and the target.</p><p>Here<strong> x1</strong> and <strong>x2 </strong>are<strong> independent variables </strong>and <strong>y </strong>is called the <strong>dependent variable</strong>. For example, if we want to predict the housing costs of different localities, we may take x1 as the number of bedrooms and x2 as how old the house is in years. These two dependent variables are considered to affect the pricing, “y”.</p><p>The following scatter plot shows the 2D plot of x1 and x2 and y is a third dimension, say pricing. In Decision Tree Regression first we sub-divide the plot into several splits virtually called leaves. Thus forming the so-called <strong><em>leaves</em></strong><em> of the tree</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/0*GM6S3NnDVekeJfzw" /><figcaption>Decision Tree Regression</figcaption></figure><p>The number of splits are decided by the algorithm taking into account the value of information added by making the split. Thus, a decision tree is made as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/0*I8RODK1_2tG9IC39" /><figcaption>Decision Tree</figcaption></figure><p>The average of each split is taken and it assigned to each split called as the <em>Terminal Leaf </em>of the Decision Tree. By dividing the Data into relevant splits the machine learning algorithm can more accurately predict the value of the independent variable.</p><p>A practical application for example predicting the salary of an employee can be done on Python. Taking Salary and Position Level data as dependent variables, we can calculate the predicated salary of any employee given his Position Level using Decision Tree Regression Model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/0*syr-lBht29vPjWc8" /></figure><p>The plot shows a constant value for the number of intervals which fall in a particular split. An interesting fact to note is the intuition you get when a number of such Decision Tree are simultaneously deployed. This is what is called a<strong> <em>Random Forest Regression Model</em>.</strong></p><blockquote>Written By:</blockquote><blockquote><a href="https://www.linkedin.com/in/jayesh1302/">Jayesh Kumar</a></blockquote><blockquote>3rd year, ECE</blockquote><ul><li>The information and implementation is a product of learning from the online course “<em>Machine Learning A-Z™: Hands-On Python &amp; R In Data Science”.</em></li><li>Originally posted on <a href="https://www.linkedin.com/pulse/decision-tree-regression-jayesh-kumar/">https://www.linkedin.com/pulse/decision-tree-regression-jayesh-kumar/</a> on 24th February, 2019.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f746a03f3fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/decision-tree-regression-6f746a03f3fe">Decision Tree Regression</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Classification and Regression: Are They the Same?]]></title>
            <link>https://medium.com/swlh/classification-and-regression-are-they-the-same-3fd86714daa3?source=rss-4a3c68a1ff8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fd86714daa3</guid>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[regression]]></category>
            <dc:creator><![CDATA[Jayesh]]></dc:creator>
            <pubDate>Thu, 06 Aug 2020 18:01:11 GMT</pubDate>
            <atom:updated>2020-08-07T14:59:39.265Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*K_Hfk5UaGmmv5Us9" /></figure><p>You might have come across the terms <em>Regression and Classification</em>, and might as well think they mean one and the same thing. But this is not true.</p><p>Machine Learning is subdivided largely into supervised and unsupervised. Supervised Learning is further divided into Regression and Classification. Regression deals with predicting the <strong>value </strong>of a test case given,after learning from the training set taken, whose value is continuous and Classification means <strong>categorizing </strong>data into a binary test case, say Y/N case or True/False case, learning from the training set. Thus, in classification we play with probabilities and thus predict the outcome.</p><p>For example predicting the height, weight or salary of people fall in the category of Regression. Many regression models can be used to predict these attributes. Classification on the other hand is all about whether or not an action will be performed. For example, Will the people buy a particular car or house given their salary and age, tossing of a fair coin given number of trials, will the investors invest in a specific share given their past interests; all can be classified as Yes or No problems and are examples of classification problems</p><p>In this article I will be touching upon Logistic Regression and how it is used to classify in a problem</p><h3>Logistic Regression</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/0*2LtXPtVVUrwhBRVy" /></figure><p>You must be familiar with Linear Regression given by the following formula</p><p><strong>y = b0 + b1*x</strong></p><p>Let us consider that y- axis is given by whether a person buys a car or not and x-axis is his age. You will observe that if a person is below a threshold age, he/she never buys the car. Similarly if he is above a certain age he/she always buys the car. Hence, there is a need to remove the lines intersecting the x axis and y=1 line, making it horizontal in these regions. This is where Logistic regression steps in.</p><p><em>Logistic Regression</em> for a linear model is given by the formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/0*j90LbQL4PyD1K_PV" /></figure><p><strong>ln(P/1-P) = b0 + b1* x</strong></p><p>where P is the probability of the case considered.</p><p>Hence the curve now considers a probability of 1 above a point and probability of 0 below the threshold value. This leaves us with the mid-region denoted by a <em>confusion matrix.</em></p><p>You might have come across targeted advertising on social media which often leaves you wondering if social media has been stalking you everywhere or not! This targeted advertising is also done through various Machine Learning algorithms.</p><p>For example, a car company needs to find out whether or not the population will buy an expensive luxury car, given the population age and estimated salary. Let us take the case of linear logistic regression. This can be done by dividing the data collected into training and test set as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/0*njQ5QOFvHa08nCJB" /></figure><p>In the training set the red dots represent that the population will not buy the car and green dots represent that the population will. The logistic regression algorithm will learn from the data and linearly divide the data into two categories, here they are red (will not buy) and green (will buy). Thus the algorithm decides the best fit and applies it to the test set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/0*uYrnjVT-Qn8xM_JH" /></figure><p>We can observe that the logistic regression classification model almost successfully predicts whether the population will buy the luxury car or not, given their age and estimated salary.</p><p>The outcomes and shortcomings of this model can be addressed in other regression models. This is the basic intuition about Regression and Classification.</p><blockquote><strong>Written By:</strong></blockquote><blockquote><a href="https://www.linkedin.com/in/jayesh1302/">Jayesh Kumar</a></blockquote><blockquote>3rd Year, ECE</blockquote><blockquote>MIT Manipal, India</blockquote><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/classification-regression-same-jayesh-kumar/"><em>https://www.linkedin.com</em></a><em> on February 27, 2019</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fd86714daa3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/classification-and-regression-are-they-the-same-3fd86714daa3">Classification and Regression: Are They the Same?</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 steps to create your own Chatbot]]></title>
            <link>https://medium.com/voice-tech-podcast/5-steps-to-create-your-own-chatbot-e7a096ab676a?source=rss-4a3c68a1ff8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7a096ab676a</guid>
            <category><![CDATA[alexa]]></category>
            <category><![CDATA[chatbot-development]]></category>
            <category><![CDATA[google-home]]></category>
            <category><![CDATA[chatbot-design]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Jayesh]]></dc:creator>
            <pubDate>Wed, 05 Aug 2020 06:18:19 GMT</pubDate>
            <atom:updated>2020-08-12T09:25:15.003Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fbingewith.com%2Farticle%2F%3A%3A_Generate_Audio&amp;dntp=1&amp;display_name=BingeWith&amp;url=https%3A%2F%2Fbingewith.com%2Farticle%2F%3A%3A_Generate_Audio&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=bingewith" width="480" height="110" frameborder="0" scrolling="no"><a href="https://medium.com/media/d6a9e202d4ee773dbc23199fcf6d186c/href">https://medium.com/media/d6a9e202d4ee773dbc23199fcf6d186c/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/0*M1qGcFdb7tD2soXD" /></figure><h3>Dialogflow: Chatbots made easy</h3><p>Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. Dialogflow Enterprise Edition users have access to Google Cloud Support and a service level agreement (SLA) for production deployments. Dialogflow is a framework which provides NLP / NLU (Natural Language Processing / Natural Language Understanding) services.</p><h3>Creating a basic Chatbot</h3><p>Creating your own chatbot has become an easy task, thanks to Google’s Dialogflow. You can create chatbots for tons of uses for free* using Dialogflow. Dialogflow uses Machine Learning and NLP/NLU integretion with your chatbot, and you can easily respond to common nuances of daily interactions using the chatbot</p><p><strong><em>1. Creating an agent</em></strong></p><p>For creating your own chatbot go to <a href="https://dialogflow.cloud.google.com/#/newAgent">Create new Agent</a> and name your agent as you like. This will be the name of the chatbot which you have created. Click on create and Voila! There’s your chatbot agent ready.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2qdl4C8n8AInjdSa" /></figure><p><strong><em>2. Say Hello with the bot</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8Nj0IapNejBW2H7H" /></figure><p>Open the Default Welcome intent and customize it to your liking! Open the <em>Training Phrases</em> tab and you can see the inputs on which the bot trains, you may customize the training data according to your needs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*puFdXf5IOUjJXyM1" /></figure><p>Similarly, the responses could be customized as per need, and the bot can interact further according to the follow-up intent. In the <em>Responses tab,</em> you can write text responses, create your own JSON payload, or even let Google Assistant reply for you.</p><blockquote>Build better voice apps. Get more articles &amp; interviews from voice technology experts at voicetechpodcast.com</blockquote><p>In the next section we will see how to get the name of the bot user and use it in further interactions. For this we will set-up a <em>follow-up </em>intent and switch<em> contexts </em>between the two intents i.e. default intent and the <em>Get Name</em> intent.</p><p><strong><em>3. Create an intent to get user’s name</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BduO6FSKvz7vMhEl" /></figure><p>The next step, will be to name the context (awaiting_name in this example) to that we can connect the default intent and the Get name intent successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2FkM1vK2d4guMUnW" /></figure><p>In the <em>Training phrases </em>you could add phrases commonly used to say one’s name like “My name is …” and so on. When you select the <em>Name</em> part of the phrase, you can select @sys.any:name from the drop-down and it will automatically store the name as given below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YwDUIQyJmo60N2O6" /></figure><p>Save the parameter name and value as you like.</p><p>You can change the responses accordingly. Finally, the user’s name is saved successfully on the bot.</p><p><strong><em>4. Context switching between the two intents</em></strong></p><p>As you saw, we added “awaiting_name” as the input_context in the Context tab of the Get name intent. Now we will connect the Default Welcome intent and the Get Name Intent</p><p>For this, on the context tab of the Default Welcome intent, add “awaiting_name” as the output_context and make the count to 1 to avoid unnecessary looping.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/0*FhNaxPlkdSk8tQK9" /></figure><p>And we are ready! You can test the bot via Google Assistant on the right. It will simulate the chatbot like this. You can also integrate pre-built bots with your bot but I’ll leave that to you to explore!</p><p><strong><em>5. Deploy the chatbot anywhere!</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oxWuihTTLq7M2vz5" /></figure><p>The chatbot can be integrated with Dialogflow Messenger BETA, Facebook Messenger, Slack, Viber, Twitter, Twilio IP, Twilio (Text messaging), Skype, Telegram, Kik, LINE, Cisco Spark and Amazon Alexa and so on.</p><p>Go to integrations tab on the left menu and select wherever you want to deploy it</p><p>And the chatbot is ready to use! 5 steps to make your own basic chatbot. Do reach out to me for more!</p><blockquote>Feedback and suggestions are welcome!</blockquote><blockquote>Written by:</blockquote><blockquote>Jayesh Kumar</blockquote><blockquote>Contact me on my <a href="https://www.linkedin.com/in/jayesh1302/">LinkedIn profile</a></blockquote><h3>Something just for you</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Flinks.collect.chat%2F5d8c870c8705ce12e45fb7d0&amp;dntp=1&amp;display_name=Collect.chat&amp;url=https%3A%2F%2Flinks.collect.chat%2F5d8c870c8705ce12e45fb7d0&amp;image=https%3A%2F%2Fcollect.chat%2Fassets%2Fimages%2Flogo-green.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=collect" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/7f5cb45fd785102f7af729c560e2de3f/href">https://medium.com/media/7f5cb45fd785102f7af729c560e2de3f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7a096ab676a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/voice-tech-podcast/5-steps-to-create-your-own-chatbot-e7a096ab676a">5 steps to create your own Chatbot</a> was originally published in <a href="https://medium.com/voice-tech-podcast">Voice Tech Podcast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>