<?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 Abdu Issa on Medium]]></title>
        <description><![CDATA[Stories by Abdu Issa on Medium]]></description>
        <link>https://medium.com/@abdu1993?source=rss-7fc985f16892------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9NjCVtIrrow15tPPFk33mw@2x.jpeg</url>
            <title>Stories by Abdu Issa on Medium</title>
            <link>https://medium.com/@abdu1993?source=rss-7fc985f16892------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:45:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdu1993/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[Rejoice — the iPad thinks we are logisticians on Twitter]]></title>
            <link>https://medium.com/@abdu1993/rejoice-the-ipad-thinks-we-are-logisticians-on-twitter-81debff9101?source=rss-7fc985f16892------2</link>
            <guid isPermaLink="false">https://medium.com/p/81debff9101</guid>
            <category><![CDATA[twitter]]></category>
            <category><![CDATA[personality]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Abdu Issa]]></dc:creator>
            <pubDate>Sat, 20 Jul 2019 00:51:19 GMT</pubDate>
            <atom:updated>2019-07-20T16:46:21.370Z</atom:updated>
            <content:encoded><![CDATA[<h4>An AI trained to classify personalities on Twitter believes that most posters are introverted logisticians</h4><h4>What’s new?</h4><p>I spent the past several days working on a natural language processing (NLP) classifier that is trained on Myers-Briggs personality test data available on Kaggle. This dataset is a collection of posts made by humans on PersonalityCafe forum and their associated Myers-Briggs 16 personality results. 50 posts were collected from each of the 8675 people in the set. The data was used to train a neural network to classify personalities based on the content of the posts. I then connected to Twitter and downloaded 2786 tweets on various topics and classified the personality of those posters based on their tweets. The results show that the most common personality in those tweets is ISTJ — “The Logistician.” The results also show that extroverts are 75% more likely to use hashtags than not, and introverts are 22% more likely to leave the hashtag behind. It seems like either people on Twitter have managed to trick the AI into believing they are logical in their posts, or that people on Twitter truly use logic, correct or not, while posting their thoughts. All of the code is available on my github at the link below. I sprinkled in some quotes that I put into the model and the resulting personality classification throughout this post. The full table of the classifications can be found at the bottom. As usual, everything was done 100% on my iPad Pro. I don’t own a computer.</p><p><a href="https://github.com/abdu1993/personality/blob/master/personality_classification.ipynb">abdu1993/personality</a></p><blockquote>“My name is Abdu Issa. How are you today?” = ENFP — Campaigner — Enthusiastic, creative, and sociable free spirits, who can always find a reason to smile.</blockquote><h4>The model</h4><p>The first step was to connect to Kaggle and download the data using the Kaggle API. Kaggle is a website for data science competitions that companies and other organizations use to get world class data models by offering up their data as competitions to thousands of deep learning and machine learning folks. They also host a large amount of free bulk datasets for people to use on personal or team projects. The Myers Briggs dataset (link at the bottom) is one of the datasets that sparked my interest to try out some NLP classification of personalities to see if AI was up for the task. Once the data was downloaded, I used the fastai code for NLP classification in their v1 library. The base of this is the same as the “sing 4 me” app that I made and posted about earlier this year, but instead of generating text, this time I took the code one step past the language model and into an actual classifier. Once I got the data loaded, I wanted to see the skew of the personalities on the forum. The most common personalities were the 4 categories that begin with IN/EN, which according to the website 16personalities.com are the diplomat types of people. However, there was a good enough spread of data across the personality types to move forward with training a model (technically a neural network) without getting too much skew.</p><p>The next step was to tokenize the data and turn it into a text databunch for a language model. Tokenization turns the words and punctuations into individual bites and then into numbers that the machine learning algorithm can build a model upon. Luckily, the fastai databunch API has a built in tokenizer included. The important thing to note here is that the model will make distinctions based on the grammatical style of the text. For example, the model can tell if a person begins their sentences with capital letters and ends them with periods and will distinguish that person from someone who does not use capitalization and correct punctuation. The databunch was then fed into a pre-trained language model that was trained on the text of Wikipedia. What this means is that the original language model had a pretty good understanding of the english language based on the way Wikipedia is written, but then the specific text and style found in posts was used to fine tune the model to understand the way people write online.</p><blockquote>“I am the worst” = ESFP — Entertainer — Spontaneous, energetic, and enthusiastic people — life is never boring around them.</blockquote><p>After the language model learned how people typically post, a new neural network was created and fed two things: 1) the encoder (aka the brain) of the language model and 2) the original posts’ text and the personality labels associated with each post. This model was then trained to learn the text and classify it into personality types. Training this model took several hours to run and when it was all said and done, the model was 73% accurate at predicting the personality type of the training text. This is impressive because it is predicting a single category out of 16 (~6% accuracy if it was guessing randomly), with very fine lines between some of the categories (ex. is there really a big difference between INTP and INTJ)? I then wrote a function that cleaned up the prediction and outputs the resulting classification with the description of the personality from 16personalities.com. Most of the examples that are sprinkled into this article are from the classification function (some are from Twitter directly).</p><blockquote>“let’s go eat!!!” = ENTJ — Commander — Bold, imaginative, and strong willed leaders, always finding a way — or making one.</blockquote><p>With the trained classifier in hand, I then proceeded to collect data off of Twitter. In order to do this, I needed to sign up for a Twitter API key. Since there is a big potential for abuse by spam bots, Twitter limits the number of free calls that an API key can make before it cuts out. So once I had my key in hand, I wanted to get in, download a bunch of data, then get out, without having to re-query Twitter and use up all my calls. I did this using a nice library called Twython. This library is good for connecting to the Twitter API and downloading or posting tweets. I refined its output my writing a little function that turns the JSON response that Twitter sends back into a Pandas dataframe, so that I could more easily organize and play with the Tweets. The terms I used for the search were: taylor swift, beyonce, trump, obama, iran, oil, life is good, nasa, baby, cats, dogs, vegan, meat, and TBH — all the terms were searched both with and without a hashtag in front to see if there was an effect on the personality class for people who do and don’t use hashtags. I then used the classification function to get the personalities behind each tweet. All in all, the personalities behind 2786 tweets were classified.</p><h4>What the AI thinks</h4><p>The posts are clustered around the 4 IS/ES categories which 16personalities.com stays are the sentinel personality types. It turns out that the AI thinks most people on Twitter are on the introverted side. 74% of the posts were classified as introverted vs 26% as extroverted. It also seems to think that people who tweet “life is good” tend to be more ENFP “campaigner ” while people who tweet about dogs are more INFP “mediator.” By far the most common personality is ISTJ “logistician” with 45% of the classifications. This surprised me, since Twitter is famously non-sensical, so I checked the original training data again to see if there was a skew, but it turns out only 2% of the original training data was classified as ISTJ. So the model saw something similar in the behavior and/or structure of most tweets and thought that there was some logic behind them — or at least some semblance of logic. So, have we succeeded in tricking the machine into believing we are “logical and fact-minded individuals, whose reliability cannot be doubted?” Or are we groomed to post our thoughts and opinions in a way that looks logical, whether they are or not? I will leave that for you to answer.</p><blockquote>“Taylor swift as a cat. The role she was literally born to play.” = ISFP — Adventurer — Flexible and charming artists, always ready to explore and experience something new.</blockquote><p>The other question I had about this data was about the relationship between hashtag usage and personalities. Overall, hashtags seem to be used as much as not, with 50% of tweets including a hashtag and 50% not (this is by design of the search). As I mentioned in the beginning, extroverts are 75% more likely to use hashtags than not, while introverts are 22% more likely to leave the hashtags behind. The people who are most likely to use hashtags are the ESTP “entrepreneur” folks while the ones who are least likely to use it are the ISTJ “logistician” crowd. Maybe entrepreneurs are more adept at getting things in front of more eyes (hashtags can trend) while logisticians just want to get their thoughts out there. Again, I will leave that for you to answer.</p><p>To wrap it all up, building this NLP classifier was fun, and it was interesting to see how the machine learned the personalities of people on Twitter. I do think that there is a difference between the personality we use to post online and the personality we have in real life. People tend to behave differently online than they do in real life , and overall we tend to behave more similarly online (whether that’s good or bad). The AI is smart enough to figure that out. Some of the things that can be done with NLP personality classification going forward include turning the trained classifier into a web-app that people can input text in and get instant results based on what they typed and how they typed it. NLP personality classification can also be extended to classify longer bodies of text such as blogs, or the combined posts of a single user’s social media accounts. Finally, there is potential to incorporate NLP personality classification into advertising models to better target people based on their posting personality. What is certain is that AI can be taught how we speak online — the next challenge will be how that data will be used.</p><blockquote>“Unsubscribed ✨ should’ve done this a long while ago tbh” = ISTJ — Logistician — Practical and fact-minded individuals, whose reliability cannot be doubted.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*ASCLbmBItiK70kYPM7pA0w@2x.jpeg" /></figure><ul><li><a href="https://www.kaggle.com/datasnaek/mbti-type">(MBTI) Myers-Briggs Personality Type Dataset</a></li><li><a href="https://www.16personalities.com/personality-types">Personality Types</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81debff9101" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The iPad Learned Decline Curves]]></title>
            <link>https://medium.com/@abdu1993/the-ipad-learned-decline-curves-9f6b8048c763?source=rss-7fc985f16892------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f6b8048c763</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[ipad]]></category>
            <category><![CDATA[petroleum-engineering]]></category>
            <category><![CDATA[oil]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Abdu Issa]]></dc:creator>
            <pubDate>Sun, 30 Jun 2019 17:47:32 GMT</pubDate>
            <atom:updated>2019-07-01T02:03:08.902Z</atom:updated>
            <content:encoded><![CDATA[<h4>Sorting counties &amp; operators by decline rate with Python</h4><h4>What’s new?</h4><p>I recently stumbled upon the National Oil &amp; Gas Gateway and started playing around with the production data. This website is a partnership between the Ground Water Protection Council (GWPC), the Energy Information Administration (EIA), and the Office of Fossil Energy. It has production, injection, and completion data on about 1.1 million wells across 11 states (nothing in the Permian Basin unfortunately). I could not find a python plugin to download this data and the website doesn’t have a good api format for downloading data selectively in python, so I wrote a program that downloads the data, combs through it, fits a decline curve, and outputs the results by operator and county sorted by B-factor. All the code that I wrote is available on my GitHub (link below). The code can be broken down and used for the individual tasks of downloading the gateway data and fitting decline curves to other production data for personal use. This post will briefly walk though the notebook with the code and display the results. Everything on this post was done 100% iPad Pro. I don’t own a computer.</p><p><a href="https://github.com/abdu1993/nog_prod_data/blob/master/Public_Prod_1.ipynb">abdu1993/nog_prod_data</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*atpCUWtTheCrGr5ZzZKTmA@2x.jpeg" /><figcaption>Selected operators and B-factor from Arps hyperbolic decline equation</figcaption></figure><h4>Getting and cleaning the data — necessary boredom</h4><p>The National Oil &amp; Gas Gateway does not have a friendly way of querying the data using code. The only way to do it is to either download the whole database as a zip file or download each well info individually. What I did was write the code to download the zip file into my virtual Paperspace CPU machine, unzip it, and see what they gave me. The data was in several csv files divided by well info, production, injection, and completion data distributed by state to make the files ~20mb each. For example, Oklahoma had 14 production files while Arkansas had 6. I read the well info files into a Pandas dataframe and filtered out for horizontal oil &amp; gas wells. This resulted in around 20,000 wells out of the 1.1 million. I then read the production data into a separate dataframe and filtered out the api numbers to only include the ones in the horizontal well dataframe. The final steps were to left join the production data with the well type data and then delete the well information dataframe variable from memory to save up some RAM space.</p><h4>Fitting the decline curve — back to my college days</h4><p>Oil &amp; gas wells decline over time (less oil/gas comes out as you run out of stuff underground). The behavior of this decline is described by several equations, but the most famous one is the Arps/modified Arps hyperbolic equation. The equation takes the initial rate (Qi), the initial decline rate (Di/Ai), and the B-factor (shape of the decline curve) to predict what the well will produce in the future. Basically, the higher the B-factor, the steeper the decline curve for the early part of the well. For example, in an unconventional field it is not uncommon for a well to average 1000 barrels a day in the first year, then average less than 400 barrels a day in the second year (more than 60% decline). Something like this would have a high B-factor. In order to remember the Arps decline equation, I had to open up my old petroleum engineering textbooks from college (it’s been a while). What made sense to me was to see what a hyperbolic fit of the well production data would look like (hyperbolic in this case includes harmonic and exponential since the B value can be 0 or 1 according to the fit). I took the shortcut of not writing a hyperbolic to exponential function in this example simply because my target was to see the shapes of the highest declines, not to calculate reserves, and because using a consistent Df across the 11 states would penalize some wells over others. I will share my hyperbolic to exponential code (written with numpy piecewise) in a different post. Note that some of the fits have a b value greater than 1. This is not unrealistic in the unconventional shale age since the wells exhibit transient flow for much longer periods before going into boundary dominated flow, but the parameters of this fit cannot be used to calculate reserves without a bound (Df + economic limit) since the hyperbolic function is infinite at that point. The target here is to see the shape of the decline only. The monthly production data was normalized to the maximum production month which I then used as Qi. Then the wells with less than 6 months of production data were filtered out in order to have enough data points to fit a good curve. Scipy.optimize.curvefit was used to fit the Arps equation to the individual well data by finding the Ai and B values using the given Qi. I also had to write my own function to calculate the coefficient of determination (R squared) value since Scipy doesn’t have that data result available. The results for each well were then written to a final output dataframe.</p><h4>Cleaning up the results</h4><p>Before I looked at the final results, I plotted 3 relationships to filter out anything that looked funny. First was the B values verses the R squared value of the fit and dropped all the wells with less than a 0.8 (average R squared is 0.93). Second was the B values verses the Ai value to make sure there is a positive correlation between them (the steeper the decline, the more the initial nominal decline should be). Third, I plotted the B values verses the producing months to see if there was a skew in the shape of decline rates of older or newer wells (not really). And finally I filtered out counties and operators with less than 10 wells. At the end of the day, I was left with 8,736 horizontal wells that survived.</p><h4>What the results show</h4><p>The counties with the highest decline seem to be in Oklahoma along the Arkoma-Woodford and STACK plays (including the liquids rich window) in southeastern Oklahoma, the Hosston tight gas trend in Mississippi, and in the Devonian (Ohio) gas play in Kentucky. Low decline areas include the Woodford gas play in central Oklahoma, the Marcellus in New York (which is not active these days due to legislation), and the San Juan Basin gas play in southern Colorado. Amongst the operators, the data shows the ones with acreage in high declining fields may be more at risk of having higher capital intensity to maintain production. This would be a burden on an operator attempting to be free cash positive in a low commodity price environment assuming all wells were economic at the time of drilling. This same analysis can be run using other sources of data to get the same results in non participating states.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*xbqFDDclQbYrsYeRLpI2PQ@2x.jpeg" /><figcaption>Selected counties and B-factor from Arps hyperbolic decline equation</figcaption></figure><p><a href="http://www.noggateway.org/">National Oil &amp; Gas Gateway</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f6b8048c763" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sing4Me — Music Lyric Generation With Fastai]]></title>
            <link>https://medium.com/@abdu1993/sing4me-music-lyric-generation-with-fastai-bc1707b0aeac?source=rss-7fc985f16892------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc1707b0aeac</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[render]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[fastai]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <dc:creator><![CDATA[Abdu Issa]]></dc:creator>
            <pubDate>Sat, 16 Feb 2019 23:31:24 GMT</pubDate>
            <atom:updated>2019-07-14T16:50:30.831Z</atom:updated>
            <content:encoded><![CDATA[<h4>I want my iPad to be more romantic than me</h4><p>**This web app has been disabled as of 7/10/2019 to make room in the budget for newer, better things.</p><h4>Why?</h4><p>I got through lesson 4 of fastai and learned to build a natural language processing (NLP) classifier to classify labeled text. The fastai way of training this model uses a next word generator that is pre-trained with Wikipedia text, then is fine tuned with the corpus of the target dataset. This is called transfer learning, and the fastai.text module uses transfer learning to speed up training for the target corpus. When I started playing with the learner object, I became interested in the output of the fine-tuned language model. A computer that can generate text seems cool, and I wanted to see if I could train it to generate music. The initial goal here was to make a tool that could create romantic lyrics for me to pass off as my own so that I look more refined and spontaneously witty. This project bounced around several iterations until I could assemble a corpus that could consistently give a decent lyric output, and ended up with a web app that generates lyrics based on seed words. Some of the lyrics are sprinkled in as quotes throughout this post. They are equal parts deep and weird. A link to my webapp can be found at the top of this post (sing4me.onrender.com). As always, this was done 100% on iPad Pro.</p><blockquote>“how can i remember to have had some fun? would you stand back up to me? well, i’ll be back in the same old spot again”</blockquote><h4>Data Collection — Thank you Kaggle</h4><p>I got the seed data off Kaggle, the website for data science competitions that companies and other organizations use to get world class data models by offering up their data as competitions to thousands of deep learning and machine learning folks. The website is also full of datasets that people use to build / train their models on. In this case, I landed on a dataset of 500,000 song lyrics (artimous/every-song-you-have-heard-almost) downloaded from lyrics.com. Once I downloaded the files and read everything into a pandas dataframe, I zoomed through an initial fit for the data in order to see what kind of language model will come out of it. Bad idea, it turns out music is very repetitive (duh) and the initial neural network will learn that music is repetitive and give repetitive outputs. My first lyrics were “I love you oh-oh-oh-oh-oh-oh-oh-oh-oh-oh-oh-oh,” which to be fair could be a song in the billboard top 10.</p><p>Thus the preprocessing started. Several cycles of code, frustration, googling, and code, but what I landed on was that I needed to format the whole data frame as a lowercase string, then apply a function that I found on stack exchange that will read through the text and delete duplicate words (thank you sharcashmo — link at the bottom). Once the duplicate words were removed, the data frame was still full of consecutive punctuation marks like , , or , ? as a byproduct of the duplicate word removal. I didn’t want the language model to be bothered with this, so I wrote some lines to replace all duplicate punctuation marks with a single value. There was also the issue of lyrics referencing parts of songs in this format; “[chorus]” or “(guitar)”, so I used some regular expressions to find those values and erase them completely. Once the data was cleaned up, I saved the dataframe in a pickle for easy loading later.</p><p>After the second fit of all 500,000 songs, I noticed that the neural network didn’t work as well at generating coherent text compared to smaller datasets. This lead me to chose certain artists with somewhat similar lyrics in their songs so that the model learns the general thyme of predictions and generating text. The artists chosen were: Coldplay, Taylor Swift, Selena Gomez, Sugarland, Lorde, Lana Del Rey, Bob Dylan, Keane, Onerepublic, Snow PAtrol, Imagine Dragons, The Fray, Ed Sheeran, Shawn Mendes, Jason Myraz, and Colbie Callait. Once the dataframe was filtered to those artists, I moved on to the final fastai preprocessing iteration.</p><p><a href="https://stackoverflow.com/questions/22065164/is-there-a-way-to-remove-duplicate-and-continuous-words-phrases-in-a-string/22065423">Is there a way to remove duplicate and continuous words/phrases in a string?</a></p><blockquote>“i love you, and i’m yours, and i’ll be right here in the middle of the night”</blockquote><h4>Fastai text — robust and easy natural language processing</h4><p>Fastai text databunch creation is pretty easy. Once I loaded the dataframe, I used the data block API to build the text databunch with the following parameters: 10% validation, marked for language model, and batch size of 64. Then the text databunch was saved in order to have the raw preprocessed data stored so that it is easy to load in future iterations. This was also necessary so that the web server has the databunch that it uses to generate the lyrics in the web app. The text databunch was then loaded with the text databunch loader and a language model learner was created. This language model learner is an RNN with an AWD LSTM architecture that is pre-trained with the wikitext 103 weights. This is a fancy way of saying it is a model that is pre-trained to predict the next word in a Wikipedia article. This pre-training makes it so that the model has an initial understanding of the English language. The theory with fastai is that transfer learning with this initial model results in a satisfactory fine tuned final model for natural language processing. Thus, the text databunch was loaded into the learner, the learning rate finder was used to determine the learning rate, and the last layer of the model was trained for 3 epochs to predict the next word of the songs that were loaded. I then unfroze all the layers of the model, found the new learning rate with the learning rate finer, then trained the model for 10 epochs until I got a satisfactory accuracy percentage (trying not to overfit).</p><p>The learn.predict method was then used to test the text generation output of the model. This resulted in some interesting sentences. I attempted to compare learn.predict to the new beam search module that is a work in progress in fastai, but I found that the results with learn.predict were more coherent for now. The future of this model is to move to beam search once the fastai implementation starts working well.</p><blockquote>“i love you as a child through the years and honey i wish i was younger than that, now you’re the one who can see the world in your arms and maybe you’ll understand, and when you see me you’ll know your love at last”</blockquote><h4>Predicting sentences — how to be less ugly</h4><p>The next step in this adventure was to get the learner to predict sentences that are coherent and not repetitive. The way I approached this problem was to play with the “temperature” value in the learn.predict options and try to find a number that works best. I found that too low of a temperature results in too much repetition (because the model still assumes that music is repetitive even after the initial preprocessing). Too high of a temperature results in sentences that don’t make any sense such as “we are again the one to .” So I decided to use a cosine annealing of the temperature value to get the best of both worlds. I wrote a while loop that starts with a temperature of 1 and then drops the temperature with a cosine function with every successive word predicted until the temperature reaches a value of 0.1. After that the cosine function increases the temperature until the end of the phrase is reached. This cosine annealing of the temperature makes it so the beginning of the sentence is more random, so the model comes up with a more varied output with each seed phrase, but then as the generated text gets longer, the model recognizes that the sentence is longer and becomes more predictable (aka more likely to predict the end of a sentence). If the lower temperature value results in a repetitive prediction of the model, the cosine function will increase the temperature back up and thus the model will become more likely to predict a more random word. I have found that cosine annealing of the temperature value is the best way to generate human like text with fastai.</p><p>The method of generation is actually a while loop that feeds the previous prediction into the learn.predict method with the different temperature, predicting 1 word at a time until it finds a stop. I designed the stops to be either a period, the third comma predicted, an xxbos (fastai tokenization of beginning of sentence), or if the last 4 words of the sentence are repeating more than once. I left all the stops and the temperature arguments in the input of the generation function so that it is customizable by future developers.</p><p>Along with the generation, the model needed to include some seed words or phrases to start out the lyric generation. I chose the following phrases that are common song lyrics for the model to chose as random seed words for it’s predictions: ‘you are’, ‘i love you’, ‘we are’, ‘how can’, ‘what if’, and ‘will you.’ The model also needed to detokenize the text from the prediction into normal english. I found a good detokenizing algorithm from Bilal Tahir’s github that he used for his Walt Whitman generator web app. I added a couple of modifications to this code related to contractions, but overall this is the best detokenizer I was able to find. Thank you Bilal. A link to my fork of Bilal’s repo on my github is below.</p><p><a href="https://github.com/abdu1993/leaves-of-ai">abdu1993/leaves-of-ai</a></p><h4>Production — sing4me.onrender.com</h4><p>Again, Bilal’s leaves-of-ai github repo was used as the base for the deployment of the webapp. I forked this repo and added my own text databunch into the app folder along with my jupyter notebook so that I can have my code displayed on my github as well. I used Bilal’s layout of the webapp with minor changes to the html so that the webpage displays a little bit differently. The L is a shoutout to my fiancé, who had to deal with a full week of non-stop talking about/working on this. Since I hardcoded the seeds for the lyric generation in my model, I took away the option for users to give their own seeds. The only reason I did this was because I found that the Render server I have setup is not fast enough to predict with some user inputs, and the deployment of this webapp is only to show the process, not to be a final product (I’m not that rich). Once the webapp was ready to go I launched on Render. This service was discussed in my flower power post. I still think Render makes life easy for developers / novices who want to focus on the python part of AI and not the front end deployment stuff. Overall, the webapp works well. The only downside is that the prediction takes a while to load up on this server. Once you use, be patient, it will take a minute to generate. Feel free to think about how cheap Abdu is while you are waiting and how he should have gotten a faster server environment. He won’t though.</p><blockquote>“how can i explain? how many times can a man walk around? how many times must a man walk down before he can hear him cry? how many deaths will it take till he sees his face? how many deaths will it take till he knows too many people have gone dry before the sun worry? many of the people that are trying to impress you have died in battle or in vain and you’re not too young to die and they’re not even men anything you don’t know is it you who left me buried in the water?”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kCOOA961RwYnnKrys4FTxg@2x.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc1707b0aeac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flower Power AI]]></title>
            <link>https://medium.com/@abdu1993/flower-power-ai-8ee553176d9a?source=rss-7fc985f16892------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ee553176d9a</guid>
            <category><![CDATA[render]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ipad]]></category>
            <category><![CDATA[fastai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Abdu Issa]]></dc:creator>
            <pubDate>Fri, 01 Feb 2019 18:46:13 GMT</pubDate>
            <atom:updated>2019-03-18T02:06:33.261Z</atom:updated>
            <content:encoded><![CDATA[<h4>Building a flower recognition web app</h4><p><a href="https://flower-1afg.onrender.com/"></a></p><p>**This web app has been disabled as of 3/17/2019 to make room in the budget for newer, better things.</p><h4>Why?</h4><p>Fortunately, my fiancé is creative enough to come up with ideas on things that look similar that a computer could help classify. We are not botanists (or at least I’m not), but I agree that a flower classifier is a cool application of the new fastai vision library. A link to my web app is available at the top of the page for anyone who has pictures of flowers and wants to know what kind they are with 97% accuracy. If you ever find yourself lost in a forest and can’t remember if Indian basket flowers grow facing north, fire up the flower classifier web app, snap a picture of the flower in front of you, and find out how to get out of your hairy situation (forget about google maps).</p><h4>Data gathering — 80% of the work, 20% of the fun</h4><p>The first step was to gather names of all the different flower types for the classifier to learn. Since I can only name about five different types of flowers on a good day, I googled around for a list of the most common flower species in Texas and found a couple courtesy of Texas A&amp;M and others. I chose the top 12 flower types (adding in some other of the most known types) and read them into Pandas. Pandas HTML reader in python read the websites and turned the tables into a dataframe. I took a shortcut and deleted the column of scientific names since a quick spot check in Google showed that there are more useful image results from the common names.</p><p>The dataframe was then turned into a formatted text to use as an argument in the “Google images download” python library (Github link at the bottom). This library is a cool tool to mass download google images for classifiers. I use this one over the fastai way of downloading images from the google URLs because the console shortcut on my iPad does not like this specific JavaScript code. It is important to note here that in order to download more than 100 images of each search item with Google images download, you must first have chromedriver installed on your machine and also point the Google images download method to the path of where chromedriver is installed. I included the link on how to download chromedriver and google chrome stable on Linux. For this classifier, I used 200 images of each of the 12 types of flowers (2400 images total).</p><h4>Training — the 10 minute classifier</h4><p>The advantage of the fastai library is it’s ease of use. Once I was done with lesson 2 (4 hours into the course, not including homework), I had the skills to train an image classifier in less than 10 minutes. My setup is the Juno app connected to a Jupyter Notebook server on my Paperspace Linux machine all running on my iPad (see my previous post “100% iPad Pro”). I loaded the data from the paths that I had Google images download to, then created a resnet50 model with size 128 pixels, and created a lerner object. Fastai version 1 now recommends an initial training method called “fit_one_cycle.” I let it run for 4 epochs. This initial training took less than 2 minutes and resulted in 89% accuracy. I then unfroze the earlier layers and used the learning rate finder to get a slice of the new learning rate ranges to train the entire model with (for this case it was 1e-5 to 2e-4). I let the learner train again for another 3 epochs until I got an accuracy of 92%.</p><p>I ran the results through the DataFormatter from top losses and used the image cleaner widget to find any images that shouldn’t belong in the training set. I ended up removing 15 images that were not of flowers from my dataset. Once that was done, I read the “cleaned.csv” file into a new data bunch object, loaded the learner, unfroze the early layers, resized the images to 256 pixels (progressive resizing helps with overfitting), and trained for another 3 epochs. This resulted in 97% accuracy. The confusion matrix showed that the I used the classification interpretation tool to plot the confusion matrix, and found that the classifier is only getting tripped up on 1 or 2 images per category. Probably better than what my brain can do. Good enough for me.</p><h4>Production — only so I can show off</h4><p>I wanted to put this trained classifier on the internet in order to have concrete evidence of my skills, and also to give people the opportunity to text me about all the images that the classifier could not recognize (hint, the list of species is on the top of the web app)! The first step is to export the trained model using learn.export() method. This saved a file called “export.pkl” in the same folder as the path for my data. The next step was for me to upload the model to Google drive. I did this with Google drive for Linux using the instructions I’ve attached at the end. At this point with Google chrome and Google drive on my Linux server on my iPad, I felt like a true computer rebel. I saved the download link to the file from my Google drive and turned link sharing on. Then it was time to upload to deploy on Render.</p><p>Render is the perfect website for this kind of deployment. The founder, Anurag Goel, is very active on the fastai forums and even helped me to get started. Fastai has a template on their Github that can be used to upload to Render (link to instructions below). Pretty simple, I forked the github repo for Jeremy’s grizzly bear v. teddy bear classifier and update the URL link to the classifier to the link where I saved the export of the trained model (with name export.pkl). I also updated the classes to the 12 types of flowers my model is trained to recognize. A note — I had trouble initially getting the repo to upload to Render when I renamed my forked repo to a different name. When I kept the same name as the original repo, everything worked fine. The final touch was to sprinkle in a little HTML and CSS updating to make my web app look and read a little bit differently than the original. Once everything was updated on my Github, all I needed to do on Render was to link the Github repo to my deployment server. The advantage of Render is that it does everything else for me. Once the project is live on Render, the final step is to show off the link to everyone by writing about it on Medium!</p><ul><li><a href="https://www.treenames.net/common_tree_names.html">A-Z List of Trees by Common Tree Names</a></li><li><a href="https://github.com/hardikvasa/google-images-download">GitHub - hardikvasa/google-images-download: Python Script to download hundreds of images from &#39;Google Images&#39;. It is a ready-to-run code!</a></li><li><a href="https://tecadmin.net/setup-selenium-chromedriver-on-ubuntu/">How to Setup Selenium with ChromeDriver on Ubuntu 18.04 &amp; 16.04 - TecAdmin</a></li><li><a href="https://course.fast.ai/deployment_render.html">Deploying on Render</a></li><li><a href="https://olivermarshall.net/how-to-upload-a-file-to-google-drive-from-the-command-line/">How to upload a file to Google Drive from the command line -</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ee553176d9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2019 Version of Fastai]]></title>
            <link>https://medium.com/@abdu1993/2019-version-of-fast-ai-2a3c9d3ce683?source=rss-7fc985f16892------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a3c9d3ce683</guid>
            <category><![CDATA[fastai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[render]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Abdu Issa]]></dc:creator>
            <pubDate>Sat, 26 Jan 2019 21:50:59 GMT</pubDate>
            <atom:updated>2019-01-26T22:20:40.938Z</atom:updated>
            <content:encoded><![CDATA[<h4>For people who were not experts in 2018 or 2017</h4><h4>A Quick Note To Medium</h4><p>The current version of the Medium iOS app does not allow for code blocks. I will not be buying a desktop computer to write on this platform, so my code blocks will be presented as quotes.</p><blockquote>print(‘Thank you Medium’)</blockquote><h4>Last Year’s Code is Obsolete</h4><p>Looks like Jeremy Howard launched the 2019 version of fastai software yesterday. The update releases the courses-v3 covering fastai version 1.x to the world. Since I was halfway though lesson 4 of the 2018 version of “deep learning for coders,” I decided to switch to the 2019 version and start over using the latest version of fastai since the 1 year old library is already behind the times (this deep learning stuff moves fast)!</p><h4>Helpful Tips</h4><p>For those who have a GPU machine already setup, making the switch is easy. All I did was clone the github repo for the course-v3 into a folder under the fastai repo. This will allow me to use the course-v3 repo as a sub directory in the same setup I was already using. To do this, navigate to the fastai repo (cd fastai) and type the following:</p><blockquote>git clone https://github.com/fastai/course-v3</blockquote><blockquote>cd course-v3</blockquote><blockquote>tools/run-after-git-clone</blockquote><p>Remember to do a git pull on both the fastai repo and this course-v3 repo.</p><h4>Initial Thoughts</h4><p>After rewatching lesson one and following along in the notebook, two things became evident: this course is now for the mainstream, and deep learning has come a long way in just a couple of years. Fastai is quickly becoming the leader in deep learning tools, training, and community. People who completed fastai have built really cool (and profitable) tools in a very short amount of time (7–14 weeks). The course now has a focus on not only ease of use for deep learning and a simple yet powerful library, but also on production. Fast.ai was updated with guidelines on production for the trained models and Jeremy now covers production during the lessons. Websites like render.com offer cloud hosting for trained models/classifiers for $5 per month. This means anyone who comes up with a good classifier can quickly upload it to Render and point people to a domain to use it. Right now Render is still invitation only, but fastai students get an invite code through the course. I will put a link to Jeremy’s teddy bear v. grizzly bear classifier on Render — very cool stuff. This new technology will open up deep learning to the masses and allow people to deploy their models publicly with little front end work. Fast.ai is continuing to prove that open source and ease of use are the future.</p><p>The second realization that is evident from lesson one is how big of a leap deep learning has taken in the past year. Instead of starting out with building an image classifier that can recognize dogs and cats, lesson one now teaches you to train a model that can recognize which of 37 breeds of dog or cat the picture in the image is from. Last year (or in my case 6 weeks ago), the accuracy on the dog or cat classifier was 98%. This iteration of fastai can recognize the exact breed with 96% accuracy with less than 2 minutes of training. Amazing.</p><ul><li><a href="https://course.fast.ai/">Practical Deep Learning for Coders - Practical Deep Learning</a></li><li><a href="https://fastai-v3.onrender.com/"></a></li><li><a href="https://render.com/">Render</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a3c9d3ce683" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[100% iPad Pro]]></title>
            <link>https://medium.com/@abdu1993/100-ipad-pro-521178b785c1?source=rss-7fc985f16892------2</link>
            <guid isPermaLink="false">https://medium.com/p/521178b785c1</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[ipad]]></category>
            <dc:creator><![CDATA[Abdu Issa]]></dc:creator>
            <pubDate>Fri, 04 Jan 2019 22:54:47 GMT</pubDate>
            <atom:updated>2019-02-21T00:07:06.947Z</atom:updated>
            <content:encoded><![CDATA[<h4>Data science, programming, work, and life with no laptop</h4><h4>“Why are you here?”</h4><p>I was recently trying to solve a programming problem with my dad at a coffee shop. He was working on his MacBook Pro and I was working on my iPad Pro. At one point he handed me his laptop to show me his progress on the code, and I immediately began poking at the screen. When there was no response, I began to worry. “Is the computer frozen already?” I thought. “I haven’t even run the code yet.” I decided to start chronicling my unconventional adventures with the iPad on medium.</p><p>What you’ll get here is my random ramblings about cool stuff that I’ve been doing on my iPad and how to solve some of the problems I’ve ran into. Hopefully this will turn into a good source for others who want to make the 100% iPad jump.</p><h4>“When did you hop on the bandwagon?”</h4><p>When the first iPad came out the economist (my weekly bible) featured Steve Jobs on the cover holding the new device dressed like Jesus. This characterization is not an understatement. The iPad brought the full touch screen idea into existence and marked the beginning of the end of the laptop. I bought my first iPad as a freshman in college with two week’s worth of my church’s chicken paychecks. The original iPad lasted 2 years, then I replaced it with the iPad 3 (with the Retina display) in my junior year of college. These 2 iPads were useful for surfing the internet, reading books, and venturing down a facebook black hole during finals week. They were not useful for high performance work though, so my main device for school was the MacBook Pro 15”. Once I got into the “real world” of oil and gas as a drilling engineer I was quickly hit with the reality that the PC dominates corporate America — my MacBook was useless and gathered dust in my mom’s house. Then the iPad Pro came out and changed the game. I bought this beautiful machine in 2016 and began using it for 100% of my note taking (RIP yellow legal pads) and for reading reports and emails at home. I was still tethered to my work laptop on days when I needed oil and gas specific applications until a decent VMware application (Workspace ONE) was able to render the apps effectively on iPad. Workspace ONE along with VMware Horizon’s Windows 10 emulator (DaaS) made it so by the time the 2018 iPad Pro came out, I was 95% off of needing a work PC and 100% off of needing a personal computer. In fact, I sold my MacBook Pro that I bought in 2017 to finance my new iPad Pro (thank you Apple price inflation)!</p><h4>“What about programming?”</h4><p>Around the time I bought the 2018 iPad Pro (forever to be referred to as “my iPad”) I started getting into python programming again. The trigger was Apple’s shortcut’s app which allows us to program Siri commands. I made dozens of shortcuts that were useless and some that were slightly less useless including:</p><ul><li>Love text — a random love text generator that will automatically text my fiancé “Abdu loves XXXX more than *random animal* loves *random animal*”. Example — “Abdu loves XXXX more than cows love monkeys.”</li><li>Love speak — once I learned about regular expressions, I made a Siri dictation shortcut that takes the input “how much does *name #1* love *name #2*? and spits out (in Siri’s romantic voice) “*name #1* loves *name #2* more than *random animal* loves *random animal*. Example — In (human): “how much does Jack love Jill?” Out (Siri): “Jack loves Jill more than koalas love tigers.”</li><li>Who’s right — a shortcut that randomly picks wether I am right or my fiancé is right when run. Example — In (human): “hey Siri, who’s right” Out (Siri): “*Fiancé* is right.” This one has decided (and created) many arguments.</li><li>Morning report — a shortcut that aggregates information from the websites I frequent every morning and emails them to me so I only have to read the 1 email.</li><li>Trip or no — an oil and gas drilling specific shortcut that will calculate based on total time saved if you should trip out of the hole to replace the drill bit or if you should continue drilling.</li><li>Chose your own love adventure — made this shortcut for my fiancé. This shortcut takes many inputs and outputs based on several if-then statements and creates it’s own expression of love story that is highly interactive.</li><li>Thanksgiving dinner — I hosted my fiancé’s family for thanksgiving and made them a chose your own adventure presentation. This consisted of Siri asking me and my fiancé a series of funny and stereotypical questions (ex — are you sure you want to marry Abdu? You dont have to lie to me!) and interacting with the other members of the family.</li></ul><p>Once I got hooked on making my iPad do cool stuff, I decided to explore python programming. The reason I chose python is the same reason I choose most other things in life — there was an economist article about it. The article mentioned how python is booming in popularity and how it’s due to the current data boom. There was also another economist article about fast.ai specifically and how they are making deep learning more accessible to people like me who have no experience with the subject.</p><p>I started my ongoing journey in python by following along the basic lessons from Dr. Chuck on py4e.com, then by getting down with Harrison on pythonprogramming.net, then by venturing down the rabbit hole of fast.ai. I will give a brief description of those 3 websites and the apps that have helped me with them below. Links to all the apps and the websites mentioned will be included at the end of each section.</p><h4>Zero to hero — Python for everybody</h4><p>This was my intro to python and programming in general. In college I skipped most of my programming labs (mostly VBA focused) and was basically asleep for most of the ones I decided to show up for. When I did need VBA for work or for pleasure, I hacked away at it using the best programming tool I’ve found to date — Google. Python for everybody (py4e) was useful in structuring the course in an enjoyable way that doesn’t scare off millennial programming novices like me. Dr. Chuck does a great job explaining the concepts and the assignments make you work for the answer with no answer key. I am also naturally attracted to YouTube video tutorials (khan academy enthusiast here!) so py4e’s style was perfectly suited for me. Once I got through py4e’s course I was confident that I had the python skills to take over the world.</p><p>Since I started from zero and did not own a laptop, my initial action was to type “python IDE” on the App Store on my iPad and see what popped up. This app called “Pythonista 3” showed up, and after a quick google search found that the app is good for beginning programmers who want a way to run python code on an iPad. I downloaded it and began running though the py4e course. Looking back, Pythonista is a great tool for beginners, but if you plan on doing any serious programming with the iPad and don’t have a laptop, I recommend you skip it and go straight to Jupyter Notebook. This app has a bunch of the common libraries already, but once you get into the non standard stuff that requires pip install or a terminal, you’ve reached the end of Pythonista’s capabilities. I do think that it can do some cool GUI stuff and it is integrated with the Apple shortcuts app, but I’ve never actually had to build a GUI or run a python script with shortcuts…yet. If I do, I’ll be sure to write about it.</p><ul><li><a href="https://www.py4e.com/">Python for Everybody</a></li><li><a href="https://itunes.apple.com/us/app/pythonista-3/id1085978097?mt=8">‎Pythonista 3</a></li></ul><h4>Hero to…omg— PythonProgramming.Net</h4><p>The second step in my python journey started when I typed in “pandas tutorial” in YouTube. I had heard that python has these things called “pandas” and that people who do data science use these mysterious things. So I decided to learn to use them. Python Programming fit my needs once again because of the great video based explanations by Harrison. He flys through the code, but somehow in a way that explains every piece perfectly. Once I started with pandas I realized that python is much more powerful than just a simple programming language — it could actually take some power away from excel (aka the most important tool in engineering history). I also realized that I didn’t know as much about python as I thought I did at all. Near the end of the pandas tutorial Harrison showed us how to make a machine learning predictor for the housing price index using something called “sklearn.” Once I saw how cool that predictor was, I wanted to learn how it worked and how I could make it predict on my own data sets. This lead me to begin exploring the many tutorials he has on his website: python for finance, natural language processing with NLTK, data visualization, and my favorite so far — practical machine learning with python. The practical machine learning tutorial goes though the main types of machine learning algorithms on scikit learn (regression, classification w/ k-nearest neighbors, support vector machines, clustering w/ k-means &amp; mean shift, and introduction to neural nets/deep learning). The math can get a bit intense on some of these concepts (especially the support vector machine), but the tutorials always tie it back to code using a top down approach. This is useful for people like me who find code easier to understand than math symbols, or people who should have paid more attention in math class (oops!).</p><p>I quickly realized that in order to do these lessons on an iPad, I needed a more powerful and customizable environment to run these programs. This lead me to cloud hosted Jupyter Notebooks and specifically Azure notebooks from Microsoft. These are simple notebooks that accept text, markdown, and code and can run python on the cloud service Microsoft Azure provides. The specs on these virtual servers are in line with what I need for most of the lessons on pythonprogramming.net and the fact that they are hosted on Azure means that I can access them from anywhere and any device that I have internet connection.</p><p>At this point you may be wondering why I chose Azure over other cloud based Jupyter Notebook services like CoCalc or Google Colab. Simple — because Azure notebooks is free AND it works on the coolest programming app on iPad — Juno for Jupyter. This app allows you to connect to jupyter notebook servers and run the notebooks in a very slick and clean environment that meshes well with the iPad. Originally I was having issues with Apple’s Smart Keyboard on the jupyter notebooks running in both the chrome and safari browsers. Google Colab was especially poor on iPad. So I did what I always do and searched “jupyter notebook” on the App Store and found Juno. There’s not much to say about this app except that it is the most enjoyable way to use jupyter notebooks. It is extremely user friendly and the interface is much better than even the desktop version of Jupyter Notebook (maybe because I don’t use the desktop version of Jupyter except on my work laptop)? If you’re going to be using jupyter notebooks on your iPad, you need this app. Right now Juno supports Azure notebooks, CoCalc (which costs $ for the good stuff), and normal jupyter servers, but not Google Colab.</p><ul><li><a href="https://pythonprogramming.net/">Python Programming Tutorials</a></li><li><a href="https://itunes.apple.com/us/app/juno-for-jupyter/id1315744137?mt=8">‎Juno for Jupyter</a></li><li><a href="https://notebooks.azure.com/">Microsoft Azure Notebooks</a></li></ul><h4>It’s really happening — fast.ai</h4><p>This is the newest adventure I’ve started on the python journey. I finally have enough of an understanding to pursue fast.ai like I read about in the economist. Basically, this is another video based tutorial series where Jeremy goes though deep learning for coders. Fast.ai takes real chops to understand. When I read that each lesson should take 10 hours I was dubious — “the video is only an hour and half, I can fly through this,” I thought. But alas, deep learning is quite a complicated subject and even though Jeremy explains stuff in a top down and easy to understand way, it still takes a while before the material starts to click.</p><p>I’ve setup my iPad for this course by getting a virtual machine at paperspace.com as recommended in lesson one. I use Blink Shell to mosh into the paperspace machine from my iPad and control it that way. Mosh is much more robust than SSH (the “normal way” of connecting to another machine/server) because it allows you to stay connected for as long as you want. The connection won’t expire or time out (yay!). Setting up this machine was quite complicated, but once I got my jupyter server running properly I was able to continue using the Juno app to access my stuff for the course. I completed lesson 1 after 8 hours of work and built my own “Taylor Swift v. Lady Gaga” image classifier. I’ll be writing more posts about this course and what works best for it since I realized that there are not many answers out there on Google for iPad specific questions. Also, even though the forum community on fast.ai is excellent, there is still room to explain some of the stuff in the lessons — especially the initial setup.</p><ul><li><a href="https://www.fast.ai/">fast.ai-Making neural nets uncool again - fast.ai</a></li><li><a href="https://itunes.apple.com/us/app/blink-shell-mosh-ssh/id1156707581?mt=8">‎Blink Shell: Mosh &amp; SSH</a></li><li><a href="https://www.paperspace.com/">Build &amp; scale AI models | Paperspace</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=521178b785c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>