<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CEQCSX46eSp7ImA9WhRVGEk.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732</id><updated>2012-01-17T15:19:28.011-08:00</updated><category term="parallel computing" /><category term="courses" /><category term="ai" /><category term="causality" /><category term="basketball" /><category term="dannys_predictions" /><category term="books" /><category term="data structure" /><category term="challenge problem" /><category term="lawyers" /><category term="toronto" /><category term="methodology" /><category term="art" /><category term="analytics" /><category term="ranking" /><category term="algorithms" /><category term="uncertainty" /><category term="memorization" /><category term="hadoop" /><category term="classification" /><category term="linear_programming" /><category term="psychology" /><category term="online marketing" /><category term="pain machine" /><category term="taxes" /><category term="netflix" /><category term="data analysis" /><category term="scipy" /><category term="schools" /><category term="sports" /><category term="scrabble" /><category term="probability" /><category term="c++" /><category term="talent" /><category term="dynamic algorithms" /><category term="computation" /><category term="displaying code" /><category term="san francisco" /><category term="career choice" /><category term="success" /><category term="APIs" /><category term="incentives" /><category term="public_relations" /><category term="rationality" /><category term="controversies" /><category term="social networks" /><category term="summer school" /><category term="nearest neighbors" /><category term="buildings" /><category term="theoretical computer science" /><category term="march_madness" /><category term="conversation starters" /><category term="the_webs" /><category term="statistics" /><category term="mcmc" /><category term="chess" /><category term="conferences" /><category term="MAP_inference" /><category term="google" /><category term="randomness" /><category term="auctions" /><category term="nutsandbolts" /><category term="structured prediction" /><category term="advertising" /><category term="military" /><category term="the real world" /><category term="beginners" /><category term="data visualization" /><category term="image_processing" /><category term="python" /><category term="biology" /><category term="lake oswego rental" /><category term="public transportation" /><category term="scott turner" /><category term="max_product_belief_propagation" /><category term="belief propagation" /><category term="code" /><category term="football" /><category term="horse racing" /><category term="learning" /><category term="artificial intelligence" /><category term="science" /><category term="linux" /><category term="computational complexity" /><category term="logistic regression" /><category term="protocol_buffers" /><category term="math" /><category term="recommendation systems" /><category term="emacs" /><category term="research" /><category term="robotics" /><category term="bayesian models" /><category term="programming" /><category term="politics" /><category term="sympy" /><category term="videos" /><category term="graduate school" /><category term="slice sampling" /><category term="matrix factorization" /><category term="graphical_models" /><category term="distributed computing" /><category term="databases" /><category term="seo" /><category term="economics" /><category term="blogger" /><category term="computer vision" /><category term="web2.0" /><category term="constraint_satisfaction" /><category term="george" /><category term="web_security" /><category term="twitter" /><category term="regularization" /><category term="history" /><category term="gambling" /><category term="machine learning" /><category term="data" /><category term="markets" /><category term="sociology" /><category term="energy use" /><category term="medicine" /><title>This Number Crunching Life</title><subtitle type="html">Randomness in the world with a smattering of other randomness</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.smellthedata.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>151</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/ThisNumberCrunchingLife" /><feedburner:info uri="thisnumbercrunchinglife" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkAGQnoycCp7ImA9WhdQEEQ.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-5855682003026300474</id><published>2011-08-11T13:58:00.000-07:00</published><updated>2011-08-11T14:38:43.498-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T14:38:43.498-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mcmc" /><category scheme="http://www.blogger.com/atom/ns#" term="slice sampling" /><category scheme="http://www.blogger.com/atom/ns#" term="machine learning" /><category scheme="http://www.blogger.com/atom/ns#" term="bayesian models" /><title>Testing Intuitions about Markov Chain Monte Carlo: Do I have a bug?</title><content type="html">For one project I've been working on recently, I'm using a Markov Chain Monte Carlo (MCMC) method known as &lt;a href="http://en.wikipedia.org/wiki/Slice_sampling"&gt;slice sampling&lt;/a&gt;.   There are some good tutorials, examples, and implementations out there (e.g., by &lt;a href="http://homepages.inf.ed.ac.uk/imurray2/teaching/09mlss/"&gt;Iain Murray&lt;/a&gt; or &lt;a href="http://www.cs.toronto.edu/~radford/slice.software.html"&gt;Radford Neal&lt;/a&gt;), but for various reasons, I wanted to implement my own version.
&lt;br/&gt;&lt;br/&gt;
Now, debugging MCMC algorithms is somewhat troublesome, due to their random nature and the fact that chains just sometimes &lt;a href="http://en.wikipedia.org/wiki/Markov_chain_mixing_time"&gt;mix slowly&lt;/a&gt;, but there are some good ways to be pretty sure that you get things right.  For example, the &lt;a href="http://qed.econ.queensu.ca/pub/faculty/ferrall/quant/papers/04_04_29_geweke.pdf"&gt;Geweke method&lt;/a&gt; is highly regarded as _the_ method to make sure you're getting it right.  So this exercise is not actually really about debugging.  It's more about testing intuitions about the behavior of a sampler.
&lt;br/&gt;&lt;br/&gt;
With that out of the way, on to the question:&lt;br/&gt;
I implemented my sampler, initialized it with small random numbers for the parameters, and set it running on a simple test model (which I'm intentionally not describing in detail).  One high level statistic that is relevant to look at is the (log) probability of samples versus iteration of the sampler, so I made that plot.  It looks like this:&lt;br/&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-2XrtQfyRofc/TkRGTue1a4I/AAAAAAAABEI/PXCViZzuSvo/s1600/prob_trace_for_blog.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/-2XrtQfyRofc/TkRGTue1a4I/AAAAAAAABEI/PXCViZzuSvo/s400/prob_trace_for_blog.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5639709938083523458" /&gt;&lt;/a&gt;

This plot looks a bit surprising.  Upon initialization, the sampler moves directly to regions of space that have very low probability (remember, this is a _log_ probability*), and it appears to just keep going to exponentially less and less probable regions.  The point of a sampler is that it should spend an amount of time in a state in proportion to the state's probability.  And this sampler is making a beeline to a state that is e^-600 times less probable than where it started.
&lt;br/&gt;&lt;br/&gt;
So here's the question: do I have a bug?  In other words, if you were my supervisor and I came to you with this plot, would you dismiss this plot and send me back to debugging.  If not, explain how this possibly could make sense.
&lt;br/&gt;&lt;br/&gt;
I'll post my answer sometime in the next couple days.

&lt;br/&gt;&lt;br/&gt;
* I'm leaving out constants, so the graph would be shifted down (but wouldn't change shape or scale) if I was including all the constants.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-5855682003026300474?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X7EwHk9nWsEhZMZlsey8XAGs2Tg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X7EwHk9nWsEhZMZlsey8XAGs2Tg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X7EwHk9nWsEhZMZlsey8XAGs2Tg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X7EwHk9nWsEhZMZlsey8XAGs2Tg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/Nk5lsS-_Als" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/5855682003026300474/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=5855682003026300474" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/5855682003026300474?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/5855682003026300474?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/Nk5lsS-_Als/testing-intuitions-about-markov-chain.html" title="Testing Intuitions about Markov Chain Monte Carlo: Do I have a bug?" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-2XrtQfyRofc/TkRGTue1a4I/AAAAAAAABEI/PXCViZzuSvo/s72-c/prob_trace_for_blog.png" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/08/testing-intuitions-about-markov-chain.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAHQ3g8fip7ImA9WhZRFEs.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-3862217420283787892</id><published>2011-04-10T11:37:00.001-07:00</published><updated>2011-04-10T11:38:52.676-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-10T11:38:52.676-07:00</app:edited><title>Crawling Code</title><content type="html">&lt;p&gt;One of the contestants requested that I upload the code to crawl the boxscores. I have done so and it is available on github: &lt;a href="https://github.com/leezen/boxscore-crawler"&gt;https://github.com/leezen/boxscore-crawler&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that Yahoo changed its format starting around March 10th and the code uses the flag to get the old boxscore format. It is unclear how long this option will remain available from Yahoo.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-3862217420283787892?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LYaT4MpdtvER4NrxPRBFy-IVeHs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LYaT4MpdtvER4NrxPRBFy-IVeHs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LYaT4MpdtvER4NrxPRBFy-IVeHs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LYaT4MpdtvER4NrxPRBFy-IVeHs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/c8LkgiOWabU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/3862217420283787892/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=3862217420283787892" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/3862217420283787892?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/3862217420283787892?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/c8LkgiOWabU/crawling-code.html" title="Crawling Code" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/04/crawling-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcAQ3Y8eyp7ImA9WhZRFEg.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-6994575445129067438</id><published>2011-04-10T10:42:00.001-07:00</published><updated>2011-04-10T10:54:02.873-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-10T10:54:02.873-07:00</app:edited><title>2011 Predictive Analytics Challenge Winner</title><content type="html">&lt;p&gt;We knew it would be a machine, but we didn't know which one until UConn's victory ensured The Pain Machine the title as &lt;b&gt;winner&lt;/b&gt; of the 2011 March Madness Predictive Analytics Challenge! Congraulations to Scott Turner and his entry on the victory -- his second in a row! He will be receiving a $25 gift certificate to Amazon.com. It doesn't sound like he'll be resting on his laurels as he's started a &lt;a href="http://netprophetblog.blogspot.com/"&gt;blog&lt;/a&gt; that will detail further development of his system.&lt;/p&gt;
&lt;p&gt;Thank you to all the participants and entrants this year. We would love to know how you thought the contest went, how we can improve for next year, and any other feedback you might have! We look forward to your participation again next year!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-6994575445129067438?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/g-TPB-fhuR3u6CZb-WZ1D-2W35o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/g-TPB-fhuR3u6CZb-WZ1D-2W35o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/g-TPB-fhuR3u6CZb-WZ1D-2W35o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/g-TPB-fhuR3u6CZb-WZ1D-2W35o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/8pldI17CpS8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/6994575445129067438/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=6994575445129067438" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/6994575445129067438?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/6994575445129067438?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/8pldI17CpS8/2011-predictive-analytics-challenge.html" title="2011 Predictive Analytics Challenge Winner" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/04/2011-predictive-analytics-challenge.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkINSX84eyp7ImA9WhZSE0k.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-6555941734949898522</id><published>2011-03-27T16:20:00.000-07:00</published><updated>2011-03-28T12:29:58.133-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-28T12:29:58.133-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>2011 Algorithmic March Madness: Machines Lock in Victory over Humans</title><content type="html">Well that was an exciting and surprising weekend of basketball.  &lt;a href="http://scores.espn.go.com/ncb/recap?gameId=310850057"&gt;(8)Butler beat (2)Florida in overtime&lt;/a&gt;, and &lt;a href="http://sports.espn.go.com/ncb/recap?gameId=310862305"&gt;(11)Virginia Commonwealth handily took care of (1)Kansas&lt;/a&gt;, eliminating the last remaining #1 seed.  Rounding out the Final Four are &lt;a href="http://scores.espn.go.com/ncb/boxscore?gameId=310850041"&gt;(3)UConn&lt;/a&gt; and &lt;a href="http://sports.espn.go.com/ncb/recap?gameId=310860153"&gt;(4)Kentucky&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
March Madness is usually good for some Cinderella stories, but this Final Four seems particularly improbable.  There are no #1 seeds remaining (this has been the case 3 times in March Madness history, according to the TV announcers), and never before have teams seeded as low as #11 and #8 met in a Final Four game.
&lt;br/&gt;&lt;br/&gt;
None of the entries in our second annual &lt;a href="http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html"&gt;March Madness Algorithm Challenge&lt;/a&gt; saw this amount of madness coming.  Two entrants correctly predicted that (3)UConn would make the final four (Team Delete Kernel and The Pain Machine), but no other algorithms or baselines got any Final Four teams correct.  In fact, the only entry that has any more chance at points is The Pain Machine, which has UConn winning one more game.
&lt;br/&gt;&lt;br/&gt;
So the question of which algorithm will win the contest is still not settled: a UConn victory on April 2, and The Pain Machine walks home with the prize; a UConn loss, and Team Delete Kernel is our winner.
&lt;br/&gt;&lt;br/&gt;
What &lt;b&gt;is&lt;/b&gt; settled at this point is that a machine will claim victory over the human-aided competition.  The human baselines include our commissioner Lee's bracket; the Higher Seed bracket (where the human intervention came via the committee that chose seeds); and the &lt;a href="http://fivethirtyeight.blogs.nytimes.com/2011/03/14/how-we-made-our-n-c-a-a-picks/"&gt;Nate Silver baseline&lt;/a&gt;, which was a part-human, part-computer effort.
&lt;br/&gt;&lt;br/&gt;
To give you an idea of the potentially winning methodologies, Scott Turner (The Pain Machine) describes his approach &lt;a href="http://blog.smellthedata.com/2011/03/dr-scott-turner-on-march-madness-pain.html"&gt;here&lt;/a&gt;, and Kevin Lee (Team Delete Kernel) based his model on the method described &lt;a href="http://blog.smellthedata.com/2011/03/algorithms-2011-march-madness.html"&gt;here&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
So it's premature to congratulate a winner yet, but let me tritely say that&lt;a href="http://www.youtube.com/watch?v=Skfw282fJak&amp;feature=related"&gt; I, for one, welcome our new March Madness algorithm overlords&lt;/a&gt;.
&lt;pre&gt;
ENTRANT                         R1  R2  R3  R4  R5  Winner      Pts  Possible
Team Delete Kernel              23  20  16  8   -   Ohio St.    67   67
Human (Lee)*                    25  18  16  0   -   Kansas      59   59
Baseline (Higher Seed)*         25  20  12  0   -   Ohio St.    57   57
The Pain Machine                19  18  8   8   -   Kansas      53   69
Baseline (Nate Silver)*         25  20  8   0   -   Ohio St.    53   53
InItToWinIt                     22  20  8   0   -   Kansas      50   50
Baseline (TrueSkill)            26  18  4   0   -   Ohio St.    48   48
Danny's Dangerous Picks         22  16  8   0   -   Duke        46   46
Baseline (LRMC)                 25  16  4   0   -   Ohio St.    45   45
DukeRepeats                     23  16  4   0   -   Duke        43   43
Point Differential Centrality   23  16  4   0   -   Ohio St.    43   43
dirknbr1                        23  8   4   0   -   Ohio St.    35   35

