Full metadata
Title
Using Machine Learning to Predict the NBA
Description
Machine learning is one of the fastest growing fields and it has applications in almost any industry. Predicting sports games is an obvious use case for machine learning, data is relatively easy to collect, generally complete data is available, and outcomes are easily measurable. Predicting the outcomes of sports events may also be easily profitable, predictions can be taken to a sportsbook and wagered on. A successful prediction model could easily turn a profit. The goal of this project was to build a model using machine learning to predict the outcomes of NBA games.
In order to train the model, data was collected from the NBA statistics website. The model was trained on games dating from the 2010 NBA season through the 2017 NBA season. Three separate models were built, predicting the winner, predicting the total points, and finally predicting the margin of victory for a team. These models learned on 80 percent of the data and validated on the other 20 percent. These models were trained for 40 epochs with a batch size of 15.
The model for predicting the winner achieved an accuracy of 65.61 percent, just slightly below the accuracy of other experts in the field of predicting the NBA. The model for predicting total points performed decently as well, it could beat Las Vegas’ prediction 50.04 percent of the time. The model for predicting margin of victory also did well, it beat Las Vegas 50.58 percent of the time.
In order to train the model, data was collected from the NBA statistics website. The model was trained on games dating from the 2010 NBA season through the 2017 NBA season. Three separate models were built, predicting the winner, predicting the total points, and finally predicting the margin of victory for a team. These models learned on 80 percent of the data and validated on the other 20 percent. These models were trained for 40 epochs with a batch size of 15.
The model for predicting the winner achieved an accuracy of 65.61 percent, just slightly below the accuracy of other experts in the field of predicting the NBA. The model for predicting total points performed decently as well, it could beat Las Vegas’ prediction 50.04 percent of the time. The model for predicting margin of victory also did well, it beat Las Vegas 50.58 percent of the time.
Date Created
2019-05
Contributors
- Garretson, Samuel Burkett (Author)
- Meuth, Ryan (Thesis director)
- Nakamura, Mutsumi (Committee member)
- Computer Science and Engineering Program (Contributor)
- Dean, W.P. Carey School of Business (Contributor)
- Department of Management and Entrepreneurship (Contributor)
- Barrett, The Honors College (Contributor)
Topical Subject
Resource Type
Extent
32 pages
Language
eng
Copyright Statement
In Copyright
Primary Member of
Series
Academic Year 2018-2019
Handle
https://hdl.handle.net/2286/R.I.52562
Level of coding
minimal
Cataloging Standards
System Created
- 2019-04-17 12:00:38
System Modified
- 2021-08-11 04:09:57
- 3 years 4 months ago
Additional Formats