Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Repository files navigation

NBA_Champion

➭ Predicting the last 3 (2020-2022) NBA Champions using Machine Learning.

The NBA playoffs is the postseason tournament of the National Basketball Association (NBA) held to determine the league's Champion. An annual best-of-seven elimination tournament, the NBA playoffs are held after the league's regular season and its preliminary postseason tournament, the NBA Play-In Tournament.
I use historical data on each regular season played by a team to predict the last 3 Champions (2020-2022).
My regression model combined with adjusted ranking metrics correctly predicted ALL 3 Champions!
But what are the stats (features) that have allowed my model to perform so well?

The following picture shows all the work steps that are carried out. I usually combine these steps in a fully automated pipeline, but since this is a side project and my free time is limited, the pipeline is split into 3 files that are executed sequentially.

➤ 1 'nba_html_crawler.ipynb':
  • Parse selected Basketball-Reference (Website) pages and save all relevant pages in html-format.
  • Basketball-Reference
➤ 2 'nba_html_to_mongodb.ipynb':
  • Aggregate the data from the html pages and upload it to my MongoDB Cloud account.
➤ 3 'nba_ml.ipynb':
  • Predict the last 3 (2020-2022) NBA Champions with Machine Learning.
➤ Additional 'dashboard.pbix':
  • PowerBI file with a three charts, all three are featured in the 'nba_ml.ipynb' file.

Article on Medium:

Medium

🔗 Links from the Author(Me)

Portfolio/Website
LinkedIn
Medium
Pinterest

About

I will predict the 2023 NBA Champion using Machine Learning

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.