* Denotes human-involvement.
&lt;/pre&gt;

You can see the full brackets &lt;a href="http://tournament.fantasysports.yahoo.com/t1/group/55350/"&gt;here&lt;/a&gt;.  Also, there is a second, Sweet 16 contest that we haven't mentioned lately.  Stay tuned for an update on that front.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-6555941734949898522?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RPq6tiP041x0JIi_7d1jn4QirOM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RPq6tiP041x0JIi_7d1jn4QirOM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RPq6tiP041x0JIi_7d1jn4QirOM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RPq6tiP041x0JIi_7d1jn4QirOM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/jCb_32ZJPGk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/6555941734949898522/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=6555941734949898522" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/6555941734949898522?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/6555941734949898522?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/jCb_32ZJPGk/2011-algorithmic-march-madness-machines.html" title="2011 Algorithmic March Madness: Machines Lock in Victory over Humans" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/2011-algorithmic-march-madness-machines.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IESHo9cSp7ImA9WhZSFk0.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-2319680094058083921</id><published>2011-03-25T21:59:00.000-07:00</published><updated>2011-03-31T15:11:49.469-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-31T15:11:49.469-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Algorithmic March Madness: Elite 8 Update</title><content type="html">The Sweet 16 saw some major upsets, with two of the remaining three number one seeds falling.  Perhaps most impressive was Arizona's (5 seed) 93-77 thumping of Duke (1 seed).  In the Elite 8, we have the following seeds: 4, 2, 5, 3, 1, 11, 8, 2.
&lt;br/&gt;&lt;br/&gt;
No entrants predicted that &lt;span style="text-decoration: line-through;"&gt;Baylor&lt;/span&gt; Butler (8 seed) or VCU (11 seed) would have made it this far, but we're starting to see the first signs of weakness in the Higher Seed and Nate Silver baselines.  At this point, our Commissioner's human-chosen baseline bracket is tied for first with Team Delete Kernel's algorithmically chosen bracket.  Don't count out InItToWinIt or The Pain Machine quite yet, though.  I haven't worked through all the scenarios, but if Kansas wins it all and Arizona beats UConn, InItToWinIt has a good shot at the title.  If UConn makes it to the final game, The Pain Machine is looking strong.  And if Kentucky wins it all, Team Delete Kernel looks to have at least a share of the title locked up.  Interestingly, I haven't been able to find a potential outcome where any baseline other than Lee's human-chosen bracket has a chance at the title.  So after a tough start, the algorithmically-chosen brackets are making their move!
&lt;br/&gt;&lt;br/&gt;
Currently, here are the standings:
&lt;pre&gt;
ENTRANT                         R1  R2  R3  R4  R5  Winner      Pts  Possible
Human (Lee)                     25  18  16  -   -   Kansas      59   131
Team Delete Kernel              23  20  16  -   -   Ohio St.    59   91
Baseline (Higher Seed)          25  20  12  -   -   Ohio St.    57   81
Baseline (Nate Silver)          25  20  8   -   -   Ohio St.    53   77
InItToWinIt                     22  20  8   -   -   Kansas      50   106
Baseline (TrueSkill)            26  18  4   -   -   Ohio St.    48   48
Danny's Dangerous Picks         22  16  8   -   -   Duke        46   70
The Pain Machine                19  18  8   -   -   Kansas      45   125
Baseline (LRMC)                 25  16  4   -   -   Ohio St.    45   69
DukeRepeats                     23  16  4   -   -   Duke        43   67
Point Differential Centrality   23  16  4   -   -   Ohio St.    43   51
dirknbr1                        23  8   4   -   -   Ohio St.    35   59
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-2319680094058083921?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_pkHUw-2ANnPAAGidn5tdXsIUp8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_pkHUw-2ANnPAAGidn5tdXsIUp8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_pkHUw-2ANnPAAGidn5tdXsIUp8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_pkHUw-2ANnPAAGidn5tdXsIUp8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/rUiI0ci3wdM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/2319680094058083921/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=2319680094058083921" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/2319680094058083921?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/2319680094058083921?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/rUiI0ci3wdM/algorithmic-march-madness-elite-8.html" title="Algorithmic March Madness: Elite 8 Update" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/algorithmic-march-madness-elite-8.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEAR3o5cCp7ImA9WhZTF0Q.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-3388203502224514452</id><published>2011-03-22T05:49:00.000-07:00</published><updated>2011-03-22T05:57:26.428-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-22T05:57:26.428-07:00</app:edited><title>Sweet Sixteen Bracket</title><content type="html">&lt;p&gt;If you did not have a chance to get your entry in for the &lt;a href="http://tournament.fantasysports.yahoo.com/t1/group/55350/standings"&gt;full 63-pick&lt;/a&gt; tournament, you still have a chance to make picks in the condensed 15-pick format for our &lt;a href="http://tournament.fantasysports.yahoo.com/t2/group/11005"&gt;Sweet Sixteen Bracket&lt;/a&gt;! The next set of games begin Thursday night (March 24) Eastern time, so you will need to submit your brackets by then. If you already entered in the original bracket, you have been invited to the new one. If you are new and would like to participate, please e-mail leezen+MarchMadness at gmail.&lt;/p&gt;
&lt;p&gt;Currently, in the full bracket prediction contest, Team Delete Kernel and InItToWinIt are sitting in the top half of the pack. Don't count The Pain Machine out yet, though, it can still score a possible 153 points, which is more than TrueSkill has available even though it currently ranks third.&lt;/p&gt;
&lt;p&gt;P.S. Sorry I did not get around to posting competitor profiles this weekend.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-3388203502224514452?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6SvkcRKsjOR1vxlUZMsur7yJUhM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6SvkcRKsjOR1vxlUZMsur7yJUhM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6SvkcRKsjOR1vxlUZMsur7yJUhM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6SvkcRKsjOR1vxlUZMsur7yJUhM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/zOnBnvFCejE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/3388203502224514452/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=3388203502224514452" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/3388203502224514452?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/3388203502224514452?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/zOnBnvFCejE/sweet-sixteen-bracket.html" title="Sweet Sixteen Bracket" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/sweet-sixteen-bracket.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IDSXcycSp7ImA9WhZTF0k.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-7922890455666465805</id><published>2011-03-21T13:38:00.001-07:00</published><updated>2011-03-21T14:06:18.999-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-21T14:06:18.999-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>After Round 2: Points from Upsets</title><content type="html">You can see the current standings &lt;a href="http://tournament.fantasysports.yahoo.com/t1/group/55350/standings"&gt;here&lt;/a&gt;.
  At the moment, 3 of the top 5 (including the top 2) entries used some sort of human judgement in their algorithm: picking based on Higher Seed (tied for 1st) is the judgement of the seeding committee; the Nate Silver (tied for 1st) baseline uses seed information along with several other power ratings, some of which are human based, and some of which are computer based; and the Lee bracket (tied for 4th) was filled out by Lee with no computer assistance.  The top two computer entries are the TrueSkill algorithm (3rd) that Scott Turner implemented and the Delete Kernel (tied for 4th) entry from Kevin, who built his entry based on the simplest &lt;a href="http://blog.smellthedata.com/2011/03/algorithms-2011-march-madness.html"&gt;1D probabilistic matrix factorization model&lt;/a&gt; that I wrote about previously (and &lt;a href="http://blog.smellthedata.com/2011/03/march-madness-predictions-code.html"&gt;released code&lt;/a&gt; for).
&lt;br/&gt;&lt;br/&gt;
I think the take-away at this point is that the real winner right now is whoever decided on the seeding of teams.  The Higher Seed bracket is tied in first place, and the strength of the other brackets mostly comes from how closely their picks matched the higher seed.  Yes, there have been a lot of upsets, including some big ones, and the entrants did indeed pick some upsets, but the entrants didn't generally pick the right upsets.
&lt;br/&gt;&lt;br/&gt;
Here's an alternative way of looking at results that reveals this.  I took the point totals for each contestant and split off the contribution to the point total that came from picking an upset.  For the two rounds, I report "A/B" where B is the total number of points the entrant earned in the Yahoo bracket, and A is the number of points that came from predicting upsets.  I define "upset points" to be points gained from a correct prediction, where the winning team is not the best ranked seed that could possibly have made it to that point.  So even though Richmond (12) was the favorite over Morehead (13), predicting Richmond making it to the Sweet 16 would give a contestant 2 "upset points", because the best ranked seed that could have made it to that point was Louisville (4).  Here are the results:
&lt;pre&gt;
Points from upsets

TEAM                   R1      R2     Total
Delete Kernel:        4/23    2/20    6/43
InItToWinIt:          2/22    2/20    4/42
Human (Lee):          1/25    2/18    3/43
Point Differential:   3/23    0/16    3/39
Silver:               3/25    0/20    3/45
LRMC:                 3/25    0/16    3/41
Dirknbr1:             0/23    2/8     2/31
Danny:                2/22    0/16    2/38
TrueSkill:            2/26    0/18    2/44
The Pain Machine:     0/19    0/18    0/37
Higher Seed:          0/25    0/20    0/45
&lt;/pre&gt;

