<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Fodé Diop</title>
    <description>The latest articles on Forem by Fodé Diop (@diop).</description>
    <link>https://forem.com/diop</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F369160%2Fcf4107ab-c94e-4137-8916-4e7312d57fda.jpeg</url>
      <title>Forem: Fodé Diop</title>
      <link>https://forem.com/diop</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/diop"/>
    <language>en</language>
    <item>
      <title>Predict</title>
      <dc:creator>Fodé Diop</dc:creator>
      <pubDate>Thu, 30 Apr 2020 22:59:23 +0000</pubDate>
      <link>https://forem.com/diop/predict-4bfb</link>
      <guid>https://forem.com/diop/predict-4bfb</guid>
      <description>&lt;h2&gt;
  
  
  Predict
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Category Submission: Exciting X-Factors
&lt;/h4&gt;

&lt;p&gt;Predict is a simple but powerful Machine Learning SMS API that can predict the gender of an individual from their first name.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--h7ktPqce--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/d1r5sy6c3lxepxw7guav.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h7ktPqce--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/d1r5sy6c3lxepxw7guav.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo Link
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://twilio-predict.herokuapp.com/redoc"&gt;https://twilio-predict.herokuapp.com/redoc&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Link to Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/diop/predict"&gt;https://github.com/diop/predict&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Web --&amp;gt; &lt;a href="https://twilio-predict.herokuapp.com/predict/michelle"&gt;https://twilio-predict.herokuapp.com/predict/michelle&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;SMS --&amp;gt; &lt;a href="https://twilio-predict.herokuapp.com/hook"&gt;https://twilio-predict.herokuapp.com/hook&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Software Requirement
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.7 or later&lt;/li&gt;
&lt;li&gt;&lt;a href="https://fastapi.tiangolo.com/"&gt;FastAPI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scikit-learn.org/stable/"&gt;scikit-learn&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jupyter.org/"&gt;Jupyter Notebook&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A Twilio account - &lt;a href="https://www.twilio.com/try-twilio"&gt;sign up&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  API Documentation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://twilio-predict.herokuapp.com/redoc"&gt;FastAPI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://twilio-predict.herokuapp.com/docs"&gt;Swagger&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I built it (what's the stack? did I run into issues or discover something new along the way?)
&lt;/h2&gt;

&lt;p&gt;As I mentioned in my &lt;a href="https://dev.to/diop/democratizing-access-to-artificial-intelligence-56jj"&gt;previous post&lt;/a&gt;, SMS is a great equalizer when it comes to democratizing access to artificial intelligence. My idea was to build a  Machine Learning model and be able to serve it via SMS as a proof of concept. &lt;br&gt;
With SMS one does not need an internet connection or powerful mobile phones to have access to life-changing services. Only a cellular connection will suffice. What if we can leverage that basic text message infrastructure to empower the people who need it the most, and give them access to intelligence augmented services? Because then all of a sudden a farmer in a remote area can text a photo of his crop to get diagnosis or prediction on the crop's health. Somewhere else, in a remote area, a nurse can text the photo of skin leisure and get diagnostic on that particular disease. The possibilities are endless!&lt;/p&gt;

&lt;p&gt;In this hackathon, I wanted to focus on the problem-solving aspects of SMS because most people who live in the developed world have no idea what it's like to live without adequate internet access.&lt;/p&gt;

&lt;p&gt;There were 3 parts to my process. The first step was to gather the dataset of names, male and female. The second step was to do some data analysis and make sure that the dataset did not have any missing or duplicated values. I also needed to check if the dataset was balanced as well, meaning that I had a good even ratio of female names to males ones, not to introduce some biases in the machine learning model. Finally, the third step was to build the model and deploy it so that the Twilio client could consume it. &lt;/p&gt;

&lt;p&gt;This process is almost typical for any machine learning model that needs to be deployed to production. Let's help make the world a better place! &lt;/p&gt;

</description>
      <category>twiliohackathon</category>
    </item>
    <item>
      <title>Democratizing Access to Artificial Intelligence</title>
      <dc:creator>Fodé Diop</dc:creator>
      <pubDate>Fri, 24 Apr 2020 01:14:12 +0000</pubDate>
      <link>https://forem.com/diop/democratizing-access-to-artificial-intelligence-56jj</link>
      <guid>https://forem.com/diop/democratizing-access-to-artificial-intelligence-56jj</guid>
      <description>&lt;p&gt;Hello, Twilio hackers! I'm a little late to the party, but there's still a week left in the hackathon. So why not put a submission in? &lt;/p&gt;

&lt;p&gt;While I was traveling to visit my family in Sénégal, West Africa, the whole Covid-19 mess happened. Instead of sitting idle and not do anything, I decided to do a Machine Learning bootcamp at &lt;a href="https://www.vivadata.org"&gt;Vivadata&lt;/a&gt; Dakar cohort and finally add some artificial intelligence to my arsenal. Boy, I'm glad I did!&lt;/p&gt;

&lt;p&gt;Professor Andrew Ng was famously quoted for saying "Artificial Intelligence is the new electricity.". It's going to affect and improve every aspect of our lives. But access to this nascent and game-changing technology is fairly limited. It's still very specialized knowledge. What can we do to get it into the hands of the people who need it the most, like here in West Africa?&lt;/p&gt;

&lt;p&gt;SMS is a great equalizer. You don't need the internet (only cellular connection is enough), and you certainly do not need a fancy super powerful phone. The idea is to build a simple enough API endpoint to serve Machine Learning models, then leverage the Twilio system to allow for any participants to get results back by sending messages to a specified Twilio phone number. I've seen some seemingly working prototypes out there, but they work like black boxes. We don't really know how they work. &lt;/p&gt;

&lt;p&gt;My goal with this hackathon is to utilize the Machine Learning knowledge I've recently acquired, to build an intelligent SMS system prototype from scratch and to open source it. Since there isn't much time left, let's get to work. &lt;/p&gt;

&lt;p&gt;Happy hacking!&lt;/p&gt;

&lt;p&gt;Poster Photo by &lt;a href="https://unsplash.com/@trevcole"&gt;Trevor Cole&lt;/a&gt; on &lt;a href="https://unsplash.com/"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;

</description>
      <category>twiliohackathon</category>
      <category>machinelearning</category>
      <category>datascience</category>
      <category>africa</category>
    </item>
  </channel>
</rss>
