<?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 William Cotton on Medium]]></title>
        <description><![CDATA[Stories by William Cotton on Medium]]></description>
        <link>https://medium.com/@will.cotton4?source=rss-77961d77b288------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BHiwQLSkVPEjZn5jRD2XSQ.jpeg</url>
            <title>Stories by William Cotton on Medium</title>
            <link>https://medium.com/@will.cotton4?source=rss-77961d77b288------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:36:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@will.cotton4/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[Building Better Reads]]></title>
            <link>https://medium.com/voice-tech-podcast/building-better-reads-8e20c00b63b2?source=rss-77961d77b288------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e20c00b63b2</guid>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[signal-processing]]></category>
            <dc:creator><![CDATA[William Cotton]]></dc:creator>
            <pubDate>Fri, 09 Aug 2019 15:08:28 GMT</pubDate>
            <atom:updated>2019-08-22T02:14:35.418Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>A crash course in AWS and NLP</blockquote><p><em>Last week, I had the opportunity to work on by far the most exciting project I’ve worked on during my time at Lambda School. I worked alongside three other data scientists and six web developers to create the next great book recommender — just type in the description of a book you’d like to read, and the Better Reads model generates 10 recommendations based on a natural language processing model, powered by spaCy and Elastic Beanstalk. I’ve written up how we did it, along with some overall reflections on the process.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3XLAKJe9VTDO2zoaPc0Qiw.png" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fbingewith.com%2Farticle%2F%3A%3A_Generate_Audio&amp;dntp=1&amp;display_name=BingeWith&amp;url=https%3A%2F%2Fbingewith.com%2Farticle%2F%3A%3A_Generate_Audio&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=bingewith" width="480" height="110" frameborder="0" scrolling="no"><a href="https://medium.com/media/d6a9e202d4ee773dbc23199fcf6d186c/href">https://medium.com/media/d6a9e202d4ee773dbc23199fcf6d186c/href</a></iframe><h3><strong>CONTENT WARNING: TECHNICAL DETAILS</strong></h3><p><em>If you’re more interested in my takeaways, feel free to skip to the section labeled </em><strong><em>Overall Reflections.</em></strong></p><p>The original plan was to load all of the descriptions and other variables into a PostgreSQL database on Amazon’s RDS service, then hook the RDS into some sort of EC2 instance, and finally attach the EC2 instance to a public API through the API Gateway — but there are some significant drawbacks to this approach:</p><ol><li><strong>Complexity</strong>. Three of the four data scientists on the team had used AWS before, but AWS is far from straightforward (as we now well know). Becoming familiar with AWS, designing and deploying a model just on Elastic Beanstalk in three days was a task in and of itself — trying to do that on THREE services in the same timeframe would have been foolhardy.<br>On top of all that, we’d have had to troubleshoot and debug the connections between the services, along with making sure the model sends predictions to the web development team correctly. Sure, everybody wants to become AWS pros — but our #1 priority was having a working model for our team to present at the end of the week.</li><li><strong>Reduced speed</strong>. The version of the model that we deployed relies on the ability to quickly vectorize a description and compare it against a database of 20,000 other vectorized descriptions. At best, this would mean querying the entire database when the server starts to hold all these in memory. At worst, our server would have to run 20,000 queries every time it produced a set of predictions. Not ideal, obviously.</li><li><strong>Cost. </strong>While using all three services for a single project wouldn’t be prohibitively expensive, we nevertheless wanted to minimize our expenditures while still providing a product that met our accuracy, speed, and simplicity targets. And, of course, in a business setting, cost is an ever present concern — if we wanted to scale this, we’d need to make sure our build was organized responsibly. Even a minor increase in cost should be avoided if possible, especially if that cost scales with the size of the deployment.</li></ol><p>So we decided to simplify matters. We managed to get everything on our end working on Elastic Beanstalk, including the API endpoint for our web development friends. Here’s how we did it:</p><h3>We created a spaCy vector-based model</h3><p>This was the only part we ended up needing an AWS service beyond Elastic Beanstalk for — we did our preliminary data exploration, cleaning, and modeling in a Sagemaker notebook. Practically speaking, we probably could have done this on our local machines, or perhaps (barring timeout errors) even on Colab. But Sagemaker provides two clear advantages:</p><ol><li><strong>Speed</strong>. Again, we wanted to deploy the model to a web app by the end of the week. Our local machines probably could have vectorized the descriptions and generated predictions just as well as Sagemaker — but it would have taken much longer. Using Sagemaker did increase our costs, but only marginally. In total, running Sagemaker cost only about a dollar an hour.<strong><em> </em></strong>Not too bad for getting predictions a few hours earlier when operating on a tight deadline, and since it’s a process that we only needed to run through once, scaling the project wouldn’t increase our total AWS bill.</li><li><strong>More exposure to AWS services</strong>. Again, we had more urgent goals than spending a week learning the ins and outs of AWS. But Sagemaker was a fairly gentle introduction to the AWS offerings, and provided opportunities to learn more about the core logic of AWS as a platform. For example, we learned more first-hand about the relationship between Sagemaker notebooks and EC2 instances, as well how to interface between Sagemaker and S3 buckets. (More about this in the next steps section.)</li></ol><blockquote>Build better voice apps. Get more articles &amp; interviews from voice technology experts at <a href="https://voicetechpodcast.com/">voicetechpodcast.com</a></blockquote><p>Fortunately, the <a href="https://spacy.io/">spaCy library</a> is fast, easy-to-use, and produces pretty dang impressive results right out of the box.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/acc0da577c3aadfe32796caf6c803e57/href">https://medium.com/media/acc0da577c3aadfe32796caf6c803e57/href</a></iframe><p>Using the built-in similarity function is just as easy — but in order to decrease the size of our deployments, we built a cosine-similarity function to compare test descriptions against the database and generate recommendations:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fde2d2fffc55dc172c44524cad8c9cf5/href">https://medium.com/media/fde2d2fffc55dc172c44524cad8c9cf5/href</a></iframe><h3>We created a Flask app</h3><p>Elastic Beanstalk provides native support for Flask apps written in Python , making it an easy choice, especially since we’d all had some experience creating barebones Flask apps. Aside from a few minor problems, this step wasn’t too bad; just create a route for the model to take in some user’s description, then return a JSON with the predictions.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/91fa6ec89efe20c1cd7a5f8c23c13752/href">https://medium.com/media/91fa6ec89efe20c1cd7a5f8c23c13752/href</a></iframe><h3>We included information about our Python environment</h3><p>As with any serious Python project, dependency management was crucial. Elastic Beanstalk supports requirements documents created with pip freeze natively, so this was also fairly straightforward.</p><h3>We included fixes specific to the Elastic Beanstalk platform</h3><p>This was… less straightforward.</p><p>Elastic Beanstalk, and AWS more generally, for all their good qualities, have an absolutely dizzying array of features and configuration options. Among the many (…many) fixes we had to find for issues with our deployment, we had to fix an issue with using numpy on Elastic Beanstalk (thanks to Peyton Runyan, another Lambda School student who’d run into this before us and saved us the trouble), lengthen the timeout limit on starting up the instance since the initial loading of the dataframe and the spaCy model took so long, and modify the code to repair CORS issues with our API.</p><h3>Overall Reflections</h3><ul><li>This took way more work than I’d expected — but it was 100% worth it. The final product produces some exciting results, especially when a user inputs a long description. I’ve had to shut down the instance to reduce costs, but I’m looking into future options for hosting cheaply.</li><li>By far, the most challenging (and exciting) part of this process was wrangling AWS. I learned an incredible amount about Amazon’s offering just to get this app running, and there are still so many things whose surfaces I barely scratched. I’m eager to continue to familiarize myself with the various parts of AWS.</li><li><strong>Communication is key.</strong> We just flat out would not have finished this product without clear lines of communication with set roles and expectations for everyone on both the data science and web development teams.</li><li><strong>Setting clear and realistic goals is crucial. </strong>We had a lot of ideas for stretch goals, including adding filters to the search feature, adding a search by author function, and increasing the database size. But the most important goal was delivering on our MVP by the end of the week, so we tailored our individual responsibilities with that in mind, with the understanding that stretch goals would be waiting for us if time permitted.</li></ul><h3>What I’m working on now:</h3><ol><li><strong>Deploying purely on Sagemaker. </strong>In reviewing our work and clicking around AWS, I discovered that Sagemaker actually has built in API endpoint support for deployed models, so I’ve spent the last few days exploring this and working on getting at least a sample model deployed through one of these endpoints. I’m also looking for ways to test the Sagemaker Python API locally so I can experiment without burning too many credits. <strong><em>If you’re reading this and you know of any great resources for model deploys on Sagemaker or working with the Sagemaker Python API, please shoot me a message!</em></strong></li><li><strong>Improving the model. </strong>Amazon actually has their own pre-built NLP library available through Sagemaker — BlazingText. I haven’t worked with it yet, but I’m definitely going to see if I can get something going when I wrap up my Sagemaker API deployment of the project. I’m also curious to see if I can improve the speed of predictions without sacrificing accuracy — perhaps by k-means or another clustering algorithm.</li><li><strong>More ways to explore the data. </strong>In particular, I’d like to add more routes for the API. For example, it would be interesting to be able to search by author; I might set it up so that when searching for a particular author, I collect all of the vectorized descriptions of books I have by that author in the database, then find the most similar vectorized descriptions. That’s just an idea; I’m interested to see what methods provide the best results.</li></ol><p>Here’s a <a href="https://github.com/better-reads/BR-Data-Science">link</a> to our GH repo. If you’re working on anything similar and have questions about the process (or just want to grouse about AWS with somebody who gets it) shoot me a DM.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F6b7b35%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F6b7b35%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a76a1650cf30355bd307195d382558a/href">https://medium.com/media/8a76a1650cf30355bd307195d382558a/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e20c00b63b2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/voice-tech-podcast/building-better-reads-8e20c00b63b2">Building Better Reads</a> was originally published in <a href="https://medium.com/voice-tech-podcast">Voice Tech Podcast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Predicting War and Plugging Leaks]]></title>
            <link>https://medium.com/@will.cotton4/predicting-war-and-plugging-leaks-54fa8c4768b6?source=rss-77961d77b288------2</link>
            <guid isPermaLink="false">https://medium.com/p/54fa8c4768b6</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[feature-engineering]]></category>
            <dc:creator><![CDATA[William Cotton]]></dc:creator>
            <pubDate>Fri, 05 Jul 2019 17:34:00 GMT</pubDate>
            <atom:updated>2019-07-05T17:34:00.422Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8LBkXbNDF6OqG9vxATirSg.jpeg" /></figure><p>Last week, I had the opportunity to participate in my first Build Week at Lambda School. I worked on a team with two other data scientists, two UI/UX designers, and three full-stack web developers on a week-long project modeling the probability of interstate conflicts based on pre-existing data. I’m quite pleased with the results, and it was a pleasure working with dedicated folks and learning about their workflows.</p><p>The first part of this process involved cleaning the data — fortunately for us, the COW database is well-maintained and already mostly cleaned. We just needed to impute NaN’s where appropriate, as well as delete variables containing strictly administrative data (like where the data came from — possibly useful in the model, but required too much cleaning to be a good use of time during a Build Week).</p><p>At least, the data seemed clean at first.</p><p>When we ran our model, we discovered we were performing slightly <em>too</em> well — it was predicting conflict status with 100% accuracy!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*yPWtlXW8dZ0k_N1WkSFBfQ.png" /><figcaption>Hmm…</figcaption></figure><p>Now, we’re pretty good at this, but alas, not that good (yet).</p><p>I quickly discovered that we left in several leaky variables — variables that hid some information that we wouldn’t have been able to know before the record had been observed.</p><p>The most obvious of these was “warnum” — a variable that contained a number indicating which war the pair of countries was in in a given year. Of course, if this value is empty, the countries are not at war. But that doesn’t give us any predictive value; if we know the “warnum” and has a value, obviously the country is at war, and if it doesn’t have value, it isn’t.</p><p>Other leaks were harder to detect. In our trade and materials datasets, we had variables measuring exports, imports, and expenditures on military personnel — all of which were highly important in our model. But these values were recorded at the end of a given year, so again they lack predictive power. A model predicting whether a war has happened in a country in the last year is, unfortunately, not too valuable (though if you’re interested, we can certainly help…).</p><p>I didn’t want to drop the features entirely — they’re too important. Instead, I did some feature engineering: we replaced each of the future-telling variables with the same values — but shifted back a year. Now our model uses time-lagged data to predict whether a conflict will begin — or continue — into the next year.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4a68a790647ca11132b01fe8eb1cd56c/href">https://medium.com/media/4a68a790647ca11132b01fe8eb1cd56c/href</a></iframe><p>I also took some time to apply some similar logic to create additional features; I included in each record information on trade data from five years prior, as well as a measure indicating whether the country was operating at a trade surplus or deficit.</p><p>With our data cleaned and merged, our leaks plugged, and our features engineered, we managed to get around 97.7% accuracy — around 10% higher than our majority class baseline, where we just used a naive prediction that every record would indicate that a country wasn’t at war, since that outcome is more likely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*x4hknJpXiFrUz_MpqkuxwA.png" /><figcaption>Not too bad.</figcaption></figure><p>If I were to run through this project again, I’d think about expanding the predictive model to include variables other than a strict yes/no on whether the country is in a conflict with another country. I might include, for example, predictions on battle deaths or the duration of pre-existing conflicts. As with this project, however, the most important step in developing a robust model will likely be carefully cleaning the data and engineering appropriate features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YaxvIQ1hSMlad941ZqnYDA.png" /><figcaption>Final website design created by web dev team displaying our predictions along with other data.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54fa8c4768b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why You Should Spend More Time Chasing Wild Geese]]></title>
            <link>https://medium.com/@will.cotton4/why-you-should-spend-more-time-chasing-wild-geese-35140547e4bd?source=rss-77961d77b288------2</link>
            <guid isPermaLink="false">https://medium.com/p/35140547e4bd</guid>
            <category><![CDATA[improv]]></category>
            <category><![CDATA[research]]></category>
            <dc:creator><![CDATA[William Cotton]]></dc:creator>
            <pubDate>Thu, 30 May 2019 19:21:36 GMT</pubDate>
            <atom:updated>2019-05-31T13:01:37.523Z</atom:updated>
            <content:encoded><![CDATA[<h4>Knowing how to find what you’re looking for is great. Knowing how to find what you’re not looking for is exceptional.</h4><p>There’s a lot to be said for quickly getting where you’re going.</p><p>There are deadlines to meet, e-mails to send, always another skill to be learned or contact to be made. Life is short. Our working hours are shorter. If we already know where we need to be, why waste any time getting there?</p><p>Here’s the problem. <strong>Do you really know where you need to be?</strong></p><p>Think carefully before you answer.</p><p>I’m not talking about finding out what the weather’s going to be like tomorrow or who’s running for president. I mean to ask: do you really know what will be relevant to whatever you’re trying to research?</p><p>Consider Meno’s Paradox (borrowed from Plato):</p><blockquote><strong>Meno</strong>: And how will you enquire, Socrates, into that which you do not know? What will you put forth as the subject of enquiry? And if you find what you want, how will you ever know that this is the thing which you did not know?</blockquote><blockquote><strong>Socrates</strong>: I know, Meno, what you mean; but just see what a tiresome dispute you are introducing. You argue that man cannot enquire either about that which he knows, or about that which he does not know; for if he knows, he has no need to enquire; and if not, he cannot; for he does not know the very subject about which he is to enquire.</blockquote><p>Tiresome dispute is right!</p><p>If you’re not already an expert in your field, how can you trust yourself to find the information most relevant or interesting to your project? If you ARE an expert, your search is going to be dictated by what you already know about your field — and finding truly surprising information or coming up with interesting work is going to be difficult.</p><p>The knowledge trap is actually easier to fall into now that we have access to more of the corpus of human knowledge than has ever been available before. If a question’s been asked and answered before, you can probably find that answer fairly easily.</p><p>Unfortunately, knowing the right question to ask is itself a challenge. The obvious questions often do have easily available answers — which means whatever work you produce for them is going to be fundamentally derivative. There’s nothing necessarily wrong with that; there’s great value in reformulating ideas from different perspectives. But sometimes reformulating ideas isn’t enough. Sometimes pre-existing ideas aren’t enough.</p><p><strong>Chase more wild geese.</strong></p><p>Trust your curiosity. Introduce variance in your searches. Find the answers to the obvious questions first, learn what you can from them, and use that information to formulate better questions.</p><p><strong>Use A-to-C thinking.</strong></p><p>I’m a big fan of improv comedy. It’s a perfect example of why it’s so important to introduce variance and personality in your life— and as such, a great way to learn how to become a more effective researcher.</p><p>One of the first things you’ll learn about if you take an improv class is <strong>A-to-C thinking</strong>.</p><p>In improv comedy, we start with a suggestion from the audience, which the performers use to spur their imagination. Novice performers often hear a suggestion — let’s say loofah — and then do a dozen scenes only about that suggestion. As you can imagine, there’s only so many interesting scenes to be had about loofahs, particularly from beginners.</p><p>So use <strong>A-to-C thinking</strong>: go two steps away from the original idea and create from there. Loofahs remind me of soap, soap reminds me of hair, so I start a scene about a hairdresser. Much more interesting than another scene about a loofah.</p><p>Here’s what this looks like as a tool for research. Suppose you’re interested in effective altruism. The obvious first questions are: what is effective altruism? Who are the important thinkers? The obvious first step is to get a solid grounding in those questions; there’s nothing wrong with starting by Googling “effective altruism”. First you might learn about <a href="https://www.centreforeffectivealtruism.org/">The Centre for Effective Altruism</a>, read <a href="https://en.wikipedia.org/wiki/Peter_Singer">Peter Singer</a>, or browse <a href="https://www.lesswrong.com/">Less Wrong</a> — all things you could probably find in the first half hour of research. These are all reasonable places to start. But to get a deeper understanding, to make yourself more likely to come up with something novel and interesting, take two steps back. Rather than continuing to follow the same trail of breadcrumbs, create a new trail.</p><p>Here’s how I think about it. From my perspective, the core of effective altruism is the question of human suffering: is it inevitable? Read <a href="https://www.goodreads.com/book/show/13543093-the-better-angels-of-our-nature?from_search=true">Better Angels of our Nature</a> to track the historical development of thought about suffering and violence. Is it even our <em>responsibility</em> to try to alleviate suffering when it’s in our power to do so? Read <a href="https://www.goodreads.com/book/show/24611937-strangers-drowning">Strangers Drowning</a> to find out what happens when doing good is taken to extremes, or maybe even read <a href="https://www.goodreads.com/book/show/1554.Oedipus_Rex?ac=1&amp;from_search=true">Sophocles</a> to learn about hubris.</p><p>Above all, <strong>think for yourself</strong>. There’s a reason this phrase is often unthinkingly repeated: it’s actually really good, rarely taken advice. You won’t know what connections you can make until you’ve followed your own curiosity and imagination where it leads you. If you spend enough time learning about a new field, you’ll have questions — <strong>listen to your own questions</strong>. They are a more effective study guide than anything already printed because nothing else reflects the state of your own understanding more clearly.</p><p>The point is that we never know when insights will occur or what new connections we can make until we make them. To paraphrase a Buddhist perspective: <strong>insight is an accident; try to become more prone to accidents.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35140547e4bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Finding Water in Tanzania: An Exploration]]></title>
            <link>https://medium.com/@will.cotton4/finding-water-in-tanzania-an-exploration-49b559d569c6?source=rss-77961d77b288------2</link>
            <guid isPermaLink="false">https://medium.com/p/49b559d569c6</guid>
            <category><![CDATA[tanzania]]></category>
            <dc:creator><![CDATA[William Cotton]]></dc:creator>
            <pubDate>Thu, 23 May 2019 21:34:48 GMT</pubDate>
            <atom:updated>2019-05-23T21:34:48.785Z</atom:updated>
            <content:encoded><![CDATA[<p>We’ve got this dataset with information about wells in Tanzania. We’d like to predict, based on forty or so features, the status of the well: is it working? Does it need repairs? Is it totally broken?</p><p>I was interested in seeing whether the top funders were likely to fund wells that tend to survive, and it looks like the results are mixed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*6X6oeLvzu-W5ZqyK68rGEg.png" /></figure><p>Different basins also have widely varying rates of success:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QYuLTKAFTAHajx7NVOWPzw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49b559d569c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Access to electricity in the developing world]]></title>
            <link>https://medium.com/@will.cotton4/access-to-electricity-in-the-developing-world-be32203c823d?source=rss-77961d77b288------2</link>
            <guid isPermaLink="false">https://medium.com/p/be32203c823d</guid>
            <category><![CDATA[energy]]></category>
            <dc:creator><![CDATA[William Cotton]]></dc:creator>
            <pubDate>Thu, 18 Apr 2019 16:08:06 GMT</pubDate>
            <atom:updated>2019-04-18T16:08:06.235Z</atom:updated>
            <content:encoded><![CDATA[<p>For most of us in the Western world, we take access to electricity as a given, and only rarely have to do without it. But in some parts of the world, access to electricity is far harder to come by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gz3Ejc0VwFPJQp2QGzvEyw.png" /></figure><p>For ten countries in 2017, more than 80% of the population lacked consistent access to electricity (according to the World Bank’s Africa Development Indicators).</p><p>It’s hard to imagine coming up with innovative ideas in a 21st-century economy when you have trouble consistently getting access to electricity.</p><p>What’s more, these countries depend to a disproportionate degree on agriculture for their national production:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IBk8QLrh9V3x_C8Vv5MeDA.png" /></figure><p>When so much of a country’s economy depends on agriculture, not only is it less likely for a given individual to have the time to learn, for example, how to program, it’s also less likely that they will be able to build an organization that can meaningfully compete with organizations from countries with more established systems of infrastructure and social capital. This problem is made worse by the phenomenon of brain drain, where the most talented individuals in a society understandably pursue opportunities elsewhere, resulting in a community with even fewer opportunities.</p><p>In many countries, genius and drive are not necessarily enough to escape poverty. If one’s continued existence depends on the quality of this year’s harvest, it isn’t shocking to find that the ability to take economic risks is selected against in the aggregate. Avoiding unnecessary risks — like, in some countries, starving to death, or dying of what we in the West consider minor annoyances like diarrhea — is a perfectly rational response to a situation that is difficult for most of us to fathom.</p><p>These observations are preliminary, to be sure, but they are suggestive. In further blog posts, I plan to investigate more precisely the relationship between social capital and opportunities for entrepreneurship and economic growth.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be32203c823d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Belief]]></title>
            <link>https://medium.com/@will.cotton4/belief-2eb39b74df01?source=rss-77961d77b288------2</link>
            <guid isPermaLink="false">https://medium.com/p/2eb39b74df01</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[William Cotton]]></dc:creator>
            <pubDate>Thu, 11 Apr 2019 15:48:07 GMT</pubDate>
            <atom:updated>2019-04-11T15:48:07.142Z</atom:updated>
            <content:encoded><![CDATA[<p>What role does data science play in helping us define and refine our beliefs? How much do our conclusions result from principled analysis? How much from unconscious desires to justify what we would have believed anyway?</p><p>Belief is on slippery epistemic ground. I would like to believe, for example, that my frameworks for perceiving and interpreting the world are subject to some kind of quasi-Bayesian persistent updating, that I, a child of the Enlightenment, for all my flaws, am capable of rejecting or modifying my intellectual models of the world, if not overriding my gut intuitions. Data science, I would like to believe, is but another pick fit for chiseling away the imperfections, sharpening the edges, and revealing ever finer forms of the Truth, or at least of my truth. I would like to believe that by offloading the burden of discernment to a computer, to a science, to some other prosthesis of consciousness, I can shake off the distinctive mantle of my own subjectivity and see What Really Is. Would that it were so.</p><p>In fact, I am convinced (I have convinced myself) that we find only the answers we seek. The more skillfully I deploy my tools, the more tightly I wrap the blindfold around my eyes to conceal what my left hand has wrought for my right. I see in the truths I have created Truth, aware of the presence but unconscious of the nature of my self-deception.</p><p>What, then, is the value of a science of data? The value is in the dawn of recognition that all our experiences, so many incomplete, distorted observations, need cleaning. A useful model needs accurate data, a fair amount of it; but accurate relative to what? We may have a perfectly cleaned dataset, accurate to whatever degree we like in its measurements, but if we have chosen to record observations according to our own caprice, it will be far more dangerous in our hands than data we know to be flawed precisely because of our belief, perhaps even borne out by the weight of experience, in the comfort of clean data. Without a resilient model of our own cognition, all our other models will be subject to capture by subjective motivations, perhaps not even our own but someone else’s, mutated beyond recognition even as motivations. We call these distorted models our method. Our method, too, needs cleaning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2eb39b74df01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Intuition]]></title>
            <link>https://medium.com/@will.cotton4/intuition-a4a8abb5d206?source=rss-77961d77b288------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4a8abb5d206</guid>
            <category><![CDATA[intuition]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[William Cotton]]></dc:creator>
            <pubDate>Mon, 18 Mar 2019 20:45:34 GMT</pubDate>
            <atom:updated>2019-03-18T20:45:34.718Z</atom:updated>
            <content:encoded><![CDATA[<p>One of my primary intellectual interests is intuition: how do we develop it? What processes and physical properties underlie our “meta-intuition” — our ability (or, sometimes, lack thereof) to nourish an intuition from first cognitive sketches to more robust models to something that looks like a complete picture? Can we consciously direct the development of our intuition? To what extent are we controlled by biological constraints, psychological neuroses, and social concerns?</p><p>My interest in data science is not separate from my interest in intuition. I see my development as a data scientist as the slow work of translating not just my intuition as a human (or even more precisely the intuitions of how to solve particular problems, or to model certain situations), but as the larger project of importing my meta-intuition, my intuition about intuition, into a precise and explicit model.</p><p>We humans learn naturally, almost compulsively; we can’t help ourselves. Probably most of us who spent our formative years on the Internet have seen our fair share of things we’d like to forget, but our brains are so efficient, so ruthlessly, greedily preoccupied with assimilating and categorizing new information that we might wish (or I do, at least) that we were a little worse at assimilating and categorizing, that we could maybe make fewer connections to unpleasant memories, or at least that we were a little better at forgetting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4a8abb5d206" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>