Under this evaluation measure (which is admittedly not what anybody was trying to optimize), the completely computer-based models are doing better.  Perhaps the real take-away at the moment, though, is that predicting upsets is hard!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-7922890455666465805?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/M7LKsseN1ULK_dp-8PIZ4wX2wfY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M7LKsseN1ULK_dp-8PIZ4wX2wfY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/M7LKsseN1ULK_dp-8PIZ4wX2wfY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M7LKsseN1ULK_dp-8PIZ4wX2wfY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/fScK8yxGhSo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/7922890455666465805/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=7922890455666465805" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/7922890455666465805?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/7922890455666465805?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/fScK8yxGhSo/after-round-2-points-from-upsets.html" title="After Round 2: Points from Upsets" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/after-round-2-points-from-upsets.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08NSHo8fip7ImA9WhZTFU0.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-7332313013121914281</id><published>2011-03-18T21:32:00.001-07:00</published><updated>2011-03-18T21:44:59.476-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-18T21:44:59.476-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Current Standings</title><content type="html">&lt;p&gt;I've opened up the &lt;a href="http://tournament.fantasysports.yahoo.com/t1/group/55350/"&gt;Yahoo Group&lt;/a&gt; for anyone who wants to see the &lt;a href="http://tournament.fantasysports.yahoo.com/t1/group/55350/standings"&gt;standings&lt;/a&gt; and the submitted brackets.     &lt;br /&gt;    &lt;br /&gt;Remember that if you were not able to submit a bracket in time for the full tournament, you will have a second chance as we will run a Sweet Sixteen bracket as well. The Sweet Sixteen does not start until 3/24, so you have almost a week to tweak and get something working before then!     &lt;br /&gt;    &lt;br /&gt;The first round of play is over and after 32 completed games, the baseline predictors are doing very well against the algorithms. I have pasted the full standings below (I realized after last year's tournament that Yahoo does not preserve the brackets and standings, so I will try to do a better job keeping track of them on the blog this year). &lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="686"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="55"&gt;Rank&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Bracket&lt;/td&gt;        &lt;td valign="top" width="40"&gt;R1&lt;/td&gt;        &lt;td valign="top" width="40"&gt;R2&lt;/td&gt;        &lt;td valign="top" width="40"&gt;R3&lt;/td&gt;        &lt;td valign="top" width="40"&gt;R4&lt;/td&gt;        &lt;td valign="top" width="60"&gt;Semis&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Finals&lt;/td&gt;        &lt;td valign="top" width="60"&gt;Points&lt;/td&gt;        &lt;td valign="top" width="60"&gt;Possible&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;1&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/2584939" target="_blank"&gt;Baseline (TrueSkill)&lt;/a&gt; &lt;/td&gt;        &lt;td valign="top" width="40"&gt;24&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Ohio St.&lt;/td&gt;        &lt;td valign="top" width="60"&gt;24&lt;/td&gt;        &lt;td valign="top" width="60"&gt;185&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;2&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/292559" target="_blank"&gt;Baseline (Higher Seed)&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;23&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Ohio St.&lt;/td&gt;        &lt;td valign="top" width="60"&gt;23&lt;/td&gt;        &lt;td valign="top" width="60"&gt;184&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;2&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/2838499" target="_blank"&gt;Baseline (Nate Silver)&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;23&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Ohio St.&lt;/td&gt;        &lt;td valign="top" width="60"&gt;23&lt;/td&gt;        &lt;td valign="top" width="60"&gt;184&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;2&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/2831273" target="_blank"&gt;Baseline (LRMC)&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;23&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Ohio St.&lt;/td&gt;        &lt;td valign="top" width="60"&gt;23&lt;/td&gt;        &lt;td valign="top" width="60"&gt;182&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;2&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/2650527" target="_blank"&gt;Human (Lee)&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;23&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Kansas&lt;/td&gt;        &lt;td valign="top" width="60"&gt;23&lt;/td&gt;        &lt;td valign="top" width="60"&gt;182&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;6&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/675902" target="_blank"&gt;Point Differential Centrality&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;22&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Ohio St.&lt;/td&gt;        &lt;td valign="top" width="60"&gt;22&lt;/td&gt;        &lt;td valign="top" width="60"&gt;153&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;7&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/2577954" target="_blank"&gt;Danny's Dangerous Picks&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;21&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Duke&lt;/td&gt;        &lt;td valign="top" width="60"&gt;21&lt;/td&gt;        &lt;td valign="top" width="60"&gt;182&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;7&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/924842" target="_blank"&gt;DukeRepeats&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;21&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Duke&lt;/td&gt;        &lt;td valign="top" width="60"&gt;21&lt;/td&gt;        &lt;td valign="top" width="60"&gt;180&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;7&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/383577" target="_blank"&gt;dirknbr1&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;21&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Ohio St.&lt;/td&gt;        &lt;td valign="top" width="60"&gt;21&lt;/td&gt;        &lt;td valign="top" width="60"&gt;168&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;10&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/2581754" target="_blank"&gt;Team Delete Kernel&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;20&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Ohio St.&lt;/td&gt;        &lt;td valign="top" width="60"&gt;20&lt;/td&gt;        &lt;td valign="top" width="60"&gt;181&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;10&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/1847646" target="_blank"&gt;InItToWinIt&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;20&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Kansas&lt;/td&gt;        &lt;td valign="top" width="60"&gt;20&lt;/td&gt;        &lt;td valign="top" width="60"&gt;165&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="55"&gt;12&lt;/td&gt;        &lt;td valign="top" width="200"&gt;&lt;a href="http://tournament.fantasysports.yahoo.com/t1/413450" target="_blank"&gt;The Pain Machine&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;17&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="40"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="60"&gt;&amp;nbsp;&lt;/td&gt;        &lt;td valign="top" width="90"&gt;Kansas&lt;/td&gt;        &lt;td valign="top" width="60"&gt;17&lt;/td&gt;        &lt;td valign="top" width="60"&gt;174&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;I will be posting introductions of the various contenders over the course of this weekend. In the meantime, cheer on the algorithms... or human baselines - the higher seed and &amp;quot;Lee&amp;quot; - if you fear the machines! Enjoy the exciting set of games coming this weekend!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-7332313013121914281?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eTU-Vksm6wIITlbUuFKYNBdnptE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eTU-Vksm6wIITlbUuFKYNBdnptE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eTU-Vksm6wIITlbUuFKYNBdnptE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eTU-Vksm6wIITlbUuFKYNBdnptE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/9t97e8gOgTA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/7332313013121914281/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=7332313013121914281" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/7332313013121914281?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/7332313013121914281?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/9t97e8gOgTA/current-standings_18.html" title="Current Standings" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/current-standings_18.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQNSHc-cSp7ImA9WhZTFEs.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-3257404404121643969</id><published>2011-03-18T09:36:00.001-07:00</published><updated>2011-03-18T09:39:59.959-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-18T09:39:59.959-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="scott turner" /><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Early Analysis of Algorithmic March Madness Entries</title><content type="html">&lt;i&gt;&lt;a href="http://blog.smellthedata.com/2011/03/dr-scott-turner-on-march-madness-pain.html"&gt;Scott Turner&lt;/a&gt; has been analyzing entrants into our &lt;a href="http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html"&gt;2011 March Madness Predictive Analytics Challenge&lt;/a&gt;, and he has some interesting insights and comments.  I'm posting them verbatim here.&lt;/i&gt;
&lt;br/&gt;&lt;br/&gt;
In the last 10 years, the upset rate in the first round has been 22%.
(Ignoring 8-9 matchups.)  Looking at the other 6 entries in the
contest (the ones I think are entries, anyway), they predict 16 upsets
-- about 8%.  Of the baselines, only LMRC comes close with 5 upsets
(15%).
&lt;br/&gt;&lt;br/&gt;
For my entry, I forced 15% upset picks over the entire tournament
(~9).  (15% is about the overall upset rate in the tournament for the
past 10 years.)  So I have 4 in the first round and 5 in the later
rounds.
&lt;br/&gt;&lt;br/&gt;
Also, everyone has a #1 seed winning it all, but no one has Pittsburgh.
&lt;br/&gt;&lt;br/&gt;
(I'm assuming that Point Diff, InitToWinIt, DukeRepeats, Danny's,
dirknbr1 and mine are the competitors.)
&lt;br/&gt;&lt;br/&gt;
Ignoring upset picks where there's only a 1 seed differential (e.g., 9
over an 8), these are the upset picks across all the competitors:
&lt;br/&gt;&lt;br/&gt;
&lt;pre&gt;
Qty     Upset   Delta   Details
[1]     3 &gt; 1   2       (BYU &gt; Pitt)
[2]     6 &gt; 3   3       (Xav &gt; Syr, SJU &gt; BYU)
[3]     7 &gt; 2   5       (Was &gt; UNC, A&amp;M &gt; ND, UCLA &gt; Fla)
[1]     9 &gt; 1   8       (ODU &gt; Pitt)
[4]     10 &gt; 7  3       (FSU &gt; A&amp;M, UGA &gt; Was, PSU &gt; Temple, MSU &gt; UCLA)
[1]     10 &gt; 2  8       (UGA &gt; UNC)
[3]     11 &gt; 6  5       (Missou &gt; Cinc, Gonz &gt; SJU x 2)
[1]     12 &gt; 9  3       (USU &gt; ODU)
[4]     12 &gt; 5  7       (USU &gt; KSU x 4)
[2]     12 &gt; 4  8       (USU &gt; Wis x 2)
[2]     12 &gt; 3  8       (USU &gt; BYU x 2)
[1]     12 &gt; 2  12      (USU &gt; Pitt, USU &gt; Kan)
[2]     13 &gt; 4  11      (Bel &gt; Wis x 2)
[1]     14 &gt; 6  8       (St. Pete &gt; Georgetown)
[1]     14 &gt; 3  11      (St. Pete &gt; Purdue)
&lt;/pre&gt;
which if I add correctly is 30 upsets picks.  The upset % over the
last ten years (again ignoring 1 seed differential) is 119/519 =
~23%.  By that metric these brackets ought to show 86 (!) upsets -
almost 3x more.  (The number is even worse if you take out my bracket, where
I tried to force the right upset metric, but even my bracket should
show more upsets.)
&lt;br/&gt;&lt;br/&gt;
I think there's an interesting discussion to be had over whether a
computer predictor ought to pick the most likely event on a game by
game basis or not.  The former leads to mostly "chalk" picks -- the
only time you're going to go against the seeding is where the seeding
is wrong (according to your model).  Imagine a tournament where in
every game the better team has a 1% advantage.  The hypothetical
predictor will pick the favorites in every game -- and miss almost
half the games.  Is that the best strategy?
&lt;br/&gt;&lt;br/&gt;
It's also interesting to note that USU counts for a full third of the
upset picks.  If we assume that most of these models are only picking
upsets if they think there's been an actual seeding mistake, then USU
was the only "consensus" mis-seeding.  That's kind of an interesting
result in itself.  That suggests that the committee does a good job
seeding (at least in some sense) and/or that these predictors
don't do a good job of discerning "hidden" information about the
teams.
&lt;br/&gt;&lt;br/&gt;
Of the 30 upset predictions, after the first day we know that 2 are
right (the picks of Gonz &gt; SJU), 13 are wrong, and the remaining 13
are undecided.  That doesn't look like such a good record for the
predictors :-).  The correct upset pick was a delta of 5, which is a
pretty big upset.
&lt;br/&gt;&lt;br/&gt;
I can't see right now whether the ESPN Tourney Challenge shows
statistics like how many people in the tourney picked particular
upsets, but it would be interesting to compare the competitor upset
picks to how people picked.
&lt;br/&gt;&lt;br/&gt;
-- Scott Turner&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-3257404404121643969?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Kn2f1YaGuCMrsfbvLGBjN0PVr6k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Kn2f1YaGuCMrsfbvLGBjN0PVr6k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Kn2f1YaGuCMrsfbvLGBjN0PVr6k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Kn2f1YaGuCMrsfbvLGBjN0PVr6k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/kzy72RcUYjs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/3257404404121643969/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=3257404404121643969" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/3257404404121643969?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/3257404404121643969?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/kzy72RcUYjs/early-analysis-of-algorithmic-march.html" title="Early Analysis of Algorithmic March Madness Entries" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/early-analysis-of-algorithmic-march.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEHQH07fSp7ImA9WhZTE0Q.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-870339805777959145</id><published>2011-03-17T14:36:00.000-07:00</published><updated>2011-03-17T14:50:31.305-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-17T14:50:31.305-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>New Scientist Article</title><content type="html">MacGregor Campbell over at &lt;a href="http://www.newscientist.com/"&gt;newscientist.com&lt;/a&gt; wrote a great article about our March Madness contest:&lt;br/&gt;
&lt;a href="http://www.newscientist.com/blogs/onepercent/2011/03/software-to-predict-march-madn.html"&gt;http://www.newscientist.com/blogs/onepercent/2011/03/software-to-predict-march-madn.html&lt;/a&gt;
&lt;br/&gt;&lt;br/&gt;
My only complaint is that &lt;a href="http://blog.smellthedata.com/2010/03/march-madness-algorithm-contest-your.html"&gt;Lee&lt;/a&gt; doesn't get the recognition for all of the hard work that he's put into making the contest happen.  The contest literally would not have happened without him.  (Thanks, Lee.) The other details are quite good, though.  I'm particularly impressed by the clear and accurate description of the algorithms.
&lt;br/&gt;&lt;br/&gt;
Thanks MacGregor!  And thanks to all the participants who have entered the main bracket contest.  If you didn't make it in time for the main contest entry, there's still the &lt;a href="http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html"&gt;Sweet 16 contest&lt;/a&gt;.  Get those algorithms running!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-870339805777959145?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0pvIhXbWrNb9E6K4iS2mHh7GRBc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0pvIhXbWrNb9E6K4iS2mHh7GRBc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0pvIhXbWrNb9E6K4iS2mHh7GRBc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0pvIhXbWrNb9E6K4iS2mHh7GRBc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/nGoAYLxiJWI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/870339805777959145/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=870339805777959145" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/870339805777959145?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/870339805777959145?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/nGoAYLxiJWI/new-scientist-article.html" title="New Scientist Article" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/new-scientist-article.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUESH85fCp7ImA9WhZTEkQ.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-6697688918482394163</id><published>2011-03-16T10:20:00.000-07:00</published><updated>2011-03-16T10:23:29.124-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-16T10:23:29.124-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Less than 24 hours left</title><content type="html">There are less than 24 hours left before the tip-off of the first game in the round of 64 in the NCAA tournament. A friendly reminder that you will need to have your entries submitted before the first game begins. If you're feeling crunched for time, we'll have a sweet sixteen bracket like last year -- so even if you haven't started coding/modeling/training/etc. it's not too late!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-6697688918482394163?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fwmETdQmdM3iY_pplLkj3ga7aqg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fwmETdQmdM3iY_pplLkj3ga7aqg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fwmETdQmdM3iY_pplLkj3ga7aqg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fwmETdQmdM3iY_pplLkj3ga7aqg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/yNa0pwyBKUI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/6697688918482394163/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=6697688918482394163" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/6697688918482394163?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/6697688918482394163?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/yNa0pwyBKUI/less-than-24-hours-left.html" title="Less than 24 hours left" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/less-than-24-hours-left.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUCRH07fyp7ImA9WhZTEk8.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-496449983314151440</id><published>2011-03-15T14:52:00.001-07:00</published><updated>2011-03-15T14:57:45.307-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-15T14:57:45.307-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="pain machine" /><category scheme="http://www.blogger.com/atom/ns#" term="scott turner" /><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Dr. Scott Turner on March Madness: The Pain Machine 2011</title><content type="html">&lt;i&gt;This is a guest post by Dr. Scott Turner, the force behind team "The Pain Machine," which was the co-winner of the Sweet 16 contest from last year.  In this post, he'll describe what to expect from his entry to this year's&lt;a href="http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html"&gt; algorithmic March Madness prediction contest&lt;/a&gt;.  If you are planning to enter and would like to contribute a guest post, please email Danny or Lee.
&lt;br/&gt;&lt;br/&gt;
Dr. Turner has a Ph.D. in Artificial Intelligence from UCLA.
His dissertation subject was a program called MINSTREL that told
stories about King Arthur and his knights, as a way to explore issues
in creativity and storytelling.  Since obtaining his Ph.D. in 1993,
Dr. Turner has worked for the Aerospace Corporation, where he advises
the nation's space programs on software and systems engineering
issues.&lt;/i&gt;
&lt;br/&gt;&lt;br/&gt;
As a lifelong college basketball fan and a student of AI, I was
intrigued last year when I saw Danny's call for participants in a
tournament prediction contest.  I put together a program and managed
to tie Danny in the Sweet Sixteen bracket.
&lt;br/&gt;&lt;br/&gt;
The program I wrote last year used a genetic algorithm to evolve a
scoring equation based upon features such RPI, strength of schedule,
wins and losses, etc., and selected the equation that did the best job
of predicting the same outcome as the games in the training set.  I
felt the key in winning a tournament picking contest was in guessing
the upsets, so I added some features to the prediction model intended
to identify and pick likely upsets.
&lt;br/&gt;&lt;br/&gt;
In retrospect, the competition pool for this contest is so small that
picking upsets is probably not as important as it is in (say) the full
Yahoo pool, where you need to gamble more if you hope to distinguish
yourself from the mass of consensus picks.
&lt;br/&gt;&lt;br/&gt;
Since the contest last year I have continued to work on the Pain
Machine.  The focus of my effort shifted more towards predicting the
margins of regular season games.  My latest models predict regular
season games about 80% correctly with an error of about 8 points.
Since 2/5, the Pain Machine has predicted 63% correctly against the
spread (from Bodog.com) for selected games where it has identified a
strong advantage.  However, the sample size for that is very small so
the result may not be meaningful.  Performance of the model against
the 2009 and 2010 tournament games is similar (or better), although
again the sample size is very small.
&lt;br/&gt;&lt;br/&gt;
In the course of the last year I have identified several interesting
(i.e., non-obvious) keys to understanding and predicting college
basketball games.  But perhaps the most striking realization has been
the variability of the outcome of college game.  In Stokol's original
paper on his LMRC method for predicting college basketball games, he
compares pairwise home-and-home matchups and determines that a team
needs to win at home by &gt;21 points to have an even chance to beat the
same team on the road!  While I don't agree with the magnitude of that
result, it's clear that what I would have evaluated as a "convincing"
win -- say by 10 or 12 points -- is actually surprisingly weak
evidence of the superiority of Team A over Team B.  A case in point is
Virginia Tech's home win over Duke late in the season.  Virginia Tech
is at best a bubble team and still managed to beat one of the best two
or three teams in the country.  Does this mean that Virginia Tech is
significantly better than we thought?  Or Duke significantly worse?
Probably not.  So it's hard to imagine a predictor that could
consistently predict those sorts of outcomes, which makes the problem
all the more interesting!
&lt;br/&gt;&lt;br/&gt;
-- Scott Turner&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-496449983314151440?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HQqKu41h-LejqcT2zz8QkKGBE1M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HQqKu41h-LejqcT2zz8QkKGBE1M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HQqKu41h-LejqcT2zz8QkKGBE1M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HQqKu41h-LejqcT2zz8QkKGBE1M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/EkBUtP3wt0E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/496449983314151440/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=496449983314151440" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/496449983314151440?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/496449983314151440?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/EkBUtP3wt0E/dr-scott-turner-on-march-madness-pain.html" title="Dr. Scott Turner on March Madness: The Pain Machine 2011" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/dr-scott-turner-on-march-madness-pain.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04ASH46fyp7ImA9WhZTEU4.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-330937653982694716</id><published>2011-03-14T14:46:00.001-07:00</published><updated>2011-03-14T14:59:09.017-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-14T14:59:09.017-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="python" /><category scheme="http://www.blogger.com/atom/ns#" term="code" /><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>March Madness Predictions: Code Description</title><content type="html">In the &lt;a href="http://blog.smellthedata.com/2011/03/algorithms-2011-march-madness.html"&gt;last post&lt;/a&gt;, I showed outputs of the 1D version of my matrix factorization model for predicting March Madness results.  Here, I'm posting the code along with a brief description of how to get it running, so you can replicated my results, possibly as the basis for &lt;b&gt;your&lt;/b&gt; entry into the &lt;a href="http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html"&gt;2011 March Madness Predictive Analytics Challenge&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
To start, there are two Python files you need:&lt;br/&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href="http://www.cs.toronto.edu/~dtarlow/learner.py"&gt;learner.py&lt;/a&gt;
&lt;li&gt; &lt;a href="http://www.cs.toronto.edu/~dtarlow/bracket.py"&gt;bracket.py&lt;/a&gt;
&lt;/ul&gt;
You'll also need the pickle file with the data:&lt;br/&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href="http://www.cs.toronto.edu/~dtarlow/all_scores.pickle"&gt;scores.pickle&lt;/a&gt;
&lt;/ul&gt;
Put all the files in a directory, and make a directory named "models" to store the output.
&lt;br/&gt;&lt;br/&gt;

