The Wayback Machine - https://web.archive.org/web/20201104234741/https://github.com/klane/databall/
Skip to content
master
Go to file
Code

Latest commit

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.7.1 to 2.8.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v2.7.1...v2.8.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c561b25

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

DataBall: Betting on the NBA with data

Test Status Dependabot Status License

This project combines my interest in data science with my love of sports. I attempt to predict NBA winners against the spread using stats pulled from the NBA stats website with nba_api and point spreads and over/under lines from covers.com using the Python web scraping framework Scrapy. All code is written in Python and I used the popular machine learning library scikit-learn to make all predictions.

Contents:

  • covers: Scrapy project to scrape point spreads and over/under lines from covers.com
  • databall: Python module with support functions to perform tasks including collecting stats to a SQLite database, simulating seasons, and customizing plots
  • docs: Code required to build the GitHub Pages site for this project
  • notebooks: Jupyter notebooks of all analyses
  • report: LaTeX files for report and slides

Link to a test database with data from 1990 - March 2020 test nba.db file

You can’t perform that action at this time.