<?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 Steven Elliott on Medium]]></title>
        <description><![CDATA[Stories by Steven Elliott on Medium]]></description>
        <link>https://medium.com/@smonroeelliott?source=rss-46301f7a4451------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*S8QxfWiBcslY2CkzQ3Se5g.jpeg</url>
            <title>Stories by Steven Elliott on Medium</title>
            <link>https://medium.com/@smonroeelliott?source=rss-46301f7a4451------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 12:17:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@smonroeelliott/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[Youtubers Vs. Tradition Media: Trending Tab Edition]]></title>
            <link>https://medium.com/@smonroeelliott/youtubers-vs-tradition-media-trending-tab-edition-70e2610e5fff?source=rss-46301f7a4451------2</link>
            <guid isPermaLink="false">https://medium.com/p/70e2610e5fff</guid>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Steven Elliott]]></dc:creator>
            <pubDate>Fri, 02 Aug 2019 14:19:44 GMT</pubDate>
            <atom:updated>2019-08-02T16:00:38.815Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oBLrnuDmIu9SF-IPVlxQyA.jpeg" /><figcaption>Popular Youtubers from left to right: Jake Paul, Philip Defranco, and Shane Dawson</figcaption></figure><p>Almost 5 billion videos are watched on Youtube every single day which adds up to be about 3.25 billion hours each month. Today, there is an average of <strong>300 hours</strong> of video uploaded to the site <strong>every single minute</strong>. This means that even if you watch things at 2x speed, you could only ever watch 0.01% of the content uploaded. One feature that tries to help make the most of that 0.01% is the trending tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*VLmymm8IY6nLFErHWT7hkQ.png" /></figure><blockquote>According to Youtube: Trending helps viewers see what’s happening on YouTube and in the world. Trending aims to surface videos that a wide range of viewers would find interesting.</blockquote><p>A long-running feud on Youtube has been that large traditional media organizations are being given special treatment in regards to the trending tab. Despite the content creators making much more than half the content, traditional media occupies half of the limited trending tab space.</p><p>I wanted to know if I could use a computer algorithm to distinguish between trending videos coming from Youtubers vs. those coming from Traditional Media. I define a Youtuber as a creator that started on YouTube or someone that uses YouTube as their primary source of outreach. For example, Philip Defranco or PewDiePie. Traditional Media, in contrast, is a creator or group that uses Youtube in addition to their primary outreach of television, newspaper, etc. Examples like Last Week Tonight, ESPN or T-Series.</p><h4>The Data</h4><p>Inspiration and data for this project came from a video done by Coffee Break titled <a href="https://www.youtube.com/watch?v=fDqBeXJ8Zx8">“What 40,000 Videos Tells Us About the Trending Tab.”</a> The original dataset was scraped by <a href="https://mitchelljolly.com/">Mitchell Jolley</a> and uploaded to <a href="https://www.kaggle.com/datasnaek/youtube-new">Kaggle</a>. It covers 7 months of Youtube trending tab history from November 2017 to June 2018. The classification of the channels was then done by a group of over 70 people for the video. Coffee Break also scrapped the number of subscribers counts for the channel and that became the dataset that I used for this project.</p><h4><strong>Data Prep</strong></h4><p>I started preparing the data by dropping columns of NaNs from the classification dataset along with all of the extra classifications. I then merged that with the US data, noting that the majority class with 51% was traditional media. After grouping the videos by channel, I did a train-test-split ensuring that channels in one group were not included in the other.</p><p>With the target being the classification, I looked for ways that I could use my domain knowledge to do some feature engineering. My hypothesis was that views were likely the most important feature that I had access to. Also, traditional media would not have as much engagement with their Youtube audiences as creators native to the platform. Part of the reason why I think this is that I tend to have more of an emotional attachment to a Youtuber versus a corporation like HBO, despite enjoying content from both. This led me to create a feature called <em>Engagement Per View.</em></p><blockquote><em>engagement = comments + likes + dislikes</em></blockquote><p>I realize that one person can both like/dislike and comment but it’s all engagement in the end. Philip Defranco has discussed how <em>not all views or audiences are created equal.</em> This was the principle behind this feature. I created other features, including L<em>ikes Percentage</em> and <em>Comments Per Click.</em></p><h4>Random Forest Model</h4><p>I decided to go with a random forest model first because I felt like it would handle the Non-Monotonic relationship that likely exists between the features and the target. That model was 80% accurate in classifying a channel. I also tried gradient boosting, but it was less effective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*tzrzB0pBjBbDCb0YVPe2Fw.png" /><figcaption>The diagonal from top left to bottom right are the cases where the model was correct</figcaption></figure><p>The random forest predicted 80% correct. This lets me know that there is indeed a difference in how traditional media and Youtubers perform on the platform. The next question I had was: where were the biggest differences?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*hmuNPet8r24Tc59qMz2y5g.png" /><figcaption>The horizontal axis is the percent of times a feature caused a decision split in the trees</figcaption></figure><p>In Coffee Break’s video, he focused heavily on the views needed for a video to get on the trending tab. I was surprised when <em>views</em> didn’t even make to into the top 10 most important features. I was equally surprised and excited that my <em>engagement level</em> feature was the main deciding factor in 20% of the cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*yAdsQZqJNcl59rToj7CsCA.png" /><figcaption>When there is more than 3% engagement it’s a strong indication for being a Youtuber.</figcaption></figure><p>Engagement per view helped the algorithm make many of its decisions and here we can see why. It doesn’t appear that a single traditional media channel had more than 5% engagement per view.</p><h4>When the algorithm got it right and wrong</h4><p>I took a look at a few specific times where the algorithm got a traditional media classification correct. Here are three examples that help us understand how the algorithm made it’s classification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AmmTci4iB_gGmNxXFrWBuw.png" /><figcaption>James Corden is a late-night talkshow host</figcaption></figure><p>James Corden is practically the definition of Traditional Media on Youtube and he was correctly identified by the algorithm. The 1.1% engagement, publishing at 9:00 GMT, and having Category ID 24, which is Entertainment, where factors that helped make that decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ICW_FUriXOmb0Vx31SBxg.png" /><figcaption>RetroCaveMan plays retro games and talks old tech on Youtube</figcaption></figure><p>RetroCaveMan was correctly identified as being a Youtuber. The 14% engagement level and have a Category ID of 28, which is Science and Technology, helped make the decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1arV1Gz6tftjYkeFR6ZjFg.png" /><figcaption>Jeremy Jahns is a channel dedicated to movie reviews and a comedy show.</figcaption></figure><p>With Jeremy Jahns, our algorithm got confused. The gap in the time from posting to trending and that it was heavily liked indicated Youtuber. However, being an Entertainment Channel and publishing at 6:00 GMT indicated traditional media just enough to push the channel into the TM class. If you remember from our graph that the 3% engagement level is in that grey area between Youtubers and Traditional Media. Jeremy Jahns produces very similar content to James Corden and it shows in our algorithm.</p><h3>Conclusions</h3><p>Though my hypothesis on engagement being different was correct, my hypothesis that views were crucially different between traditional media and Youtubers was incorrect. Despite being roughly a 50-50 split, there is enough of a difference between the way traditional media and Youtubers perform when getting on the trending tab that they can be distinguished by a machine learning algorithm.</p><h4>Other Thoughts</h4><p>I can see that it is frustrating for many Youtube creators that traditional media seems to be getting special treatment when it comes to the trending tab. Youtube wouldn’t be where it is today without those creators. However, I see the inclusion of traditional media in the trending tab as helping to further legitimize Youtube and its creators as credible media.</p><h4>Fun, but an unrelated observation</h4><p>The following is the interaction between the Category ID and the engagement per view. There is a <a href="https://gist.github.com/dgp/1b24bf2961521bd75d6c">list of the Category ID’s</a> show which is which. “How To” and “Science and Technology” seem to have the greatest engagement per view, while “News and Politics” have the least.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*anhYfnhhF3PCczlA2lEB5Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70e2610e5fff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Limited Maintenance Resources Can Be Enhanced With Data]]></title>
            <link>https://medium.com/@smonroeelliott/limited-maintenance-resources-can-be-enhanced-with-data-816dedb4bdaa?source=rss-46301f7a4451------2</link>
            <guid isPermaLink="false">https://medium.com/p/816dedb4bdaa</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Steven Elliott]]></dc:creator>
            <pubDate>Fri, 26 Jul 2019 13:15:29 GMT</pubDate>
            <atom:updated>2019-07-26T13:15:29.722Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*VPO9pgNqcm9VYoiCXA40-Q.gif" /><figcaption>Gif from Mel Brooks’ satirical film Spaceballs</figcaption></figure><p>Given enough time, everything will break down. Sometimes things break all at once or broken things build up over time. There are three items that need to be identified to prioritize maintenance:</p><ol><li>Identify the organization&#39;s <strong>purpose</strong></li><li>Identify resources that <strong>impact</strong> the purpose most</li><li>Identify potentially <strong>waste</strong></li></ol><p>In order to bring this concept to life let’s apply this to a specific example.</p><blockquote>The Tanzinian Ministry of Water and Irrigation is tasked with ensuring citizens have access to water. There are currently 14,358 water pumps in country that are in a functioning, functioning but in need of repair, or nonfunctioning state. There detailed but sometimes incomplete records for each pump. Due to the difficulty of accessing each pump, each of the 5 teams can service an average of 5 pumps per week for a total 1300 pumps in the coming year.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*qjmObBc7LcWLyRd5vgHwzA.jpeg" /><figcaption>Image Courtesy: <a href="https://www.flickr.com/photos/christophercjensen/3559607145?source=post_page---------------------------">flickr user christopercjensen</a></figcaption></figure><h3>Purpose. Impact. Waste.</h3><p>Our purpose is to ensure citizens with access to water. Now we need to maximize our impact while minimizing our waste. Here are five good questions that will help us prioritize the pumps.</p><ol><li>Does the pump need repair?</li><li>What is the population affected by the status of the pump?</li><li>How far away is an alternate functioning pump for that population to use?</li><li>What is the status of the water source for that pump?</li><li>Can we cluster pumps into groups of five by distance?</li></ol><h3>Why these metrics?</h3><p>We need to repair pumps that aren’t currently functional to fulfill our purpose of providing water but time spent at functional pumps is wasteful. The more the population that depends on the pump, the more people we impact. It is important to note that this does bias our repair work against rural populations. We can mitigate this bias by adding consideration for the next nearest functional pump. This works to reduce dry zones and increases the area impacted. Repairing a pump where the water source is dry is wasteful. Clustering the pumps into weekly workloads will reduce travel times and waste.</p><h3>Enhance our efforts with computers</h3><p>Combing through all 14,358 records by hand would be time-consuming and it would difficult to predict the current state of the pump. Predictions can only as good as the data they are built on. In this case, the data is relatively clean and detailed. Using the data it is possible to design a computer model that will accurately identify the status of the pumps at least 80% of the time. We can further narrow our efforts to the pumps the model is at least 95% confident of the status. Working from this list of pumps we can then use the location information to cluster and identify distance alternate pumps we are equally confident are functional. Lastly, we can drop dry wells and lower priority for seasonally available water sources.</p><h3>Conclusion</h3><p>The processed of identifying the purpose or goal to be accomplished and maximizing impact while minimizing waste can be generalized outside of this specific example. I believe it is also scalable from large organizations down to individuals. If you know of a more efficient method for optimizing limited resources, please let me know. For those of you that are interested in the nuts and bolts of the data and modeling that will be coming in a future blog post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=816dedb4bdaa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Just How Much Cheaper Are Generic Medications?]]></title>
            <link>https://medium.com/@smonroeelliott/just-how-much-cheaper-are-generic-medications-348a828e2039?source=rss-46301f7a4451------2</link>
            <guid isPermaLink="false">https://medium.com/p/348a828e2039</guid>
            <category><![CDATA[drug-prices]]></category>
            <category><![CDATA[healthcare]]></category>
            <dc:creator><![CDATA[Steven Elliott]]></dc:creator>
            <pubDate>Thu, 27 Jun 2019 19:34:32 GMT</pubDate>
            <atom:updated>2019-06-28T00:23:05.282Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*rnLfG6CcfRk05tmMUmmljQ.png" /><figcaption>Unfortunately, most medications don’t have a generic equivalent</figcaption></figure><p>Everyone knows that generic medications are cheaper. The question is: how much cheaper are they? To examine this question, we’re going to look at the National Average Drug Acquisition Cost or NADAC per unit. This is the average price a pharmacy pays for a given medication. The price we pay is going to vary based on markup from the pharmacy and insurance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*RT1eXt_POBJ_w2zTr5RdiQ.png" /><figcaption>Ativan is often used to treat seizures and severe anxiety</figcaption></figure><p>As a ratio of brand to generic pricing, Ativan has consistently had the highest brand to generic ratio. As of June 2019, the Brand was 827 times the price of the generic. It has been as high as 1396 times as much.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*9pA7ivI-8f416_IawnRBjg.png" /><figcaption>Epipen is an emergency medication used to treat severe asthma and allergic reactions.</figcaption></figure><p>While Ativan is an extreme example, EpiPen Jr is not. The brand is double the cost of the generic. Looking at the chart, we can see that EpiPens once cost the same as the generic does now. The price increase in anticipation of the generic release is not an atypical practice. The sad reality of increases like these is that your options are limited. In the case of an Epipen, you can pay or risk dying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*v-0KnNCsCj98i9cpCjYilQ.png" /><figcaption>75% of brands 1.75 times or more than their generic counter parts</figcaption></figure><p>Half of brand medications are 3 more times the price of their generic. This chart does not include the outliers, like Ativan, because we wouldn’t be able to see anything with the axis scaled to 1400. Even without those extremes, we can see there is a heavy skew towards the upper end of almost 50 times the cost of generics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*9y0RiRMtZwEW3RpyY8ZEnA.png" /></figure><p>The 50th percentile price difference is $2.96 per unit. This per unit difference adds up quickly if you take the medication on a regular basis. One thing that surprised me was there are some occasions when the brand is actual cheaper than the generic. Those cheaper brands tended to be from smaller manufacturers or just before the brand medication was discontinued.</p><p>As for why the prices of medications are the way they are, I don’t know that there’s a singular answer. Healthcare is complicated. Manufacturing costs vary. Brands have to recoup the cost of research to make new and innovative products. Publicly traded manufacturers need to do right by their investors and chase continuous growth. How a company balances the needs of their employees, patients and investors is up to the company.</p><p>Data Source: https://data.medicaid.gov/Drug-Pricing-and-Payment/NADAC-National-Average-Drug-Acquisition-Cost-/a4y5-998d</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=348a828e2039" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Career Changes are Terrifying]]></title>
            <link>https://medium.com/@smonroeelliott/career-changes-are-terrifying-20de90afef82?source=rss-46301f7a4451------2</link>
            <guid isPermaLink="false">https://medium.com/p/20de90afef82</guid>
            <category><![CDATA[hope]]></category>
            <category><![CDATA[epilepsy]]></category>
            <category><![CDATA[lambda-school]]></category>
            <category><![CDATA[miscarriage]]></category>
            <category><![CDATA[career-change]]></category>
            <dc:creator><![CDATA[Steven Elliott]]></dc:creator>
            <pubDate>Tue, 11 Jun 2019 03:18:58 GMT</pubDate>
            <atom:updated>2020-09-26T21:56:59.061Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gRw8rKZMwJ9kt-Ku0yiplw.jpeg" /><figcaption>Hope is something to look forward to.</figcaption></figure><p>2019 has been the definition of a roller coaster for my family. I started this year as an elementary teacher at a charter school in Utah. My 20-month-old epileptic son, Sam, had been seizure free for 9 months. We found out that my wife is expecting our second child. Life was going well and that’s when things took a dive.</p><h3><strong>The Dive</strong></h3><p>I enjoy being able to spend time with my son. Bedtime is a great bonding experience. After giving Sam a bath, and getting him into his PJ&#39;s, he was cuddled next me. I notice his right toe begin to steadily twitch. Then his right leg. It’s a seizure. I call to my wife to get his rescue medication. We’ve never had to use it before and it is delivered rectally. After struggling with that, it does nothing to slow the seizure. We take an all too familiar trip to the ER. When we arrive, we get buzzed straight back into a trauma room. His seizure lasts 74 minutes. My wife spends the night at the hospital with Sam while I go home to get some sleep for work the next day — to take care of my other 30 kids.</p><p>Working at an elementary school is like working in a petri dish. The younger students will sneeze on your eyeballs and continue their reading test without a word. This year, I caught the flu. The doctor told me, as I was dying on the exam table with a fever of 103, that I had the “classic flu.” A couple days later, I feel almost normal again, but my wife feels ill and Sam throws up. We take Sam to Urgent Care and he also tests positive for the flu. After returning home we lay an exhausted little boy down for a nap and just try to breathe ourselves. I return a few minutes later to check on him and find him, for the second time in two weeks, seizing. During this ER trip, my dear wife was vomiting every 15 minutes for the hours we spent at the hospital. Sam is staying at the hospital overnight again but, for the first time, neither of us is staying with him. I take my sick wife home. The next day, I split my time between visiting Sam in the hospital and taking care my wife at home.</p><p>A week later, my wife sobs from the bathroom, “Steve, I’m bleeding!” As I rush to her, it looks like something straight out of a slasher film. She texts her mom on the way to hospital telling her that she’s probably miscarried. This ER trip is different. There is no rush back. Instead we wait. It’s hard to wait, but it’s a nice change of pace from the life or death stress of our other visits. After nearly 3 hours at the ER, we find out the baby is fine for now. The bleeding could be the start of a miscarriage, or it could be nothing. Only time will tell.</p><h3><strong>Hope</strong></h3><p>Time did tell. A month later we got an ultrasound and found out we are having a perfectly healthy baby girl. All earlier signs of miscarriage had been resolved. Sam had also recovered and not had a seizure since. His second seizure was likely due to his body being stressed from illness. This is what caused me to reconsider my career choice.</p><p>I love teaching. It is an incredible field and the opportunities to make real and lasting impacts are endless. I certainly didn’t get into teaching for the money, but I thought it would at least have enough. If our child was typical, it would have been. However, between all of his needs things barely worked and only because my wife is a budget genius. Adding a second child into the mix and Sam’s life being at risk from me getting sick ultimately makes teaching a bad fit for me. It’s true that you can get sick from anywhere. However, as a teacher, getting sick comes with the territory. Every bug that wanders the community makes its way to school. Despite daily disinfection of my classroom, some illnesses still found their way home with me. I may only get the sniffles, but for Sam it could be life threatening. This is what made me realize that, despite my love for teaching, I had to make a change. It’s not easy. Changing away from a career you’ve worked in for almost a decade is terrifying.</p><p>What could I possibly change to? I’ve always had an interest in technology. However, I already have my Bachelor’s degree and pursuing further education through traditional means would take years and likely mean incurring soul-crushing debt. As I looked through vocational training options, most required a prohibitively large sum upfront. That’s when I happened upon Lambda School. They only get paid if I am able to make the change successfully. I am grateful the obstacles towards making the change have been removed. It feels like starting over because, in a way, it is. I don’t know how things will turn out but I have hope. Maybe I’ll get lucky or I won’t. Maybe I’ll just make my own luck. Ask me in five years.</p><p>TL:DR — Tragedy pushed me to pursue the career change I needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20de90afef82" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>