Now there are two steps:
&lt;ol&gt;
&lt;li&gt;Train a model by running "python learner.py".
&lt;li&gt;Print out the offensive and defensive scores by running, "python bracket.py".
&lt;/ol&gt;

That's it!
&lt;br/&gt;&lt;br/&gt;
If you'd like to simulate particular games, there is a function in bracket.py called simulate_game(team_code_A, team_code_B).  There is also old code to simulate a full bracket, but that hasn't been updated from previous years (yet).
&lt;br/&gt;&lt;br/&gt;
If you'd like to train higher dimensional models or play around with the regularization parameter, feel free to change things at the top of __init__() in learner.py.  Higher dimensional models are harder to visualize, so one idea would be to sort teams based on how they are predicted to fare against a favorite like Duke ("dau" team code).
&lt;br/&gt;&lt;br/&gt;
Happy predicting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-330937653982694716?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qWGUixv99Z3af7Ty4REck4Ll4ws/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qWGUixv99Z3af7Ty4REck4Ll4ws/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qWGUixv99Z3af7Ty4REck4Ll4ws/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qWGUixv99Z3af7Ty4REck4Ll4ws/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/h54PTFGkb6o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/330937653982694716/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=330937653982694716" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/330937653982694716?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/330937653982694716?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/h54PTFGkb6o/march-madness-predictions-code.html" title="March Madness Predictions: Code Description" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/march-madness-predictions-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkICRX8yfyp7ImA9WhZTEUk.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-7758700082834560838</id><published>2011-03-14T14:17:00.000-07:00</published><updated>2011-03-14T15:09:24.197-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-14T15:09:24.197-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dannys_predictions" /><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>The Algorithm's 2011 March Madness Predictions Part 1</title><content type="html">We seem to have ironed out most issues related to data for the &lt;a href="http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html"&gt;2011 March Madness Predictive Analytics Challenge&lt;/a&gt;.  As a reminder, check the &lt;a href="http://blog.smellthedata.com/search/label/march_madness"&gt;March Madness label&lt;/a&gt; to see all contest-related posts in one place.  If you'd like to enter the competition, there's still time!  (And Lee has posted new, &lt;a href="http://blog.smellthedata.com/2011/03/aggregate-game-results.html"&gt;easier to use data&lt;/a&gt;.)
&lt;br/&gt;&lt;br/&gt;
With announcements out of the way, it is with great pleasure that I announce that I've got my algorithm running on the 2011 season data.  In this post, I will show outputs from the simple 1D version of my &lt;a href="http://blog.smellthedata.com/2009/03/data-driven-march-madness-predictions.html"&gt;probabilistic matrix factorization model&lt;/a&gt;.  I'll run the higher dimensional version that I use to actually make predictions and write about it in a later post (or you can follow the instructions &lt;a href="http://blog.smellthedata.com/2011/03/march-madness-predictions-code.html"&gt;here&lt;/a&gt;, run the code, and train the model yourself).
&lt;br/&gt;&lt;br/&gt;
&lt;b&gt;How the Model Works:&lt;/b&gt;  The basic idea is very simple: we want to represent each team's offensive and defensive strength with a single number (in the 1D version) for each.  We will make a prediction for the result of team i playing team j as follows:&lt;br/&gt;&lt;br/&gt;
&lt;center&gt;
Predicted score for i = offense_strength_i * defense_strength_j &lt;br/&gt;
Predicted score for j = offense_strength_j * defense_strength_i &lt;br/&gt;
&lt;/center&gt;
 &lt;br/&gt;
It should be clear that higher numbers mean better offense, and lower numbers mean better defense.
&lt;br/&gt;&lt;br/&gt;
The learning algorithm looks over all games played this season and tries to find a setting of offensive and defensive strengths for each team such that scores predicted by the model best match the actual outcomes observed*.  (If you want the short answer, this is achieved via the miracles of calculus.)
&lt;br/&gt;&lt;br/&gt;
&lt;b&gt;What I'm Showing:&lt;/b&gt; I will first report a combined measure, which takes the offensive strength and subtracts the defensive strength.  If you think of having each team play against a baseline team with offensive and defensive strength 1, then the difference tells you how much you expect to the team to win by (or, if it's negative, to lose by).  Afterwards, I show the top offenses and the top defenses, along with their strengths learned by the model.  In all cases, I report the top 50 teams.  Keep in mind that the algorithm knows nothing about rankings, players, or anything other than the final score of each game.  Also keep in mind that I know less than the algorithm about what happened this year in college basketball.  There are some important caveats in the comments under &lt;a href="http://blog.smellthedata.com/2009/03/data-driven-march-madness-predictions.html"&gt;this post&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
If you'd like to reproduce these results at home, follow the instructions and run the code &lt;a href="http://blog.smellthedata.com/2011/03/march-madness-predictions-code.html"&gt;in the next post&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
So without further ado, here are the outputs.  You can use these to predict the score of any game by plugging into the formula above.  (Only the top 50 teams are shown in the post for each measure.  The outputs for all teams in the database are &lt;a href="http://www.cs.toronto.edu/~dtarlow/2011_march_madness_1d_vectors.txt"&gt;here&lt;/a&gt;.)
&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Combined Rating&lt;/h3&gt;
Duke (3.15)&lt;br/&gt;
Ohio St. (3.10)&lt;br/&gt;
Kansas (3.07)&lt;br/&gt;
Washington (2.71)&lt;br/&gt;
Pittsburgh (2.64)&lt;br/&gt;
Texas (2.57)&lt;br/&gt;
Kentucky (2.52)&lt;br/&gt;
Purdue (2.43)&lt;br/&gt;
Louisville (2.42)&lt;br/&gt;
BYU (2.41)&lt;br/&gt;
Notre Dame (2.41)&lt;br/&gt;
Syracuse (2.39)&lt;br/&gt;
North Carolina (2.34)&lt;br/&gt;
San Diego St. (2.26)&lt;br/&gt;
Wisconsin (2.21)&lt;br/&gt;
Connecticut (2.15)&lt;br/&gt;
Georgetown (2.01)&lt;br/&gt;
Missouri (2.00)&lt;br/&gt;
Arizona (2.00)&lt;br/&gt;
Illinois (1.99)&lt;br/&gt;
Cincinnati (1.96)&lt;br/&gt;
West Virginia (1.95)&lt;br/&gt;
Vanderbilt (1.95)&lt;br/&gt;
Florida (1.94)&lt;br/&gt;
Marquette (1.93)&lt;br/&gt;
UNLV (1.93)&lt;br/&gt;
Villanova (1.92)&lt;br/&gt;
Kansas St. (1.84)&lt;br/&gt;
Maryland (1.83)&lt;br/&gt;
Gonzaga (1.78)&lt;br/&gt;
Michigan St. (1.72)&lt;br/&gt;
St. Mary's (1.72)&lt;br/&gt;
Virginia Tech (1.72)&lt;br/&gt;
St. John's (1.70)&lt;br/&gt;
Utah St. (1.68)&lt;br/&gt;
Washington St. (1.65)&lt;br/&gt;
Florida St. (1.63)&lt;br/&gt;
Texas A&amp;M (1.63)&lt;br/&gt;
Belmont (1.62)&lt;br/&gt;
Clemson (1.59)&lt;br/&gt;
Xavier (1.58)&lt;br/&gt;
Michigan (1.57)&lt;br/&gt;
Temple (1.55)&lt;br/&gt;
New Mexico (1.50)&lt;br/&gt;
George Mason (1.49)&lt;br/&gt;
UCLA (1.47)&lt;br/&gt;
Colorado (1.47)&lt;br/&gt;
Minnesota (1.46)&lt;br/&gt;
Northwestern (1.44)&lt;br/&gt;
USC (1.43)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Offenses&lt;/h3&gt;
Washington (10.72)&lt;br/&gt;
Duke (10.43)&lt;br/&gt;
Kansas (10.39)&lt;br/&gt;
BYU (10.32)&lt;br/&gt;
Oakland (10.20)&lt;br/&gt;
Missouri (10.18)&lt;br/&gt;
Ohio St. (9.97)&lt;br/&gt;
North Carolina (9.89)&lt;br/&gt;
Virginia Military (9.87)&lt;br/&gt;
Notre Dame (9.79)&lt;br/&gt;
Colorado (9.79)&lt;br/&gt;
Kentucky (9.76)&lt;br/&gt;
Vanderbilt (9.73)&lt;br/&gt;
Louisville (9.69)&lt;br/&gt;
Marquette (9.67)&lt;br/&gt;
Maryland (9.65)&lt;br/&gt;
Arizona (9.64)&lt;br/&gt;
Providence (9.62)&lt;br/&gt;
Pittsburgh (9.56)&lt;br/&gt;
Long Island (9.56)&lt;br/&gt;
St. Mary's (9.56)&lt;br/&gt;
Connecticut (9.54)&lt;br/&gt;
Syracuse (9.54)&lt;br/&gt;
La Salle (9.49)&lt;br/&gt;
Texas (9.49)&lt;br/&gt;
South Dakota St. (9.47)&lt;br/&gt;
Purdue (9.47)&lt;br/&gt;
Iona (9.46)&lt;br/&gt;
California (9.42)&lt;br/&gt;
Duquesne (9.42)&lt;br/&gt;
Belmont (9.40)&lt;br/&gt;
Villanova (9.39)&lt;br/&gt;
Georgetown (9.37)&lt;br/&gt;
Gonzaga (9.35)&lt;br/&gt;
Texas Tech (9.35)&lt;br/&gt;
Iowa St. (9.30)&lt;br/&gt;
Washington St. (9.29)&lt;br/&gt;
Mississippi (9.29)&lt;br/&gt;
Illinois (9.29)&lt;br/&gt;
Northwestern (9.29)&lt;br/&gt;
UNLV (9.25)&lt;br/&gt;
Boston Coll. (9.21)&lt;br/&gt;
Kansas St. (9.20)&lt;br/&gt;
Florida (9.18)&lt;br/&gt;
Xavier (9.17)&lt;br/&gt;
Detroit (9.14)&lt;br/&gt;
New Mexico (9.11)&lt;br/&gt;
St. John's (9.10)&lt;br/&gt;
Michigan St. (9.06)&lt;br/&gt;
Charleston (9.06)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Defenses&lt;/h3&gt;
Wisconsin (6.61)&lt;br/&gt;
San Diego St. (6.74)&lt;br/&gt;
New Orleans (6.79)&lt;br/&gt;
Cincinnati (6.84)&lt;br/&gt;
Utah St. (6.85)&lt;br/&gt;
Ohio St. (6.87)&lt;br/&gt;
Nebraska (6.88)&lt;br/&gt;
Texas (6.92)&lt;br/&gt;
Pittsburgh (6.92)&lt;br/&gt;
USC (6.96)&lt;br/&gt;
Alabama (6.98)&lt;br/&gt;
Penn St. (6.99)&lt;br/&gt;
Old Dominion (6.99)&lt;br/&gt;
West Virginia (7.00)&lt;br/&gt;
Texas A&amp;M (7.01)&lt;br/&gt;
Clemson (7.02)&lt;br/&gt;
Michigan (7.03)&lt;br/&gt;
Purdue (7.04)&lt;br/&gt;
Cal Poly (7.05)&lt;br/&gt;
Virginia (7.12)&lt;br/&gt;
Virginia Tech (7.13)&lt;br/&gt;
Florida St. (7.15)&lt;br/&gt;
Syracuse (7.15)&lt;br/&gt;
Drexel (7.18)&lt;br/&gt;
Temple (7.22)&lt;br/&gt;
Kentucky (7.23)&lt;br/&gt;
Florida (7.24)&lt;br/&gt;
Stephen F. Austin (7.25)&lt;br/&gt;
Louisville (7.26)&lt;br/&gt;
Duke (7.29)&lt;br/&gt;
Richmond (7.29)&lt;br/&gt;
Illinois (7.30)&lt;br/&gt;
Kansas (7.32)&lt;br/&gt;
UNLV (7.32)&lt;br/&gt;
Michigan St. (7.34)&lt;br/&gt;
Fairfield (7.34)&lt;br/&gt;
Saint Louis (7.35)&lt;br/&gt;
Georgetown (7.36)&lt;br/&gt;
Kansas St. (7.36)&lt;br/&gt;
St. Peter's (7.37)&lt;br/&gt;
Northern Iowa (7.37)&lt;br/&gt;
Denver (7.38)&lt;br/&gt;
Notre Dame (7.39)&lt;br/&gt;
UAB (7.39)&lt;br/&gt;
St. John's (7.39)&lt;br/&gt;
Connecticut (7.39)&lt;br/&gt;
Montana (7.40)&lt;br/&gt;
UCLA (7.40)&lt;br/&gt;
Seton Hall (7.41)&lt;br/&gt;
South Florida (7.42)&lt;br/&gt;


