(The Conversation is an independent and nonprofit source of news, analysis and commentary from academic experts.)
<a target=”—blank” href=”https://theconversation.com/profiles/matthew-osborne-443424″>Matthew Osborne</a>, <a target=”—blank” href=”http://theconversation.com/institutions/the-ohio-state-university-759″>The Ohio State University</a> and <a target=”—blank” href=”https://theconversation.com/profiles/kevin-nowland-443425″>Kevin Nowland</a>, <a target=”—blank” href=”http://theconversation.com/institutions/the-ohio-state-university-759″>The Ohio State University</a>
(THE CONVERSATION) “Beware the Ides of March.” Yes, it’s finally that time of year again: when the emperors of college basketball must watch their backs, lest the lowly bottom seeds of the tournament strike.
Before March 15, millions around the world will fill out their March Madness brackets. In 2017, ESPN <a target=”—blank” href=”https://wtop.com/ncaa-basketball/2017/03/record-number-of-ncaa-tournament-brackets-submitted-to-espn/”>received a record</a><a target=”—blank” href=”https://twitter.com/ESPNFantasy/status/842954532271415296″>18.8 million brackets</a>.
The first step to a perfect bracket is correctly choosing the first round. Unfortunately, most of us can’t predict the future. Last year, only <a target=”—blank” href=”https://twitter.com/ESPNFantasy/status/842954532271415296″>164 of the submitted brackets</a> were perfect through the first round – less than 0.001 percent.
Many brackets are busted when a <a target=”—blank” href=”https://www.npr.org/sections/thetwo-way/2014/03/22/292801520/buffetts-billion-dollars-are-safe-as-upsets-bust-brackets”>lower-seeded team upsets the favored higher seed</a>. Since the field expanded to 64 teams in 1985, <a target=”—blank” href=”https://www.sports-reference.com/cbb/”>at least eight upsets occur on average each year</a>. If you want to win your bracket pool, you better pick at least a few upsets.
We’re two math Ph.D. candidates at the Ohio State University who have a passion for data science and basketball. This year, we decided it would be fun to build a computer program that uses a mathematical approach to predict first-round upsets. If we’re right, a bracket picked using our program should perform better through the first round than the average bracket.
It’s not easy to identify which of the first-round games will result in an upset.
Say you have to decide between the No. 10 seed and the No. 7 seed. The No. 10 seed has pulled off upsets in its past three tournament appearances, once even making the Final Four. The No. 7 seed is a team that’s received little to no national coverage; the casual fan has probably never heard of them. Which would you choose?
If you chose the No. 10 seed in 2017, you would have gone with Virginia Commonwealth University over Saint Mary’s of California – and you would have been wrong. Thanks to a decision-making fallacy called recency bias, humans can be tricked into to using their most recent observations to make a decision.
Recency bias is just one type of bias that can infiltrate someone’s picking process, but there are many others. Maybe you’re biased toward your home team, or maybe you identify with a player and desperately want him or her to succeed. All of this influences your bracket in a potentially negative way. <a target=”—blank” href=”http://books.wwnorton.com/books/The-Undoing-Project/”>Even seasoned professionals</a> fall into these traps.
Machine learning can defend against these pitfalls.
In machine learning, statisticians, mathematicians and computer scientists train a machine to make predictions by letting it “learn” from past data. This approach has been used in many diverse fields, including <a target=”—blank” href=”https://www.forbes.com/sites/louiscolumbus/2018/02/25/10-ways-machine-learning-is-revolutionizing-marketing/#26d9700d5bb6″>marketing</a>, <a target=”—blank” href=”https://www.wired.com/story/using-ai-to-help-stroke-victims-when-time-is-brain/”>medicine</a> and <a target=”—blank” href=”http://www.sloansportsconference.com/wp-content/uploads/2018/02/1006.pdf”>sports</a>.
Machine learning techniques can be likened to a black box. First, you feed the algorithm past data, essentially setting the dials on the black box. Once the settings are calibrated, the algorithm can read in new data, compare it to past data and then spit out its predictions.
In machine learning, there are a variety of black boxes available. For our March Madness project, the ones we wanted are known as <a target=”—blank” href=”http://www.springer.com/us/book/9780387848570″>classification algorithms</a>. These help us determine whether or not a game should be classified as an upset, either by providing the probability of an upset or by explicitly classifying a game as one.
Our program uses a number of popular classification algorithms, including logistic regression, random forest models and k-nearest neighbors. Each method is like a different “brand” of the same machine; they work as differently under the hood as Fords and Toyotas, but perform the same classification job. Each algorithm, or box, has its own predictions about the probability of an upset.
We used the statistics of all <a target=”—blank” href=”https://www.sports-reference.com/cbb/”>2001 to 2017 first-round teams</a> to set the dials on our black boxes. When we tested one of our algorithms with the 2017 first-round data, it had about a 75 percent success rate. This gives us confidence that analyzing past data, rather than just trusting our gut, can lead to more accurate predictions of upsets, and thus better overall brackets.
What advantages do these boxes have over human intuition? For one, the machines can identify patterns in all of the 2001-2017 data in a matter of seconds. What’s more, since the machines rely only on data, they may be less likely to fall for human psychological biases.
That’s not to say that machine learning will give us perfect brackets. Even though the box bypasses human bias, it’s not immune to error. Results depend <a target=”—blank” href=”http://www.springer.com/us/book/9780387848570″>on past data</a>. For example, if a No. 1 seed were to lose in the first round, our model would not likely predict it, because that has never happened before.
Additionally, machine learning algorithms work best <a target=”—blank” href=”http://www.springer.com/us/book/9780387848570″>with thousands or even millions of examples</a>. Only 544 first-round March Madness games have been played since 2001, so our algorithms will not correctly call every upset. <a target=”—blank” href=”https://www.theringer.com/nba/2018/2/26/17052150/mit-sloan-sports-analytics-conference-jimmy-butler-daryl-morey”>Echoing basketball expert Jalen Rose</a>, our output should be used as a tool in conjunction with your expert knowledge – and luck! – to choose the correct games.
Machine learning madness?
<a target=”—blank” href=”https://fivethirtyeight.com/interactives/march-madness-predictions-2015/#mens”>We’re not the first people</a> to apply machine learning to March Madness and we <a target=”—blank” href=”https://www.kaggle.com/c/mens-machine-learning-competition-2018″>won’t be the last</a>. In fact, machine learning techniques <a target=”—blank” href=”http://fivethirtyeight.com/features/how-a-data-scientist-whod-never-heard-of-basketball-mastered-march-madness/”>may soon be necessary to make your bracket competitive</a>.
You don’t need a degree in mathematics to use machine learning – although it helps us. Soon, machine learning may be <a target=”—blank” href=”https://www.theverge.com/2018/2/28/17063780/google-ai-machine-learning-hub-crash-course-free”>more accessible than ever</a>. Those interested can <a target=”—blank” href=”https://github.com/kevinnowland/NCAA”>take a look at our models online</a>. Feel free to explore our algorithms and even <a target=”—blank” href=”http://www-bcf.usc.edu/%7Egareth/ISL/”>come up with a better approach yourself</a>.
This article was originally published on The Conversation. Read the original article here: <a target=”—blank” href=”http://theconversation.com/this-march-madness-were-using-machine-learning-to-predict-upsets-91618″>http://theconversation.com/this-march-madness-were-using-machine-learning-to-predict-upsets-91618</a>.
<div><img src=”https://counter.theconversation.com/content/91618/count.gif?distributor=ap” width=”1″ height=”1″ /></div>