<?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 Emmanuel Oludare on Medium]]></title>
        <description><![CDATA[Stories by Emmanuel Oludare on Medium]]></description>
        <link>https://medium.com/@emmapraise?source=rss-d1888268c4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wGjGIDL896otLuF0P9yeBQ.jpeg</url>
            <title>Stories by Emmanuel Oludare on Medium</title>
            <link>https://medium.com/@emmapraise?source=rss-d1888268c4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:19:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@emmapraise/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[Random Forest Algorithm: How it works and Benefit]]></title>
            <link>https://medium.com/analytics-vidhya/random-forest-algorithm-how-it-works-and-benefit-5ae40aab6ae0?source=rss-d1888268c4------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ae40aab6ae0</guid>
            <category><![CDATA[random-forest]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Emmanuel Oludare]]></dc:creator>
            <pubDate>Fri, 27 Nov 2020 12:12:13 GMT</pubDate>
            <atom:updated>2020-11-29T06:58:36.016Z</atom:updated>
            <content:encoded><![CDATA[<h3>Random Forest: How it Work and Benefit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R2UCDtmQvhY8N6ha" /><figcaption>Photo by <a href="https://unsplash.com/@michaelbenz?utm_source=medium&amp;utm_medium=referral">Michael Benz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A big part of machine learning is classification — we want to know what class or group an observation belongs to. The ability to precisely classify observations is extremely valuable for various business applications like predicting whether a particular user will buy a product or forecasting whether a given loan will default or not.</p><p>Data science provides a plethora of classification algorithms such as logistic regression, support vector machine, naive Bayes classifier, and decision trees. But near the top of the classifier hierarchy is the random forest classifier.</p><p>In this post, we will examine how Random Forests algorithm works, and how I am so fascinated by the algorithm. My favourite way of explaining this algorithm is the way a company hires a candidate through multiple rounds of interviews.</p><p>Let’s say, you applied for the post of Data Analyst at Amazon. Now like most of the companies, you don’t just have one round of interview. You have multiple rounds of interviews. Each one of these interviews is chaired by independent panels. Each panel assesses the candidate separately and independently. Generally, even the questions asked in these interviews differ from each other.</p><p>The reason we have a panel of interviews is that we assume a committee of people generally takes better decision than a single individual. Now, this committee is not any collection of people. We make sure that the interview panel is a little diversified in terms of topics to be covered in each interview, the type of questions asked, and many other details. You don’t go about asking the same question in each round of interviews.</p><p>After having all the rounds of interviews, the final call whether to select or reject the candidate is based on the majority of the decision from each panel. If out of 5 panels of interviewers, 3 recommends a hire and two against a hire, we tend to go ahead with selecting the candidate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*i0o8mjFfCn-uD79-F1Cqkw.png" /></figure><p>There are two keywords here — <strong>Random</strong> and <strong>Forests</strong>. Random forest or random decision forest are collections of decision trees. From the word forest, collections of trees, so is random forest is a collection of many decision trees say 100 of them.</p><h3><strong>Why is it called Random?</strong></h3><p>Assuming we have a dataset of 1,000 rows and 30 columns. There are two levels of randomness in this algorithm:</p><ul><li><strong>At row level</strong>: Each of these decision trees gets a random sample of the training data (say 10%) i.e. each of these trees will be trained independently on 100 randomly chosen rows out of 1,000 rows of data. Keep in mind that each of these decision trees is getting trained on 100 randomly chosen rows from the dataset i.e they are different from each other in terms of predictions.</li><li><strong>At column level</strong>: The second level of randomness is introduced at the column level. Not all the columns are passed into training each of the decision trees. Say we want only 10% of columns to be sent to each tree. This means a randomly selected 3 column will be sent to each tree. So for the first decision tree, maybe column C1, C2 and C4 were chosen. The next DT will have C4, C5, C10 as chosen columns and so on.</li></ul><p>Let me draw an analogy. Let us now understand how the interview selection process resembles a random forest algorithm. Each panel in the interview process is actually a decision tree. Each panel gives a result whether the candidate is a pass or fail and then a majority of these results is declared as final. Say there were 5 panels, 3 said yes and 2 said no. The final verdict will be yes.</p><p>Something similar happens in the random forest as well. The results from each of the tree are taken and the final result is declared accordingly. Voting and averaging is used to predict in case of classification and regression respectively.</p><h3>Drawbacks of Random forests</h3><ol><li><strong>Random forests don’t train well on smaller datasets</strong> as it fails to pick on the pattern. To simplify, say we know that 1 pen costs $1, 2 pens cost $2, 3 pens cost $6. In this case, linear regression will easily estimate the cost of 4 pens but random forests will fail to come up with a good estimate.</li><li><strong>There is a problem of interpretability with random forest.</strong> You can’t see or understand the relationship between the response and the independent variables. Understand that random forest is a predictive tool and not a descriptive tool. You get variable importance but this may not suffice in many analysis of interests where the objective might be to see the relationship between response and the independent features.</li><li>The <strong>time taken to train random forests</strong> may sometimes be too huge as you train multiple decision trees. Also, in the case of a categorical variable, the time complexity increases exponentially.</li><li>In the case of a regression problem, <strong>the range of values response variable can take</strong> is determined by the values already available in the training dataset. Unlike linear regression, decision trees and hence random forest can’t take values outside the training data.</li></ol><h3>Benefits of random forest</h3><ol><li>Since we are using multiple decision trees, <strong>the bias remains the same as that of a single decision tree</strong>. However, the variance decreases and thus we decrease the chances of overfitting.</li><li>When all you care about is the predictions and <strong>want a quick and dirty way out</strong>, random forest comes to the rescue. You don’t have to worry much about the assumptions of the model or linearity in the dataset.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ae40aab6ae0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/random-forest-algorithm-how-it-works-and-benefit-5ae40aab6ae0">Random Forest Algorithm: How it works and Benefit</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Twitter Sentiment Analysis and Visualization Using Naive Bayes Analyzer]]></title>
            <link>https://medium.com/swlh/twitter-sentiment-analysis-and-visualization-using-naive-bayes-analyzer-ce4dfc11f38c?source=rss-d1888268c4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce4dfc11f38c</guid>
            <category><![CDATA[naive-bayes]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[sentiment]]></category>
            <category><![CDATA[twitter]]></category>
            <dc:creator><![CDATA[Emmanuel Oludare]]></dc:creator>
            <pubDate>Fri, 20 Nov 2020 21:33:11 GMT</pubDate>
            <atom:updated>2020-11-27T15:59:34.576Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ky0uMWReeWO0qW4Z" /><figcaption>Photo by <a href="https://unsplash.com/@purzlbaum?utm_source=medium&amp;utm_medium=referral">🇨🇭 Claudio Schwarz | @purzlbaum</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>What is Sentiment Analysis?</h3><p>A process of computationally identifying and categorizing emotions and opinions expressed in a piece of text, especially in order to determine whether the writer’s attitude towards a particular topic, product, etc. is positive, negative, or neutral. In layman’s terms, we can think of sentiment analysis as using machines to interpret the underlying meaning of a body of the text.</p><p>Some of the real-world applications of sentiment analysis are Social Media monitoring (how are people reacting to certain things on social media), Marketing (if people are liking your product or not by analysing product reviews), Political analysis (which politician is more popular among the majority of people), among many others.</p><h3>Why use Twitter to get Data?</h3><p>Twitter is a great source of collecting and analysing thousands of diverse opinions and emotions expressed by real people all over the world on a diverse range of topics every single second of every single day. It also a place where data generated by real people can be gathered together.</p><h3>Getting started</h3><p>Firstly, you obviously need a PC with Python (a high-level, general-purpose programming language.) installed. You definitely need a text editor installed on your machine.</p><h3>Sign Up for Twitter API</h3><p>In other to get tweet by people we need access to Twitter API. We will then be provided with API keys (consumer and access). To sign up</p><p><a href="https://developer.twitter.com/en/apply/user">https://developer.twitter.com/en/apply/user</a></p><p>Note: if it’s your first time to apply for Twitter API it might few days for approval.</p><p>If you already have access to it, you have to create an app in Twitter via</p><p><a href="https://apps.twitter.com/app/new">https://apps.twitter.com/app/new</a></p><p>You should have a page like this. We don’t have a website in place, so your description and website can be whatever you want.</p><p>You’ll be given your consumer keys and there is a button below to generate access tokens. These tokens are the way for your program to send requests to a server. Provided the key is received as legitimate, the request is completed and the server returns a response matching your query. Place the keys at the beginning of your code and try to print out some of your results.</p><h3>Getting your Access Keys</h3><p>Before we can pull tweets we must use our access keys. To gain access to these keys, go to <a href="https://apps.twitter.com/app/new">https://apps.twitter.com</a> and locate the app created earlier and click on <strong>Details</strong>.</p><p>Click the <strong>Keys and tokens </strong>tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*JW4WOXasV8O_LdGD.png" /></figure><p>If this is your first time using this project, choose under Access Token choose to <strong>generate API keys</strong>.</p><h3>Installing our Libraries</h3><p>We will be using just two libraries; which are <strong>tweepy</strong> and <strong>textblob</strong>.</p><p>Tweepy is an easy-to-use Python library for accessing the Twitter API and Textblob is a library to process textual data and we will use it to measure the sentiment of our tweets. The installation process is fairly simple — use pip</p><h3>Coding</h3><p>We import our libraries first</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6hWWIcBWEo_YrPZU.png" /></figure><p>Next, we need to authenticate our program with the Twitter API. If you go back to your Twitter Application and head over to “Keys and Access Tokens” tab, you will see these four entities (which I have screened out) that you will need to import in your script to create your authentication channel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RPn7QiE59x7XSB0Y.png" /></figure><p>We created four variables and assign our tokens and keys to them.</p><p>We need to pass our consumer key and consumer secret into the tweepy library method called <strong>OAuthHandler</strong></p><p>Next, we will use the <strong>OAuthHandler</strong> method written inside the tweepy library and pass our consumer key and consumer secret as the parameters. For our project, we don’t need to know the details of this method. Let’s just say, tweepy uses the method to perform its internal calculations. We then call the <strong>set_access_token</strong> method of the <strong>auth</strong> variable and pass our access token and access token secret as arguments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VhLhB70olTtK0fQn.png" /></figure><p>After that, we create a magical variable that will give us access to all the API services we will need for the project. We will call it <strong>API</strong> and assign the API method of tweepy which takes only one argument — <strong>auth</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F4UYZx05hCyzEdz_.png" /></figure><p>Now that we have established our access to the Twitter API, we can start doing a bunch of things. Let’s search for tweets.</p><p>So, let’s search for a tweet on the President of Nigeria, Muhammadu Buhari. His Twitter handle is Mbuhari.</p><p>So we will basically need to create a query and assign it Mbuhari so that our program looks for all the tweets talking about Mbuhari and fetches them for us. We can also assign the upper limit of the maximum number of tweets we want our program to stop at, how about we go with a hundred!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KQd067_lfzFXZrV-.png" /></figure><p>Tweepy has a built-in object called <strong>Cursor </strong>which iterates through timelines, user lists, direct messages, etc. which makes the process of traversing through pagination easier. Through the Cursor of our tweepy, we will pass our API’s search method and the query to basically tell it what to look for, and additionally, tell our program how many items (tweets) to find. We will assign all these to our variable</p><p><strong>public_tweets</strong> and create an empty list (<strong>tweet_sentiment</strong>) which will hold a sentiment of our tweet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eI6CgATf8Ihcx-QO.png" /></figure><p>We are almost done. To print all the tweets, we need to write a simple for-loop. I implemented two additional filters within the for-loop to only get tweets which are in English and exclude all the retweets.</p><p>To calculate the sentiment of each tweet as we fetch them we will use TextBlob. TextBlob has a method called <strong>sentiment </strong>which analyses the text that is passed through it and calculates its Classification. We will create a variable analysis and assign it the tweets passed through TextBlob. We can then call the sentiment method and print them with our tweets. Then we append each sentiment to our list <strong>tweet_sentiment</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UYQcPCLfbODmGOvp.png" /></figure><p>You should have something like this. You will see that each tweet has been classified either as a positive tweet or a negative tweet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*NtPxAlAHuHXoeHsY.png" /></figure><p>We then create a dictionary, <strong>data</strong>, then pass the list <strong>tweet_sentiment</strong> into it as a value and <strong>Tweet</strong> as a key.</p><p>We then convert the dictionary into a dataframe using the pandas <strong>DataFrame</strong> method, then assign it to <strong>data</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mJ9pa2S3uUXkSDfs.png" /></figure><p>To make a visualization of the sentiment generated we will be using seaborn imported above. We will be creating a bar chart of the sentiment using Seaborn.</p><p>Seaborn has a function <strong>set_style</strong> which is used in styling your chart, I am using <strong>darkgrid</strong> as my style (You can read more about seaborn later). Now that we have our dataframe, <strong>data</strong>, which has column <strong>Tweet</strong> then we will plot our bar chart based on that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RTqmv2-yrmFQJYtn.png" /></figure><p>If you followed the procedures correctly, you should have something like this. From the graph below we can see that we have a higher per cent of positive tweets to negative tweets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/0*rYzIT_-e9atVUhAz.png" /></figure><p>Application</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce4dfc11f38c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/twitter-sentiment-analysis-and-visualization-using-naive-bayes-analyzer-ce4dfc11f38c">Twitter Sentiment Analysis and Visualization Using Naive Bayes Analyzer</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[Deploying Your Machine Learning Model as a REST API Using Flask]]></title>
            <link>https://medium.com/analytics-vidhya/deploying-your-machine-learning-model-as-a-rest-api-using-flask-c2e6a0b574f5?source=rss-d1888268c4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2e6a0b574f5</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Emmanuel Oludare]]></dc:creator>
            <pubDate>Sat, 26 Jan 2019 11:22:50 GMT</pubDate>
            <atom:updated>2020-12-03T08:26:07.302Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kxgDotilGf64NxG0" /><figcaption>Photo by <a href="https://unsplash.com/@cdr6934?utm_source=medium&amp;utm_medium=referral">Chris Ried</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>There are thousands of online courses which teach you how to build and train a machine learning model or deep neural network, many of these tutorials end with you just training and building the model alone. This, however, ends you having a model file on your local computer, which isn’t the end of the story: the model needs to be deployed in order to be used by the clients or end-users.</p><p>As a Web developer and data scientist, I have a desire to build web apps to showcase my work. As much as I like to design the front-end, it becomes very overwhelming to take both machine learning and web development. So, I had to find a solution that could easily integrate my machine learning models with other developers who could build a robust web app better than I can.</p><p>By building a REST API for my model, I could keep my code separate from other developers. There is a clear division of labour here which is nice for defining responsibilities and prevents me from directly blocking teammates who are not involved with the machine learning aspect of the project. Another advantage is that my model can be used by multiple developers working on different platforms, such as web or mobile.</p><h3>About Flask</h3><p><a href="http://flask.pocoo.org/">Flask</a> is a micro web framework for Python. It is called a micro framework because it does not require particular tools or libraries. While you would not guess this looking at its (simplistic) overview page, it is for example the main API technology of Pinterest. You can use a Flask web service to create an API call which can be used by the front-end, or even a full-on web application.</p><p>A very simple flask app would look like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/63eaf55149ef4b5e9380f981fd376e11/href">https://medium.com/media/63eaf55149ef4b5e9380f981fd376e11/href</a></iframe><p>In this article, I will build a simple Scikit-Learn model and deploy it as a REST API using <a href="https://flask-restful.readthedocs.io/en/latest/">Flask RESTful</a>. This article is intended especially for data scientists who do not have an extensive computer science background.</p><p>It can be installed with the terminal using pip</p><pre>pip install flask</pre><h3>Getting the Dataset</h3><p>In this article, I am using a <a href="https://archive.ics.uci.edu/ml/datasets/YouTube+Spam+Collection">YouTube Spam Collection Data Set</a>, it is a public dataset of comments collected for spam research. It has five datasets composed by 1,956 real messages extracted from five videos that were among the 10 most viewed on the collection period. I will be using just one out of the five datasets which is Youtube01-Psy.csv</p><h3>Setting up your environment</h3><p>I created a new file and save it as <strong>app.py</strong></p><p>I then created two folders (<strong>templates</strong> and <strong>static</strong> )alongside the file app.py</p><p>Then inside the folder static created I created another folder called CSS, which houses all our CSS files (<strong>style.css</strong>).</p><p>a little overview of the file structure:</p><pre>├── app.py  <strong># Flask REST API script</strong><br>└── data/<br>    └── Youtube01-Psy.csv<strong># data from UCI Machine learning Repository </strong><br>├── templates<br>      ├── home.html<br>      └── result.html<br>└── static<br>    └── CSS<br>         └── style.css</pre><h3>Import Libraries</h3><p>The code below contains our necessary libraries needed for the task</p><pre>from flask import Flask, render_template,url_for,request<br>import pandas as pd<br>import pickle<br>from sklearn.feature_extraction.text import CountVectorizer<br>from sklearn.naive_bayes import MultinomialNB<br>from sklearn.externals import joblib</pre><h3>Initialize The App</h3><pre>app = Flask(__name__)</pre><pre>#Machine Learning code goes here</pre><pre>if __name__ == &#39;__main__&#39;:<br> app.run(debug=True)</pre><p>Building the App</p><p>Creating the homepage</p><p>We need to create an HTML file in the templates folder, this is will be our homepage. I save mine as <strong>home.html</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fab635adf1e4182a8172ac069fd43963/href">https://medium.com/media/fab635adf1e4182a8172ac069fd43963/href</a></iframe><p>Then I also update <strong>app.py</strong></p><pre><a href="http://twitter.com/app"><br>@app</a>.route(&#39;/&#39;)<br>def home():<br> return render_template(&#39;home.html&#39;)</pre><p>Creating the Result Web Page</p><p>I created an HTML file which is going to display the answer to the prediction if it a spam or not. I saved it with <strong>result.html</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aef18aff0eeff66ea974a5c4117e04bb/href">https://medium.com/media/aef18aff0eeff66ea974a5c4117e04bb/href</a></iframe><p>I then updated <strong>app.py</strong> with another function decorator having the model inside.</p><pre><a href="http://twitter.com/app">@app</a>.route(&#39;/predict&#39;, methods = [&#39;POST&#39;])<br>def predict():<br> df = pd.read_csv(&quot;data/Youtube01-Psy.csv&quot;)<br> df_data = df[[&#39;CONTENT&#39;, &#39;CLASS&#39;]]<br> # Features and Labels<br> df_x = df_data[&#39;CONTENT&#39;]<br> df_y = df_data.CLASS<br> #Extract the features with countVectorizer<br> corpus = df_x<br> cv = CountVectorizer()<br> X = cv.fit_transform(corpus)<br> from sklearn.model_selection import train_test_split</pre><pre>X_train, X_test, y_train, y_test = train_test_split(X, df_y, test_size = 0.33, random_state = 42)</pre><pre>#Navie Bayes<br> clf = MultinomialNB()<br> clf.fit(X_train, y_train)<br> clf.score(X_test, y_test)</pre><pre>#Save Model<br> joblib.dump(clf, &#39;model.pkl&#39;)<br> print(&quot;Model dumped!&quot;)</pre><pre>#ytb_model = open(&#39;spam_model.pkl&#39;, &#39;rb&#39;)<br> clf = joblib.load(&#39;model.pkl&#39;)</pre><pre>if request.method == &#39;POST&#39;:<br>  comment = request.form[&#39;comment&#39;]<br>  data = [comment]<br>  vect = cv.transform(data).toarray()<br>  my_prediction = clf.predict(vect)</pre><pre>return render_template(&#39;result.html&#39;, prediction = my_prediction)</pre><p>Here is the full code</p><p><strong>App.py</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2bf123c1c7becf232ce14c351a8df940/href">https://medium.com/media/2bf123c1c7becf232ce14c351a8df940/href</a></iframe><p>Run App.py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*vWGbJCkIGwlvsXIJrfnSYg.png" /></figure><p>Our flask server is running on <a href="http://127.0.0.1:500/">http://127.0.0.1:500/</a></p><p>This is how it looks on a web browser:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6D37bvD3a9fhcek7lCTlWw.png" /></figure><p>Below is the result of the comment entered into it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*mvIaLRK4-y1rObR_uV3FnQ.png" /></figure><p>Get the full code <a href="https://github.com/emmapraise/deploying-ml-model-using-flask">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2e6a0b574f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/deploying-your-machine-learning-model-as-a-rest-api-using-flask-c2e6a0b574f5">Deploying Your Machine Learning Model as a REST API Using Flask</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>