&lt;br/&gt;&lt;br/&gt;

* There's also some regularization.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-7758700082834560838?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/x1n212gFjkxexa-p_XRXdi0ZMBo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x1n212gFjkxexa-p_XRXdi0ZMBo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/x1n212gFjkxexa-p_XRXdi0ZMBo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x1n212gFjkxexa-p_XRXdi0ZMBo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/2VvPRxaBuF4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/7758700082834560838/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=7758700082834560838" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/7758700082834560838?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/7758700082834560838?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/2VvPRxaBuF4/algorithms-2011-march-madness.html" title="The Algorithm's 2011 March Madness Predictions Part 1" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/algorithms-2011-march-madness.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEGRXw6fip7ImA9WhZTEU4.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-2526986893844663150</id><published>2011-03-13T22:32:00.001-07:00</published><updated>2011-03-14T14:20:24.216-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-14T14:20:24.216-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>More Data Updates</title><content type="html">To remedy the caveat about team field goals I mentioned in the previous post, I am now explicitly generating the score data by crawling the scoreboard. I have posted this to &lt;a href="https://docs.google.com/leaf?id=0BysperLdI86MMWI0M2MzMGUtNGM1My00NDAxLTk0MzEtNzE4NGQ5ZTk5ZGM5&amp;sort=name&amp;layout=list&amp;num=50"&gt;this file&lt;/a&gt; with the following format: date, home team, away team, home score, away score, home team won (1 yes, 0 no).&lt;br/&gt;&lt;br/&gt;
I also found out that March 11, 2011 was missing from the data. I have re-crawled this date and added it to the files. If you want to use this date in your data, please &lt;a href="http://blog.smellthedata.com/2011/03/selection-sunday-today.html"&gt;re-download&lt;/a&gt; the .zip files. The data is inclusive through March 12, 2011.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-2526986893844663150?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CBqYplaRDcrWq4KBNEs7kzO5OIQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CBqYplaRDcrWq4KBNEs7kzO5OIQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CBqYplaRDcrWq4KBNEs7kzO5OIQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CBqYplaRDcrWq4KBNEs7kzO5OIQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/6ReHW4MIBsU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/2526986893844663150/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=2526986893844663150" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/2526986893844663150?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/2526986893844663150?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/6ReHW4MIBsU/more-data-updates.html" title="More Data Updates" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/more-data-updates.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8HQHw5fCp7ImA9WhZTEEo.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-5769021731920279818</id><published>2011-03-13T21:21:00.000-07:00</published><updated>2011-03-13T21:27:11.224-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-13T21:27:11.224-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Data Caveats</title><content type="html">As we've seen in the past 12 hours, there have been some hiccups with the data. I apologize that data quality has been a bit lacking. Hopefully things will be relatively stable from here. I also wanted to point out a few other caveats in the data.
&lt;ul&gt;
&lt;li&gt;Some games are missing completely. This is because at crawl time, sometimes the server hiccups and returns an empty page even though I am not being throttled.&lt;/li&gt;
&lt;li&gt;Some games exist in Games.tsv but there is no player data for it. This is because in some cases, the Yahoo! box score format is missing columns like minutes and the parser does not expect this.&lt;/li&gt;
&lt;li&gt;Some games have inaccurate full aggregate point totals. In a few cases, field goals exist at the team level, but not the individual player level. I expect this to be relatively rare, but does cause some score discrepancies in the aggregate.&lt;/li&gt;
&lt;/ul&gt;
I'll try to keep this list up to date. Please comment/e-mail if you run into other items such as the above.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-5769021731920279818?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1uBK1QwtKrcTc2bnhKm4htRagfM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1uBK1QwtKrcTc2bnhKm4htRagfM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1uBK1QwtKrcTc2bnhKm4htRagfM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1uBK1QwtKrcTc2bnhKm4htRagfM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/TMivebUDNA8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/5769021731920279818/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=5769021731920279818" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/5769021731920279818?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/5769021731920279818?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/TMivebUDNA8/data-caveats.html" title="Data Caveats" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/data-caveats.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UER3g-fCp7ImA9WhZTEEU.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-8499288190582718576</id><published>2011-03-13T20:19:00.001-07:00</published><updated>2011-03-13T22:40:06.654-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-13T22:40:06.654-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Aggregate Game Results</title><content type="html">To make things even easier, I've uploaded a file containing &lt;a href="https://docs.google.com/leaf?id=0BysperLdI86MMWI0M2MzMGUtNGM1My00NDAxLTk0MzEtNzE4NGQ5ZTk5ZGM5&amp;sort=name&amp;layout=list&amp;num=50"&gt;aggregate game results&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
The format for this file is:
&lt;ol&gt;
&lt;li&gt;Game Date&lt;/li&gt;
&lt;li&gt;Home Team&lt;/li&gt;
&lt;li&gt;Away Team&lt;/li&gt;
&lt;li&gt;Home Team Points&lt;/li&gt;
&lt;li&gt;Away Team Points&lt;/li&gt;
&lt;li&gt;Home Team Win (home team points &gt; away team points) - 1 if the home team won, 0 if the away team won&lt;/li&gt;
&lt;/ol&gt;
The columns are comma-separated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-8499288190582718576?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AFlcqmOGisMjYzM2e8QtTIwuW_4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AFlcqmOGisMjYzM2e8QtTIwuW_4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AFlcqmOGisMjYzM2e8QtTIwuW_4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AFlcqmOGisMjYzM2e8QtTIwuW_4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/mcOc0cS-VyI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/8499288190582718576/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=8499288190582718576" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/8499288190582718576?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/8499288190582718576?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/mcOc0cS-VyI/aggregate-game-results.html" title="Aggregate Game Results" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/aggregate-game-results.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IDSXs-fyp7ImA9WhZTEEU.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-3406297154759289503</id><published>2011-03-13T08:57:00.000-07:00</published><updated>2011-03-13T22:46:18.557-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-13T22:46:18.557-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Selection Sunday Today!</title><content type="html">&lt;b&gt;UPDATE 3&lt;/b&gt;: 3/11/2011 was missing from the data. The archive has been corrected. It was also renamed to reflect that it contains all games through 3/12 and not 3/13.&lt;br/&gt;&lt;br/&gt;
&lt;b&gt;UPDATE 2&lt;/b&gt;: It turns out that I was incorrectly parsing boxscores where the teams had a seed number in front of their name, leading to this being interpreted as "UNK" when in fact, these are incredibly important games (thanks, Rob). I have fixed this and uploaded &lt;a href="https://docs.google.com/leaf?id=0BysperLdI86MYWE0OGM5MTUtZTI1Zi00NjdmLTk0ZjctYTliZjlkYzliZTc1&amp;sort=name&amp;layout=list&amp;num=50"&gt;new data&lt;/a&gt;. Please re-download the data. The links below have been corrected to point at the new data as well.&lt;br/&gt;&lt;br/&gt;
&lt;b&gt;UPDATE&lt;/b&gt;: Thanks to the keen observation of one of our contestants (thanks, Scott), we've updated the data as the boxscore format we were crawling changed starting 3/10. The link below has been updated to the new data.
&lt;br/&gt;&lt;br/&gt;
Today is Selection Sunday, when we will find out who is playing in this year's NCAA tournament. This also means that all the conferences have completed their games and it is time to release &lt;a href="https://docs.google.com/leaf?id=0BysperLdI86MYWE0OGM5MTUtZTI1Zi00NjdmLTk0ZjctYTliZjlkYzliZTc1&amp;sort=name&amp;layout=list&amp;num=50"&gt;the data&lt;/a&gt;. Full &lt;a href="http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html"&gt;contest details&lt;/a&gt; are available &lt;a href="http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html"&gt;here&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
Please download these two files:
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://spreadsheets.google.com/ccc?key=0AisperLdI86MdElZR1ZUeVBIM3BNTnJqUk9EUTNHNUE&amp;hl=en"&gt;Team Code Mapping&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.google.com/leaf?id=0BysperLdI86MYWE0OGM5MTUtZTI1Zi00NjdmLTk0ZjctYTliZjlkYzliZTc1&amp;sort=name&amp;layout=list&amp;num=50"&gt;Data Archive&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
The team code mapping is there to help you convert between the codes in the actual boxscore data and the actual names of the teams. As with previous data release, there is a team code called "UNK" that refers to a team that is not within the list of codes. These are often small teams either in non-Division 1 conferences or no longer in Division 1.
&lt;br/&gt;&lt;br/&gt;
There are two files within the data archive: Players.tsv and Games.tsv.
&lt;br/&gt;&lt;br/&gt;
Games.tsv - each row corresponds to a game played during the season.
&lt;ol&gt;
  &lt;li&gt;Game ID&lt;/li&gt;
  &lt;li&gt;Date&lt;/li&gt;
  &lt;li&gt;Home team&lt;/li&gt;
  &lt;li&gt;Away team&lt;/li&gt;
&lt;/ol&gt;

&lt;br/&gt;

Players.tsv - each row corresponds to a single player's performance in one game.
&lt;ol&gt;
  &lt;li&gt;Player name&lt;/li&gt;
  &lt;li&gt;Game ID&lt;/li&gt;
  &lt;li&gt;Player's team&lt;/li&gt;
  &lt;li&gt;Minutes played&lt;/li&gt;
  &lt;li&gt;Field goals made&lt;/li&gt;
  &lt;li&gt;Field goals attempted&lt;/li&gt;
  &lt;li&gt;Three pointers made&lt;/li&gt;
  &lt;li&gt;Three pointers attempted&lt;/li&gt;
  &lt;li&gt;Free throws made&lt;/li&gt;
  &lt;li&gt;Free throws attempted&lt;/li&gt;
  &lt;li&gt;Offensive rebounds&lt;/li&gt;
  &lt;li&gt;Defensive rebounds&lt;/li&gt;
  &lt;li&gt;Assists&lt;/li&gt;
  &lt;li&gt;Turnovers&lt;/li&gt;
  &lt;li&gt;Steals&lt;/li&gt;
  &lt;li&gt;Blocks&lt;/li&gt;
  &lt;li&gt;Personal fouls&lt;/li&gt;
&lt;/ol&gt;

