Skip to content

DeepShot is a machine learning model designed to predict NBA game outcomes using advanced team statistics and rolling averages. It combines historical performance trends with contextual game data to deliver highly accurate win predictions (71%)

License

Notifications You must be signed in to change notification settings

saccofrancesco/deepshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
DeepShot - NBA Game Prediction Model

πŸ€ DeepShot: Predict NBA Games with Machine Learning

An advanced NBA game predictor powered by historical data from Basketball Reference, rolling statistics, and machine learning β€” built with NiceGUI for a seamless experience.

Contributors Forks Stars

TL;DR β€’ Key Features β€’ Quickstart β€’ Credits β€’ License

DeepShot in action

πŸ“Œ TL;DR

DeepShot is a machine learning-based NBA game predictor using advanced rolling stats (like EWMA) and real historical performance. It helps forecast matchups with visual insights and a clean interactive GUI.


πŸ’‘ Why DeepShot Stands Out

  • Uses Exponentially Weighted Moving Averages (EWMA) to capture recent form and momentum
  • Visually highlights the key statistical differences between teams
  • Clean, real-time NiceGUI-powered web interface
  • Works locally across platforms (Windows, macOS, Linux)
  • Based entirely on free and public data

πŸ”‘ Key Features

  • Data-Driven Predictions – Powered by real NBA stats from Basketball Reference.
  • Real-Time Interface – Visualize upcoming matchups and model predictions with a sleek NiceGUI web frontend.
  • Weighted Stats Engine – Uses Exponentially Weighted Moving Averages (EWMA) to reflect recent performance trends.
  • Key Stat Highlighting – Automatically surfaces differences between teams to help you identify strengths and weaknesses fast.
  • Cross-Platform Support – Works smoothly on all major OSes.

⚑ Quickstart

git clone https://github.com/saccofrancesco/deepshot.git
cd deepshot
pip install -r requirements.txt
# Train model by running the notebook
# Open `model.ipynb` and run the cell to generate `deepshot.pkl`
python main.py  # Launches the NiceGUI web app

πŸ“¬ Emailware: Share Your Thoughts

DeepShot is emailware. If it helps you or you find it interesting, I’d love to hear from you!

Send feedback to: francescosacco.github@gmail.com


πŸ™ Love DeepShot? Support It!

If this project helped you or you just think it’s cool:

  • ⭐️ Star the repo
  • πŸ§ƒ Buy me a coffee
  • πŸ’Œ Send your thoughts or suggestions by email

🧠 Credits & Acknowledgements

DeepShot uses the following awesome libraries:


πŸ“Ž You Might Also Like...

Check out more by the same author:

  • Supreme Bot: A user-friendly Supreme bot built with NiceGUI to help you buy Supreme items effortlessly.

πŸ“œ License

This project is licensed under the MIT License β€” feel free to use it in your own projects!


GitHub @saccofrancesco

About

DeepShot is a machine learning model designed to predict NBA game outcomes using advanced team statistics and rolling averages. It combines historical performance trends with contextual game data to deliver highly accurate win predictions (71%)

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •