<?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 Jesse Bridgewater on Medium]]></title>
        <description><![CDATA[Stories by Jesse Bridgewater on Medium]]></description>
        <link>https://medium.com/@drbridgewater?source=rss-ec8eb1289204------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8TVoj80UDI2BE3W6.jpg</url>
            <title>Stories by Jesse Bridgewater on Medium</title>
            <link>https://medium.com/@drbridgewater?source=rss-ec8eb1289204------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 12:55:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@drbridgewater/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[The surprising reason to hire only A-players]]></title>
            <link>https://medium.com/@drbridgewater/the-surprising-reason-to-hire-only-a-players-3b497c1a5b7f?source=rss-ec8eb1289204------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b497c1a5b7f</guid>
            <dc:creator><![CDATA[Jesse Bridgewater]]></dc:creator>
            <pubDate>Thu, 12 Feb 2015 19:56:22 GMT</pubDate>
            <atom:updated>2015-02-19T23:53:15.934Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HcGgyW0CKayEJXqFk1N7aA.png" /><figcaption>If you have a problem, if no one else can help, and if you can find them, <strong>maybe</strong> you can hire the A-Team.</figcaption></figure><h3>The surprising reason to hire A-players</h3><p>Having a team full of star performers has a lot of really obviously benefits. Reed Hastings, Jeff Bezos and other prominent tech leaders have talked so much about this notion that it is now Silicon Valley orthodoxy to have a high bar when hiring and to never compromise. I think this idea is important, but I have a different take on why. Whether you can build a team of stars hinges on how candidates evaluate you rather than how you evaluate them. But before I go into that I will recap the standard tech industry “hows” and “whys” of maintaining a high bar.</p><h4>“High bar” hiring wisdom from Silicon Valley</h4><ol><li>When making hiring decisions, <strong>maybe = no</strong> [<a href="https://twitter.com/dtunkelang">@dtunkelang</a> , LinkedIn]</li><li>New hires should be better than existing staff [Amazon]</li><li>Only hire people you admire [Amazon]</li><li>Hire passionate people [Google, Amazon]</li><li>Hire by committee to ensure peer-review [Google]</li><li>Instead of laying off the bottom 10% every year, avoid hiring them in the first place [Google, Netflix]</li></ol><p>These are just a few examples of how some big tech companies work to maintain a high bar. Maybe even more interesting though are the reasons why they do this.</p><h4>Recap of the Netflix/Google/Amazon reasons to hire A-players</h4><ol><li>A-players want to work with other A-players.</li><li>Only A-players can be allowed the freedom needed to run large but nimble organizations.</li><li>A-players in creative roles are 10X more effective than B-players.</li><li>Talent density has to increase faster than business complexity to avoid crushing bureaucracy.</li></ol><p>So there are some clear practices and benefits to hiring great people. What am I adding to this discussion? There is another reason to have high standards in hiring that took me a while to figure out and has nothing to do with building a great team that can deliver results.</p><h4>Every A-player you hire validates your mission</h4><p>In order to attract great people you are forced to explain why your mission is amazing and why the most exciting opportunities are in your team and not somewhere else. If your team’s mission and your company mission are not amazing and well-stated in the first recruiter message on LinkedIn then your applicant pool already has an adverse-selection bias. All the A-players you are interviewing will have other great options. They are interviewing you to see if you have the mission and chance for impact.</p><blockquote>In the same way that attracting investors is a good validation for a startup, attracting A-players validates your team’s mission and company’s mission. If you lower the bar on hiring you could be protecting a weak mission that is repelling top talent.</blockquote><p>Long ago, in a previous role I was trying to hire some very talented mid-career data scientists and I offered them great pay, great technical challenges, freedom to work on cutting edge machine-learning problems, great technology and the chance to work with fantastic co-workers. We did a lot of screens and interviews and winnowed down to three potential stars. I made offers to each of the three but they all accepted jobs at other big Silicon Valley companies. After talking a lot to each person it became clear that my mission was less exciting and impactful than what each person saw at those other places. It was not about money or the quality of the team they would work with. It was about my mission and the mission of the company that was not exciting enough. After some soul-searching I agreed with them. This was a wake-up call for me and helped me decide to make big changes.</p><h4><strong><em>MAYBE </em></strong><em>you can hire the A-Team</em></h4><p>Coming back to the classic 80&#39;s TV series <a href="http://www.imdb.com/title/tt0084967/">The A-Team</a> is actually helpful. The team always triumphed over much bigger adversaries because each member was a world-leading expert. But they were mission-driven. They would not work for just anyone. They wanted to do the right thing and have a positive impact on the world (while keeping Mr. T in gold chains).</p><blockquote>“If you have a problem, if no one else can help, and if you can find them, <strong>MAYBE</strong> you can hire the A-Team.”</blockquote><p>It all depends on whether you have the right mission that they can’t refuse.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b497c1a5b7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Filter Joins]]></title>
            <link>https://medium.com/@drbridgewater/filter-joins-d73f2627ae14?source=rss-ec8eb1289204------2</link>
            <guid isPermaLink="false">https://medium.com/p/d73f2627ae14</guid>
            <dc:creator><![CDATA[Jesse Bridgewater]]></dc:creator>
            <pubDate>Sat, 22 Mar 2014 06:29:44 GMT</pubDate>
            <atom:updated>2014-03-22T06:29:44.787Z</atom:updated>
            <content:encoded><![CDATA[<p>If you store complex objects in Hadoop to abstract away the complexities of your logs (and you are doing that right?) then you want to be able to do deep joins. By this I mean you are not joining on common values but based on potentially complex computations on the elements that you are joining.</p><p>Here is a simple illustration in the context of search. <a href="https://gist.github.com/drbridgewater/9701535">https://gist.github.com/drbridgewater/9701535</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d73f2627ae14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reservior Sampling]]></title>
            <link>https://medium.com/3am-data-questions/reservior-sampling-39cda3662a15?source=rss-ec8eb1289204------2</link>
            <guid isPermaLink="false">https://medium.com/p/39cda3662a15</guid>
            <dc:creator><![CDATA[Jesse Bridgewater]]></dc:creator>
            <pubDate>Tue, 25 Feb 2014 23:18:55 GMT</pubDate>
            <atom:updated>2014-02-26T00:27:15.077Z</atom:updated>
            <content:encoded><![CDATA[<h4>Keeping fixed-size random samples of streams</h4><p>This is a cute algorithm that you do not often need to use but does come in handy once in a while. If you have a fixed size sample budget (1000 pageview, tweets, etc) and a large stream of data that you want to sample (100,000,000 queries per day). You could wait to see the whole data and load it into memory and take a simple random sample of the data. But this eventually becomes impractical as the data gets larger. With this approach you never need more memory than your sample requires but you still get a statistically valid sample at every step.</p><p>Key ideas:</p><ol><li>Add the first K element of your stream to the sample</li><li>For the rest of the stream you replace a random element of the sample with the current element proportionally to ratio of the sample size to the current size of the stream.</li></ol><p>This is concisely summarized with the following R code. R is a crazy language for a reservoir sample, but I’ll leave that for another post.</p><pre>K &lt;- 500<br>N &lt;- 10000</pre><pre># sort the normal random variable<br># sampling does not care which observations come first<br>data &lt;- sort(rnorm(N))</pre><pre>res &lt;- numeric(0)<br>for (i in 1:K) {<br> res &lt;- c(res, data[i])<br>}<br>for (i in (K + 1):N) {<br> rn &lt;- sample.int(i, 1)<br> if (rn &lt;= K) <br> res[rn] &lt;- data[i]<br>}</pre><p>The output of the reservoir sample is normal as seen on the q-q plot of the sample vs the normal distribution.</p><p>Depending on your needs you might want to hash rather than sample. Oscar Boykin has a <a href="https://speakerdeck.com/johnynek/algebra-for-analytics">nice talk</a> with that as a theme.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*FeyEopfZXZ0G-ysQSaQsiQ.jpeg" /><figcaption>The input data is normal, but I sort it before I feed it to the reservoir sampler just to show that the reservoir does not care about the order of the events and still produces a normal sample.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39cda3662a15" width="1" height="1" alt=""><hr><p><a href="https://medium.com/3am-data-questions/reservior-sampling-39cda3662a15">Reservior Sampling</a> was originally published in <a href="https://medium.com/3am-data-questions">3AM Data Questions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monoids]]></title>
            <link>https://medium.com/3am-data-questions/monoids-e60a9133c790?source=rss-ec8eb1289204------2</link>
            <guid isPermaLink="false">https://medium.com/p/e60a9133c790</guid>
            <dc:creator><![CDATA[Jesse Bridgewater]]></dc:creator>
            <pubDate>Mon, 24 Feb 2014 21:52:09 GMT</pubDate>
            <atom:updated>2014-02-24T21:52:09.751Z</atom:updated>
            <content:encoded><![CDATA[<h4>1+(2+3)=(1+2)+3</h4><p>What are semi-groups and monoids and why should data scientists care?</p><p>Algebra is a big subject and most data-loving people that I have met (who are not Mathematicians) get a look of terror if you say the word semi-group. Most people can safely ignore fields, rings, groups and other topics (although they are easy too) but if you work with data you should know what semi-groups and monoids are and why your data analysis code already uses them extensively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*7viA18kXg9Y-2UjyTF2Rxg.jpeg" /></figure><p>A lot of data science is counting really big things. And to make this scalable you want to be able to parallelize your operations. Semi-groups have associativity and that increases parallelism exponentially on the size of the input data. The dominant example is addition. Addition is associative: (1+2)+3 = 1+(2+3)=6 in the sense that you can add adjacent pairs in any order you like. Adding numbers with zero (as the identity element) gives you a monoid (is commutative as well).</p><p>Lots of cool things are semi-groups or monoids:</p><ul><li>Addition of non-negative numbers</li><li>OR</li><li>MIN/MAX</li><li>Concatenating strings</li><li>lots more complicated things are are built on +,min, max, etc (hyperloglog, CM Sketch, …)</li></ul><p>When the things you want to compute are monoids you have a lot of flexibility. For instance if you are computing something in hadoop, you can put any monoidal compontents into map-side aggregations. This is obvious for counting words, but is less obvious for hyperloglog. Being able express your problem in terms of monoids simplifies any logic for parallelizing code.</p><p>So when someone wakes you in the middle of the night and wants to know why monoids are important you just say “associativity” and go back to bed.</p><p>There are tons of deeper resources on the web about this topic:</p><ul><li><a href="https://speakerdeck.com/johnynek/algebra-for-analytics">https://speakerdeck.com/johnynek/algebra-for-analytics</a></li><li><a href="http://www.cs.unm.edu/~saia/561-f11/lec/lec2.pdf">http://www.cs.unm.edu/~saia/561-f11/lec/lec2.pdf</a></li><li><a href="http://arxiv.org/pdf/1304.7544v1.pdf">http://arxiv.org/pdf/1304.7544v1.pdf</a></li><li>…</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e60a9133c790" width="1" height="1" alt=""><hr><p><a href="https://medium.com/3am-data-questions/monoids-e60a9133c790">Monoids</a> was originally published in <a href="https://medium.com/3am-data-questions">3AM Data Questions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>