Note that three pointers are included in the number of field goals. Thus if a player has made 3 field goals and 1 three pointer, then that player has scored 7 (2 + 2 + 3) points.
&lt;br/&gt;&lt;br/&gt;
In the previous post, I had a faulty link to join the group on Yahoo. The correct link is &lt;a href="http://tournament.fantasysports.yahoo.com/t1/register/joinprivategroup_assign_team?GID=55350"&gt;http://tournament.fantasysports.yahoo.com/t1/register/joinprivategroup_assign_team?GID=55350&lt;/a&gt;. As with before, please e-mail leezen+MarchMadness at gmail for the password. Please include your team name, team members, and brief description.
&lt;br/&gt;&lt;br/&gt;
Good luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-3406297154759289503?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qVvwNqPLbfGl7aBuXVqfhsjIrhY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qVvwNqPLbfGl7aBuXVqfhsjIrhY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qVvwNqPLbfGl7aBuXVqfhsjIrhY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qVvwNqPLbfGl7aBuXVqfhsjIrhY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/M25DiPzWGXU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/3406297154759289503/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=3406297154759289503" title="11 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/3406297154759289503?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/3406297154759289503?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/M25DiPzWGXU/selection-sunday-today.html" title="Selection Sunday Today!" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>11</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/selection-sunday-today.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIHRX4-eyp7ImA9WhZTF04.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-9161377383668259665</id><published>2011-03-11T05:26:00.000-08:00</published><updated>2011-03-21T12:08:54.053-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-21T12:08:54.053-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Official 2011 March Madness Predictive Analytics Challenge</title><content type="html">Welcome to the second annual March Madness Predictive Analytics Challenge! I'm very excited about this event and I hope you are, too! We're still trying to line up some prizes, but for sure, like last year, there will be a gift certificate to Amazon.com.
&lt;br/&gt;&lt;br/&gt;
This year's format will be more or less the same as last year's.
&lt;br/&gt;&lt;br/&gt;
&lt;h3&gt;Background&lt;/h3&gt;
Most readers of this blog are probably familiar with the general idea of what this contest is about. In case you aren't a frequent reader or a fan of college basketball, this section will serve as a brief introduction. March 11th is "Selection Sunday" where the teams for the NCAA College Basketball tournament will be selected. In total, there will be 68 teams with 8 teams playing four "play-in" games on March 15th and 16th to determine the field of 64. For the purposes of this contest, you do not need to worry about these initial play-in games. The remaining 64 teams are then pit against each other in a bracket with one national champion emerging as the winner. Every year, millions of people fill in their predictions of who will be the winners and losers of the games. People participate in leagues or pools with other people to see who has the best bracket. We would like YOU to participate in our algorithm-only pool. That is, your bracket must be completed by a computer algorithm based upon historical data without the use of human judgment.
&lt;h3&gt;Contest Format&lt;/h3&gt;
The format is fairly simple. We will have two pools: a Tournament pool and a Sweet Sixteen pool. Entries in both pools will be evaluated on the typical exponential point scoring system. Correct picks get 1, 2, 4, 8, 16, and 32 points depending on the depth in the bracket (1 point in the first round, 2 points in the second round, etc). The entry only needs to pick the winning team. Thus, if the other team is no longer in the tournament, but the winning team is picked, points are still awarded. Each person is limited to one entry per pool. Each pool will have a winner determined by the submission scoring the most points.
&lt;h3&gt;Deadlines&lt;/h3&gt;
TOURNAMENT pool entries must be submitted no later than March 17, 2011 (the first day of play in the round of 64).&lt;br/&gt;
SWEET SIXTEEN pool entries must be submitted no later than March 24, 2010 (the beginning of the sweet sixteen round).&lt;br/&gt;
&lt;h3&gt;Rules&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Your bracket must be chosen completely by a computer algorithm.&lt;/li&gt;
&lt;li&gt;The computer algorithm must base the decision upon historical data.&lt;/li&gt;
&lt;li&gt;You may not hard code selections into your algorithm (e.g., "Always pick Stanford over Cal")&lt;/li&gt;
&lt;li&gt;Your algorithm may only use the data set published for the tournament. The data will be released on Sunday, March 13.&lt;/li&gt;
&lt;li&gt;The above rule is fairly restricting, but I believe this provides a more even playing field. The contest should be about your algorithm's predictive capabilities and not a data advantage one person has over another.&lt;/li&gt;
&lt;li&gt;You must be able to provide code that shows how your entry picks the winners. In other words, your bracket and the selection of winning teams in your bracket must be reproducible by me on a machine.&lt;/li&gt;
&lt;li&gt;In the event of a tie, the entry with the EARLIER submission time wins.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Submissions&lt;/h3&gt;
We'll be using &lt;a href ="http://tournament.fantasysports.yahoo.com/t1/register/joinprivategroup_assign_team?GID=55350"&gt;Yahoo's bracket system&lt;/a&gt; for the contest submissions. Please send an e-mail to leezen+MarchMadness at gmail for the group password to join. Please include your team name, team members, and brief description.
&lt;h3&gt;Prizes&lt;/h3&gt;
TBD
&lt;h3&gt;Data&lt;/h3&gt;
As described above, only the official contest data on this blog is acceptable for use in this contest. You can get a sample of the data, which has all games from the 2006 season through February 2011. Please see &lt;a href="http://blog.smellthedata.com/2011/03/selection-sunday-today.html"&gt;this post&lt;/a&gt; for details. I will also update this post on Sunday with a link to the full data set.
&lt;br/&gt;&lt;br/&gt;
&lt;b&gt;UPDATE&lt;/b&gt;: I have an updated post with details on the final data: &lt;a href="http://blog.smellthedata.com/2011/03/selection-sunday-today.html"&gt;Selection Sunday Data&lt;/a&gt;
&lt;h3&gt;Additional Information&lt;/h3&gt;
Please be aware that algorithm computation time will be somewhat important in this task. You will be able to predict most of your games ahead of time between March 13th and 17th but because of the four play-in games, you will need to predict the outcome of four games between March 15th and 17th as the match-ups in the round of 64 will not be known until the play-in games are complete.
&lt;br/&gt;&lt;br/&gt;
If you have other questions, concerns, etc. please comment on this post and I'll do my best to answer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-9161377383668259665?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PEV4qEcxfZTyINxQ8UYFZRWzOn0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PEV4qEcxfZTyINxQ8UYFZRWzOn0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PEV4qEcxfZTyINxQ8UYFZRWzOn0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PEV4qEcxfZTyINxQ8UYFZRWzOn0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/AuC_wq4P6Hg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/9161377383668259665/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=9161377383668259665" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/9161377383668259665?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/9161377383668259665?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/AuC_wq4P6Hg/official-2011-march-madness-predictive.html" title="Official 2011 March Madness Predictive Analytics Challenge" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>5</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/official-2011-march-madness-predictive.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMAQnY7fSp7ImA9Wx9aFkg.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-1475646830413170994</id><published>2011-03-08T14:51:00.000-08:00</published><updated>2011-03-08T22:50:43.805-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-08T22:50:43.805-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sports" /><category scheme="http://www.blogger.com/atom/ns#" term="machine learning" /><category scheme="http://www.blogger.com/atom/ns#" term="structured prediction" /><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Predicting March Madness: Tournament Structure and Bracket Scoring Measures</title><content type="html">This is the second post aimed at getting you all excited about entering the 
&lt;a href="http://blog.smellthedata.com/2011/01/get-ready-for-2011-march-madness.html"&gt;
2011 March Madness computer predictions challenge&lt;/a&gt;.  If you missed &lt;a href="http://blog.smellthedata.com/2011/02/thoughts-on-modeling-basketball.html"&gt;George's
earlier post&lt;/a&gt;, go check it out first, to get the creative juices flowing.
&lt;br/&gt;&lt;br/&gt;
George wrote about the problem of given two teams, how likely is
it is that one will beat the other.  What 
I will talk about now is how the tournament structure comes into play--the concerns
that go beyond which of two teams will win the next game they're scheduled to play
against each other.  I'll assume throughout that we have at our disposal a good model 
of individual games.
&lt;br/&gt;&lt;br/&gt;
The first natural question is whether any additional thought is necessary.  If
we have a good model of individual games, can't we just greedily use the model to
predict all first round outcomes, then all second round outcomes, ..., then be done?
Maybe it's not such a bad idea.  That's what &lt;i&gt;I've&lt;/i&gt; done the past few years, after all.
&lt;br/&gt;&lt;br/&gt;
I'm going to argue that there may be good reasons to work on
factoring the tournament structure and contest scoring rules into your model.
Let's begin by thinking about the tournament probabilistically.
In the most general setup, there is a probability distribution P over the 
joint space of all outcomes.  In a bracket
with 64 teams (ignore the play-in game for now), there are 2^32 possible results
for the first round.  Given those, there are 2^16 possible results for the second
round.  Given those, 2^8, then 2^4, then 2^2, then 2 possible outcomes for
later rounds.  Multiplying all those, we get 2^63 possible joint outcomes.
A model should be to be able to assign a probability to any of those full outcomes.
&lt;br/&gt;&lt;br/&gt;
&lt;b&gt;Compact representation of probabilities (aka the model):&lt;/b&gt;
2^63 is a very large number, so it's not feasible to represent the probability
of each outcome as a separate entry in a very large table.  Beyond the practical
concerns, it also wouldn't be a good idea from a statistical estimation perspective--such
a model would make inefficient use of training data.
&lt;br/&gt;&lt;br/&gt;
To illustrate this, imagine for a moment that the same tournament happens repeatedly 
(the same teams start 
in each position of the bracket, but there may be different outcomes), and suppose we 
want to use data from the last N tournaments 
to estimate the probability of outcomes in the next repetition of the tournament.
One approach is to just count how often each full bracket resulted in the last N tournaments.
This would use on the order of 2^63 parameters.
If N is infinite (or _extremely_ large), then this is a perfectly good approach; however, 
when we have limited data (i.e., nearly always), nearly all entries in the big table will
be zero; in this case, it is important to have a more compact representation.
&lt;br/&gt;&lt;br/&gt;
The standard solution is to find a more compact representation of P.  Here's one, which
we'll call the &lt;i&gt;fully factorized&lt;/i&gt; model:
the probability of a full tournament outcome P(g_1, ..., g_63) over 63 games g_1 ... g_63
is proportional to f(g_1) * f(g_2) * ... * f(g_63).  For each game, we can look 
at who the participants are, then estimate f by looking over the last N repetitions 
of the tournament where the appropriate two teams met in a game.
It should be clear that there are exponentially many fewer parameters in the compact model
than there are in the big joint table model--in the simplest version, we just need to represent one number for
each pair of teams, so there are on the order of M^2 parameters if there are M teams in the
tournament.  (Going further, which is necessary in practice, when there is only one tournament per year, if we were to use e.g., a
matrix factorization model, we could represent an "offensive strengths" vector (or scalar) and a "defensive
strengths" vector (or scalar), then we could produce &lt;br/&gt;&lt;br/&gt;
&lt;center&gt;f(team i, team j) = g(team i offense * team j defense - team i defense * team j offense),&lt;/center&gt;&lt;br/&gt;
which requires only on the order of M parameters.)
&lt;br/&gt;&lt;br/&gt;
Regardless of how f is computed, the fully factorized model makes some practical sense as well,
because on first pass, we typically don't expect the result of an early game in the South bracket to affect 
the outcome of an early game in the East bracket, for example.  In the fully factorized model, 
that assumption is built in.  Statistically, the rough basic intuition is that all else being
equal, if we have fewer parameters in the model, we need fewer past data instances in
order to pin down their values accurately.
&lt;br/&gt;&lt;br/&gt;
The flip side of using a simpler model is that we lose the ability to model certain
interactions.  Let's think critically about this: do we really believe that the outcome
of each game depends only on which teams are playing in the current game?  If you listen
to sports announcers, it's not clear to me that the answer is yes.  For example,
&lt;ul&gt;
&lt;li&gt;Some teams might do better or worse under pressure, players might get tired after several intense
games in a row, or the location of the game affect the outcome.  
In all these cases, the round in which the game takes place could be important.&lt;/li&gt;
&lt;li&gt;If an underdog pulls off a big upset over a top seed, the underdog might gain confidence and
become stronger in their next games.&lt;/li&gt;
&lt;li&gt;If a top seed just barely beats a big underdog, the top seed might either lose
confidence or snap out of a lull.&lt;/li&gt;
&lt;li&gt;If an underdog in say the East bracket beats a top seed in say the South bracket on Day 1, it
might give other underdogs a boost of confidence on Day 2.&lt;/li&gt;
&lt;li&gt;Suppose we have a structure where A is playing B and C is playing D, then the winners play each
other.  If B is weak and C is a big rival of A's, it's possible that A could look past B to C and not
come prepared for the game against B.&lt;/li&gt;
&lt;/ul&gt;
&lt;br/&gt;&lt;br/&gt;
Are these things important to model?  I'm not sure, but it would be interesting to try.
If we do, we'll need a more complex representation of our tournament outcome model
than the simple fully factorized approach gives.
&lt;br/&gt;&lt;br/&gt;

&lt;b&gt;Loss functions:&lt;/b&gt;  Now let's switch gears and consider precisely what our goal is. 
I'll assume that each bracket challenge contestant can only enter one bracket into the contest.
In the simplest case, we might be concerned only with whether we get the perfect 
bracket or not; this would be the case in a contest where a perfect bracket 
wins $5M, but there is no payout for a less-than-perfect bracket.  Then, the optimal 
strategy is to choose the joint outcome that the model thinks is most likely.  The optimality
is easy to see, because the expected value is equal to $0 * P(not perfect) + $5M * P(perfect).
So assuming the model captures all we know about the tournament, 
we should clearly choose the outcome that the model
assigns the highest probability.
&lt;br/&gt;&lt;br/&gt;
What about the case where the goal is to get as many predictions right as possible?
&lt;br/&gt;&lt;br/&gt;
Maybe we are equally unhappy if we do worse than the baseline that makes all predictions
based solely on seed, then we're linearly more happy as we beat that baseline by more. 
(For example, if you're betting against your mom, and she has a history of always choosing
the better seed.)
&lt;br/&gt;&lt;br/&gt;
Or maybe you are linearly more happy as you get more "points", but points are determined
by some contest-specific scoring rules, like the first round is worth 1 point, the second
round is worth 2, the third 4, etc.
&lt;br/&gt;&lt;br/&gt;

Whatever your goal, there is likely some &lt;i&gt;loss function&lt;/i&gt; that can be formulated to
capture your desires for a model.  
Formally, a loss function is just a function of a model's prediction and the ground
truth that tells how unhappy we are with the prediction.  If the prediction is perfect (all games right!),
loss should be 0, and if the prediction is the worst possible (all games wrong?!) the
loss should be maximum (let's say 1).
Obviously we'd prefer to just have a perfect bracket, but given such a hard problem, 
that's unrealistic.  The job of a loss function is to tell the model how to trade off
different kinds of mistakes.  It's rarely the case that we really think there is
one bracket that is perfect and all others (like the one that gets
everything right except the play-in game) are equally bad, so formulating
a good loss function generally takes some thought.
&lt;br/&gt;&lt;br/&gt;

These types of questions are near and dear to my heart (though I generally think more about
them in the context of computer vision than March Madness), 
so hopefully you now have some intuitions about why we might want to go beyond simple
per-game models, and hopefully you're convinced that part of defining a good model is
defining a good loss function.
&lt;br/&gt;&lt;br/&gt;

A question that remains is how to actually build such a model.  How do we formulate
this idea that we are making multiple correlated predictions at once (predicting the
whole bracket rather than just one game at a time), and how do we ask a learning
algorithm to try to optimize a particular loss function?  I'm glad you asked!  Luckily,
 there is a whole subfield of machine learning that looks at these types of problems.  
It goes by the name of &lt;i&gt;structured prediction&lt;/i&gt;, or &lt;i&gt;structured output learning&lt;/i&gt;.
&lt;br/&gt;&lt;br/&gt;
I'd write more about it here, but &lt;a href="http://www.umiacs.umd.edu/~hal/"&gt;Hal Daumé III&lt;/a&gt; has written a great series on the
exact subject over at his blog.  So if you are interested in more, I encourage you to go
check out the following posts:&lt;br/&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://nlpers.blogspot.com/2006/01/structured-prediction-1-whats-out.html"&gt;http://nlpers.blogspot.com/2006/01/structured-prediction-1-whats-out.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nlpers.blogspot.com/2006/01/structured-prediction-2-my-perspective.html"&gt;http://nlpers.blogspot.com/2006/01/structured-prediction-2-my-perspective.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nlpers.blogspot.com/2006/02/structured-prediction-25-features.html"&gt;http://nlpers.blogspot.com/2006/02/structured-prediction-25-features.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nlpers.blogspot.com/2006/02/structured-prediction-3-whats-to-come.html"&gt;http://nlpers.blogspot.com/2006/02/structured-prediction-3-whats-to-come.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nlpers.blogspot.com/2006/02/art-of-loss-functions.html"&gt;http://nlpers.blogspot.com/2006/02/art-of-loss-functions.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

And it should go with out saying: keep working on those models!  The competition will be starting soon!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-1475646830413170994?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/glB4Y3fEZuOdYGTXx07Pjjy2eq8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/glB4Y3fEZuOdYGTXx07Pjjy2eq8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/glB4Y3fEZuOdYGTXx07Pjjy2eq8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/glB4Y3fEZuOdYGTXx07Pjjy2eq8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/vtVTBflfWaE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/1475646830413170994/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=1475646830413170994" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/1475646830413170994?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/1475646830413170994?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/vtVTBflfWaE/predicting-march-madness-tournament.html" title="Predicting March Madness: Tournament Structure and Bracket Scoring Measures" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/03/predicting-march-madness-tournament.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UFRHc4eSp7ImA9Wx9bE08.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-2926947746299224571</id><published>2011-02-21T12:14:00.000-08:00</published><updated>2011-02-21T12:46:55.931-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-21T12:46:55.931-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="python" /><category scheme="http://www.blogger.com/atom/ns#" term="code" /><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>2010 March Madness Contest Winning Algorithm: Code</title><content type="html">Last year's &lt;a href="http://blog.smellthedata.com/2010/03/official-march-madness-predictive.html"&gt;March Madness algorithm predictions contest&lt;/a&gt; ended with me winning the full bracket, and Scott Turner (aka "The Pain Machine") and I tied for the sweet 16 bracket:&lt;br/&gt;
&lt;a href="http://blog.smellthedata.com/2010/04/duke-is-not-only-winner-from-last-night.html"&gt;http://blog.smellthedata.com/2010/04/duke-is-not-only-winner-from-last-night.html&lt;/a&gt;
&lt;br/&gt;&lt;br/&gt;
I've gotten a few emails asking for the code I used.  I haven't looked at it since last year, but the Python code is available here:&lt;br/&gt;
&lt;a href="http://www.cs.toronto.edu/~dtarlow/march_madness_public.tgz"&gt;http://www.cs.toronto.edu/~dtarlow/march_madness_public.tgz&lt;/a&gt;
&lt;br/&gt;&lt;br/&gt;
You can follow links for the &lt;a href="http://blog.smellthedata.com/2009/03/data-driven-march-madness-predictions.html"&gt;description of the probabilistic matrix factorization model&lt;/a&gt;, and&lt;a href="http://blog.smellthedata.com/2009/06/netflix-prize-tribute-recommendation.html"&gt; a post using a similar model applied to a recommendation system&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
Unfortunately, the documentation is a bit lacking beyond that.  Hopefully the posts are enough to explain things at a high level.  If you have more detailed questions (or find bugs), feel free to ask (or point them out) in the comments.
&lt;br/&gt;&lt;br/&gt;
If somebody adapts this code to work with &lt;a href="http://blog.smellthedata.com/2011/02/ncaa-boxscore-data-2006-2010.html"&gt;this year's data&lt;/a&gt; format, please share! (and let me know)
&lt;br/&gt;&lt;br/&gt;
&lt;a href="http://www.cs.toronto.edu/~rpa/adams-dahl-murray-2010a.shtml"&gt;This code&lt;/a&gt; may also be of interest.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-2926947746299224571?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WCoXMI6u-YL7q0kmfutiV2kE5U8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WCoXMI6u-YL7q0kmfutiV2kE5U8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WCoXMI6u-YL7q0kmfutiV2kE5U8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WCoXMI6u-YL7q0kmfutiV2kE5U8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/Nck_Mq2S6Z4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/2926947746299224571/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=2926947746299224571" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/2926947746299224571?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/2926947746299224571?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/Nck_Mq2S6Z4/2010-march-madness-contest-winning.html" title="2010 March Madness Contest Winning Algorithm: Code" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/02/2010-march-madness-contest-winning.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIDQXo7fip7ImA9Wx9bEUk.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-1114766420579625246</id><published>2011-02-19T10:28:00.000-08:00</published><updated>2011-02-19T10:36:10.406-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-19T10:36:10.406-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="memorization" /><title>Memory Hacking</title><content type="html">I wrote a while back about the idea of &lt;a href="http://blog.smellthedata.com/2010/12/machine-learning-for-human-memorization.html"&gt;using machine learning to make scrabble words easier for me to memorize&lt;/a&gt;.  One of the main problems was how to describe the "me complexity" (or "danny complexity") of some representation of the dictionary.  This article doesn't directly address the question, but I found it quite interesting to think about in this context:
&lt;br/&gt;
&lt;a href="http://www.nytimes.com/interactive/2011/02/20/magazine/mind-secrets.html?ref=magazine"&gt;http://www.nytimes.com/interactive/2011/02/20/magazine/mind-secrets.html?ref=magazine&lt;/a&gt;
&lt;br/&gt;&lt;br/&gt;
I find that building intuitions and stories around concepts in research helps me greatly when coming up with new ideas.
Are there corresponding classes of mind-hacks for other things, like creativity or mathematical manipulations?
&lt;br/&gt;&lt;br/&gt;
(Via &lt;a href="http://twitter.com/#!/igrigorik"&gt;@igrigorik&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-1114766420579625246?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Mf_KSizMvmczy4mcfvB6F395RmI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mf_KSizMvmczy4mcfvB6F395RmI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Mf_KSizMvmczy4mcfvB6F395RmI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mf_KSizMvmczy4mcfvB6F395RmI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/vJwIJdK8e10" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/1114766420579625246/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=1114766420579625246" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/1114766420579625246?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/1114766420579625246?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/vJwIJdK8e10/memory-hacking.html" title="Memory Hacking" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/02/memory-hacking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4FSHw7eyp7ImA9Wx9bEUg.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-2872686364623010241</id><published>2011-02-19T07:05:00.000-08:00</published><updated>2011-02-19T14:01:59.203-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-19T14:01:59.203-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="matrix factorization" /><category scheme="http://www.blogger.com/atom/ns#" term="chess" /><title>Modeling Chess with Probabilistic Matrix Factorization</title><content type="html">Dirk writes...
&lt;blockquote&gt;Thanks for posting your code and ideas on your blog. I was playing around with your PMF code applying it to chess games, where users are white and items are black. Because players can play more than once against each other, would you remove the duplicate pairs?&lt;/blockquote&gt;

Cool.  It sounds like an interesting application.
&lt;br/&gt;&lt;br/&gt;
I don't see any reason to remove duplicate pairs.  If different games have different outcomes, you definitely want to keep both to prevent biasing the model.  If there are duplicate games with the same outcome, we should be more confident that the outcome wasn't a fluke, so it roughly makes sense that we'd want to weight it a bit more (which is the effect of having duplicate entries in the data set).
&lt;br/&gt;&lt;br/&gt;
It's a bit strange to apply the vanilla model chess, though.  There is no relationship in the model between player X as white and player X as black--they might as well be two separate people.  It may be interesting to look at extensions where the latent vectors for player X as white are constrained to be similar as the latent vectors for player X as black.
&lt;br/&gt;&lt;br/&gt;
Do any readers disagree?

&lt;br/&gt;&lt;br/&gt;
(The relevant code is &lt;a href="http://blog.smellthedata.com/2009/06/netflix-prize-tribute-recommendation.html"&gt;here&lt;/a&gt;.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-2872686364623010241?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5Qzzz4eLt0wBS4uDLI9p1cdmHH4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5Qzzz4eLt0wBS4uDLI9p1cdmHH4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5Qzzz4eLt0wBS4uDLI9p1cdmHH4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5Qzzz4eLt0wBS4uDLI9p1cdmHH4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/JQlMxkTeQjY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/2872686364623010241/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=2872686364623010241" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/2872686364623010241?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/2872686364623010241?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/JQlMxkTeQjY/modeling-chess-with-probabilistic.html" title="Modeling Chess with Probabilistic Matrix Factorization" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/02/modeling-chess-with-probabilistic.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMAQH89fyp7ImA9Wx9UFk8.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-8819949149549406088</id><published>2011-02-13T12:09:00.000-08:00</published><updated>2011-02-13T12:20:41.167-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-13T12:20:41.167-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="data" /><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>NCAA Boxscore Data 2006-2010</title><content type="html">All the boxscores from the 2006-2010 seasons (up until the first few days of February) are now available for &lt;a href="https://docs.google.com/leaf?id=0BysperLdI86MNTUzMmMyODgtODMyZi00MzQzLWFkM2UtYWEyOTNlZWJkNTgx&amp;hl=en"&gt;download&lt;/a&gt;!
&lt;br/&gt;&lt;br/&gt;
The format is specified in the last post (&lt;a href="http://blog.smellthedata.com/2011/02/data-update.html"&gt;here&lt;/a&gt;). However, please note that the team codes now include an "UNK" which refers to a team that is not within the list of codes. These are often small teams either in non-Division 1 conferences or no longer in Division 1. UNK can map to multiple schools. Please let me know via the comments if this will pose any major problems. I could include the actual team name, but all of the "UNK" teams will not be in the tournament and it is likely that almost all the schools in the tournament will not have an "UNK" team in their regular season schedule.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-8819949149549406088?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/75XjT6T6T-5pQm1Xc6oPumRwxyI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/75XjT6T6T-5pQm1Xc6oPumRwxyI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/75XjT6T6T-5pQm1Xc6oPumRwxyI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/75XjT6T6T-5pQm1Xc6oPumRwxyI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/v5Fl5y5jNHk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/8819949149549406088/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=8819949149549406088" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/8819949149549406088?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/8819949149549406088?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/v5Fl5y5jNHk/ncaa-boxscore-data-2006-2010.html" title="NCAA Boxscore Data 2006-2010" /><author><name>Lee</name><uri>http://www.blogger.com/profile/17617335710795529109</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/02/ncaa-boxscore-data-2006-2010.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMMRHc4cSp7ImA9Wx9UFU4.&quot;"><id>tag:blogger.com,1999:blog-1107147718367558732.post-4399342108271723684</id><published>2011-02-12T10:26:00.000-08:00</published><updated>2011-02-12T11:21:25.939-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-12T11:21:25.939-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="george" /><category scheme="http://www.blogger.com/atom/ns#" term="basketball" /><category scheme="http://www.blogger.com/atom/ns#" term="machine learning" /><category scheme="http://www.blogger.com/atom/ns#" term="march_madness" /><title>Thoughts on Modeling Basketball</title><content type="html">&lt;i&gt;This is a guest post by the great &lt;b&gt;&lt;a href="http://www.cs.toronto.edu/~gdahl/"&gt;George Dahl&lt;/a&gt;&lt;/b&gt;, who is one of my go-to guys for sports modeling.  I invited George to write a guest post related to the upcoming &lt;a href="http://blog.smellthedata.com/2011/01/get-ready-for-2011-march-madness.html"&gt;2011 March Madness Predictive Analytics Challenge&lt;/a&gt;, because he has experience with applying machine learning to several different sports predictions problems, particularly in tennis and basketball.  In the past, I've posted about work he was involved with related to &lt;a href="http://blog.smellthedata.com/2010/06/bayesian-nba-basketball-predictions.html"&gt;Bayesian NBA Basketball Predictions&lt;/a&gt;.
&lt;br/&gt;&lt;br/&gt;
George is a Ph.D. student in the &lt;a href="http://learning.cs.toronto.edu/index.shtml"&gt;Toronto Machine Learning Group&lt;/a&gt;, and he is supervised by &lt;a href="http://www.cs.toronto.edu/~hinton"&gt;Geoffrey Hinton&lt;/a&gt;. George focuses most of his research energy on deep learning approaches to speech and language processing and is a part of a collaboration that has obtained some of the best results on the TIMIT dataset.&lt;/i&gt;
&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;
With what will certainly be the most exciting &lt;a href="http://blog.smellthedata.com/2011/01/get-ready-for-2011-march-madness.html"&gt;March Madness prediction competition&lt;/a&gt; yet looming on the horizon, Danny asked me to share a few of my thoughts on using machine learning for basketball prediction. In this discussion, I want to focus on predicting everything possible about the outcomes of individual games and avoid discussing predicting an entire bracket. Certainly a reasonable approach for predicting a bracket is to predict individual games in sequence, but it should be obvious that there might be some problems with this since mistakes in early games can have a very large impact on the quality of the final bracket. This discussion also won’t really focus on the details of the competition too much, but instead more on whatever I feel like rambling about.
&lt;br/&gt;&lt;br/&gt;
Before we start, I want to mention the two people that made it possible for me to work on basketball prediction and coauthor a paper featuring it. Last year, I became very interested in predicting NBA game results (and betting on them) and I wanted to see how far I could push the basic matrix factorization approach in &lt;a href="http://blog.smellthedata.com/2009/03/data-driven-march-madness-predictions.html"&gt;Danny’s original post&lt;/a&gt;. One area where &lt;a href="http://books.nips.cc/papers/files/nips20/NIPS2007_1007.pdf"&gt;probabilistic matrix factorization (PMF)&lt;/a&gt; has been highly effective is in the famous Netflix Prize competition. Even with the number of training cases in the Netflix competition, &lt;a href="http://www.mit.edu/~rsalakhu/BPMF.html"&gt;a Bayesian approach&lt;/a&gt; provides substantial benefits in prediction accuracy by preventing overfitting. In a basketball game prediction system, we should expect it to be even more important to be protected by the cloak of the Reverend* since teams may only play each other a few times in a given season and the composition of the team, injury status of the players, and other features of a team constantly evolve. Thus it seemed natural to try Bayesian PMF on basketball prediction. Knowing that the latest and greatest practical sampling wisdom might prove essential, I recruited two sampling wizards, Doctors &lt;a href="http://www.cs.toronto.edu/~rpa/"&gt;Ryan Adam&lt;/a&gt;s and &lt;a href="http://homepages.inf.ed.ac.uk/imurray2/"&gt;Iain Murray&lt;/a&gt;, the Radagast the Brown and Pallando the Blue of Bayesian machine learning. Without their wizardly might, I wouldn’t have nearly as much to say about this topic.
&lt;br/&gt;&lt;br/&gt;
Although my real goal is to give a thought or two on how to go beyond the work Ryan, Iain, and I did to predict the outcomes of basketball games, I also want to briefly introduce *what* we did and tell you where you can find &lt;a href="http://www.cs.toronto.edu/~rpa/adams-dahl-murray-2010a.shtml"&gt;our code&lt;/a&gt; (the final version was mostly written by Ryan--much of my code wasn’t used after some initial prototypes) and &lt;a href="http://www.cs.toronto.edu/~gdahl/papers/dpmfNBA.pdf"&gt;paper&lt;/a&gt; if you want to try something similar for the challenge. I am not planning on directly applying our method to predicting games to predicting brackets, but if any enterprising soul is planning on trying out what we did I would be quite curious to see how well it does.
&lt;br/&gt;&lt;br/&gt;
So how should we think about the basketball game prediction problem? My philosophy is to always start at the data. I was able to collect data on the outcome of NBA games from 2002 to about 2009. Each data case is a game and has the date of the game, the home team, the away team, the home team final score, the away team final score, a bookie spread, and a bookie over/under line. One obvious thing to do is to design some features f(g) that you can compute for each game g, perhaps something about the strength of the home team’s coach, lineup, roster, etc. for that day and anything else you can think of and calculate or set based on the knowledge of some NBA expert. Then we could just train some “off the shelf” classifier and predict a binary label that denotes if the home team won the game. Although not unreasonable, I think this approach tries to fit the problem into a particular solution mold instead of designing a solution that is well suited to the problem.
&lt;br/&gt;&lt;br/&gt;
The most important thing about a basketball game is that it is an interaction between two teams. Instead of learning or engineering features of games, we should learn features for teams and model the interaction between teams directly.
 If we have additional information specific to the interaction (such as the venue of the game, time and date of the game, identity of referees, etc.), we should use it to modulate the team features or even make the team features functions of this side information.  When we observe the result of a game, the way we will get the most information out of it is by building in as much problem structure as naturally as possible. Doing binary classification of games throws away score information that tells us about the offensive and defensive capabilities of the teams. Treating game records as &lt;a href="http://en.wikipedia.org/wiki/Independent_and_identically-distributed_random_variables"&gt;i.i.d.&lt;/a&gt; regardless of when the games took place may similarly overgeneralize from temporary effects and ignore permanent changes in the offensive and defensive (and other) capabilities of the teams involved.
&lt;br/&gt;&lt;br/&gt;
An important point relating to using score information is that the numbers of points two teams earn in a game are highly correlated, simply because of the possession rules of basketball (other factors cause team dependent correlations of various sorts between scores as well, such as how good at getting rebounds players on the team are and the potentially complicated decisions coaches might make that would cause these players to be on or off the bench). Seeing the Suns at home beat the Timberwolves &lt;a href="http://espn.go.com/nba/recap?id=300316021"&gt;152 to 114&lt;/a&gt; could be explained in a variety of ways. 114 is a reasonably high score, perhaps Minnesota has a strong offense, weak defense, and the Suns have an equally strong offense, but a stronger defense (and they are at home so maybe that helps them score more than it helps them defend?). One simplistic way of predicting the number of points a team will score in a game is to use the average number of points they scored over all their recent games. Then, to predict the final score of a game between the Suns and the Timberwolves, we could use the average number of points scored by the Suns and the average number of points scored by the Timberwolves. However, a different (and equally simplistic) way of predicting the number of points scored by a team in a game is to use the average number of points lost by the opposing team over all the opposing team's recent games. This method, in turn, gives us another way of predicting the final score of a game between the Suns and the Timberwolves. We could predict that the Suns will score the average number of points the Timberwolves typically lose and that the Timberwolves will score the average number of points the Suns typically lose. These two estimates of the score in a new game will not in general agree.
&lt;br/&gt;&lt;br/&gt;
 Beyond not agreeing with each other, what makes these averages even worse is that they don’t do a good job of even encapsulating the offensive or defensive strength of a team. Scoring a lot of points gives the opponent many more chances to score against you, so a strong offensive team will distort our estimates of its defensive capability and a strong defensive team might distort our estimates of its offensive capability. How do we reconcile these conflicting ways of viewing the evidence? 
&lt;br/&gt;&lt;br/&gt;
We need a probabilistic model of basketball game scores that incorporates the possession-based correlation between scores or we risk learning distorted values for potentially any model parameter meant to capture how good teams are offensively or defensively. Conversely, since the correlation in basketball is so strong, it can be really helpful to give our model the power to learn it. Hopefully if we integrate out parameters of the model that correspond to any of these difficult-to-infer “offensive” and “defensive” strength qualities and weight them by their posterior probability in the typical Bayesian way we will do well as long as the likelihood is sensible and incorporates a learned correlation between the two scores in a game.
&lt;br/&gt;&lt;br/&gt;
What I have been talking about above is the basic modeling framework we used in &lt;a href="http://www.cs.toronto.edu/~gdahl/papers/dpmfNBA.pdf"&gt;our paper&lt;/a&gt;. Use a matrix factorization model to capture the dyadic nature of the data, use a Bayesian approach to avoid overfitting and integrate over our unknown latent variables, model offensive and defensive features of teams as smooth functions of time and home/away status (the only side information we had access to in our data), and use a sensible likelihood that can incorporate any correlation between the scores of the two teams in a game the model might discover or need to explain the data.
&lt;br/&gt;&lt;br/&gt;
But how do we go beyond this? What sort of enhancements to the model in our paper are the most promising? Once again, I like to focus on the data. How well are we dealing with the structure in the data we already have, what other sorts of data could we get or would we want to get, and how would we exploit any such new data to improve the model? Are there any trends in that data that give us insight into problems with the model or potential improvements? 
&lt;br/&gt;&lt;br/&gt;
We can’t really get more game records if we already have all the games each team played in the last few years, but we could get more information about each game or the state of the teams at different points in time. We want pieces of information that are either really useful, really easy to collect, or both. I have two ideas in this vein that I think are promising. The first idea isn’t too ambitious. Right now, the model only uses the final score, but it shouldn’t be too hard to collect box scores.  Can we use this new information to improve the model? Surely something better than ignoring it can be done. If we are being more ambitious, can we get access to injury reports or player specific data on a large scale? With a lot of player information, we can move from modeling games as interactions between teams which are modeled as monolithic (if time varying) entities with a large set of latent features, to modeling games as interactions between groups of players on opposing sides. Just as modeling games as interactions between teams and learning latent team features was more natural than classifying games, we could in principle use our knowledge of basketball to model games as interactions between players and learn latent features for individual players.
&lt;br/&gt;&lt;br/&gt;
Let’s talk about box scores first, since it is less daunting a prospect.  The way Ryan, Iain, and I dealt with the correlation between scores in the same game is by placing a bivariate Gaussian over them in the model. One natural thing to do with box scores is to just stick a reasonable joint distribution over them and maybe share some of the parameters of that distribution across teams. Since the points scored by a team in a single quarter are at most the number of points scored by the team in the entire game, the use of a Gaussian distribution might no longer be as appropriate as it is for modeling the total number of points scored in a game, but the thing to do would be to look at some histograms and find a reasonable distribution to use. A potential advantage of using box scores is that it might give the model the capability of, at least in part, dealing with the so-called &lt;a href="http://en.wikipedia.org/wiki/Garbage_time"&gt;“garbage time”&lt;/a&gt; phenomenon common in basketball games. The points scored in the final quarter of a game (or maybe even some earlier quarters) may or may not be representative of the actual capabilities of the teams, because a very different set of players is on the court when the outcome is almost completely determined than when the outcome of the game is still in question.
&lt;br/&gt;&lt;br/&gt;
Representing individual players explicitly in the model is a fascinating possibility, but requires more data than what I have collected. At the minimum, we would need the team roster for every game, but it would be great to also have lineups and injury reports. The ultimate dream would be to have the time series that follows everything happening to the ball and who is on the court, but this quickly leaves the realm of possibility since only the teams themselves might be collect that sort of information.
&lt;br/&gt;&lt;br/&gt;
The competition data looks like it will have the same data I collected for the NBA, without the bookie information, plus the set of players on each team and some information specific to each player in each game. The player information for player r in game g includes things like the number of minutes  r was on the court during g, the number of field goals r made during g, the number of field goals r attempted during g, etc. I don’t know the best way to model the interactions between players, but one possibility is to model the way a player performs in a game as being based on the sum of all pairwise interactions between players involving that player, perhaps weighted by how long the other player was in the game.  Each player would then have a set of latent features for their inter-team interactions and intra-team interactions, and the effect of an interaction would be based on the dot product between the relevant feature vectors. With a sensible set of priors that make the features functions of side information as before and a reasonable conditional likelihood function for the specific pieces of data we get about how players perform in games, we should be able, at least in principle, to integrate out all the unknown latent features and make predictions.
&lt;br/&gt;&lt;br/&gt;
Good luck with the competition!
&lt;br/&gt;&lt;br/&gt;
*The Reverend here of course being the Reverend Thomas Bayes. This delightful idiom is, I believe, originally due to the late Sam Roweis.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1107147718367558732-4399342108271723684?l=blog.smellthedata.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oGIElFtEsRc_OvaSJmmLO_8Rzys/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oGIElFtEsRc_OvaSJmmLO_8Rzys/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oGIElFtEsRc_OvaSJmmLO_8Rzys/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oGIElFtEsRc_OvaSJmmLO_8Rzys/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThisNumberCrunchingLife/~4/-5fSxnAn0Xc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.smellthedata.com/feeds/4399342108271723684/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1107147718367558732&amp;postID=4399342108271723684" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/4399342108271723684?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1107147718367558732/posts/default/4399342108271723684?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThisNumberCrunchingLife/~3/-5fSxnAn0Xc/thoughts-on-modeling-basketball.html" title="Thoughts on Modeling Basketball" /><author><name>Danny Tarlow</name><uri>http://www.blogger.com/profile/14670021337844708633</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="25" src="http://1.bp.blogspot.com/_cFAlw8-Y0gE/TRrm8pdSK1I/AAAAAAAAA5o/S8w-VVzdc1A/S220/mehak.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.smellthedata.com/2011/02/thoughts-on-modeling-basketball.html</feedburner:origLink></entry></feed>

