frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: DeepShot – an open-source NBA predictor with ML, EWMA, and live UI

https://github.com/saccofrancesco/deepshot
1•saccofrancesco•6h ago
Hey everyone, I’m an NBA fan and Python dev, and I recently built DeepShot — a machine learning model that predicts NBA game outcomes with about 71% accuracy based on historical stats and rolling performance metrics (EWMA). It features: Real NBA data from Basketball Reference Exponentially Weighted Moving Averages to track momentum Interactive NiceGUI interface with team comparison and predictions Full Python stack and open-source (MIT license) Here’s the GitHub repo: https://github.com/saccofrancesco/deepshot And if you like it, here’s my Buy Me a Coffee: buymeacoffee.com/saccofrancesco

Would love any feedback — especially from folks who’ve built sports models or worked on real-time stat tools. Also open to ideas on where to take this next (player-level modeling? betting advice dashboard?).

Thanks!

Comments

Reubend•5h ago
Hey Francesco, this is very cool, and I'm sure this was a fun project to work on.

If you're interested in improving the performance here, using a method like TrueSkill would likely yield much better predictions than the XGBoostClassifier you're using now. It provides a robust method for modelling the game at the player level, so that the model can change its predictions as different players get swapped out. As you can imagine, roster changes make a huge impact on overall team performance, and the sample size of NBA data here isn't really big enough for gradient boosting to be effective when the teams themselves change. Bayesian methods are nice for this sort of thing.

In terms of where to take things next, it could also be cool to see some kind of "what if" scenario generator. How would the Dallas Mavericks' probability of winning have changed if they hadn't traded away Luka Dončić? How would the Indiana Pacers' chances of winning the season change if they weren't playing the Nicks in the Eastern conference finals?

saccofrancesco•1h ago
Hi! Thanks so much for your comment and for suggesting some really thoughtful ideas for the project — I really appreciate it.

At the beginning, I also considered the idea of gathering individual player data and assembling team profiles based on active rosters for each game. That way, team strength could be evaluated more accurately based on who actually played, rather than relying on aggregate team stats.

I completely understand your point about using a method like TrueSkill to model team performance more dynamically — based on the presence or absence of specific players and the impact each one has on the team's overall performance. It’s a compelling approach and definitely something that would make predictions much more responsive to roster changes.

The main challenge, though, is the data itself. Even getting reliable game-level data for all teams from the 2000–01 season through to 2024–25 was already quite complex. So when it comes to going a level deeper — pulling individual player data, lineups, or starting rosters for every single game — it becomes difficult to know where to start. These data sources are often scattered, inconsistent, or hidden behind APIs that may have usage limits or costs. There’s also the issue of computational load and the sheer scale of the data, especially when you're working solo, as I currently am.

That’s actually part of why I’m sharing the project publicly — to see if others might be interested, just like you, and maybe even want to contribute. Sometimes just having another perspective helps catch something I may have overlooked.

Thanks again for your suggestions — I’ll definitely explore them further during the NBA off-season and hopefully come back with a more refined version of the project for the next season.

Imaging technique removes the effect of water in underwater scenes

https://news.mit.edu/2025/imaging-technique-removes-water-effect-underwater-scenes-0520
1•LorenDB•3m ago•0 comments

OpenAI Wins Libel Lawsuit over Hallucinated Embezzlement Claims

https://reason.com/volokh/2025/05/20/openai-wins-libel-lawsuit-brought-by-gun-rights-activist-over-hallucinated-embezzlement-claims/
1•pcaharrier•3m ago•0 comments

Coastlines in danger even if climate target met, scientists warn

https://www.bbc.co.uk/news/articles/cj93e40znl3o
1•ljf•4m ago•0 comments

Jules Prompts

https://github.com/google-labs-code/jules-awesome-list
1•occamschainsaw•5m ago•0 comments

MCP is the coming of Web 2.0 2.0

https://www.anildash.com//2025/05/20/mcp-web20-20/
1•LorenDB•5m ago•0 comments

Framework vs. Toolkit vs. Library

https://stackoverflow.com/questions/3057526/framework-vs-toolkit-vs-library
1•thunderbong•6m ago•0 comments

Towards a Better CS Conference Experience

https://cacm.acm.org/blogcacm/towards-a-better-cs-conference-experience/
1•rbanffy•6m ago•0 comments

Ask HN: What do you look for in compliance reporting tools?

1•lukejkwarren•7m ago•1 comments

ScrapeGraphAI: You Only Scrape Once

https://github.com/ScrapeGraphAI/Scrapegraph-ai
1•speerer•7m ago•0 comments

The Internet is Western – and the rest of the world is at war with it

https://medium.com/@bradtenenholtz/the-internet-is-western-and-what-the-internet-can-learn-from-westerns-46c6fc7f06d8
1•bradten•9m ago•1 comments

llm-d, Kubernetes native distributed inference

https://llm-d.ai/blog/llm-d-announce
1•smarterclayton•10m ago•0 comments

Building an AI Pen-Testing Assistant

https://www.youtube.com/watch?v=I7e8NpxFoxo
1•noworld•11m ago•0 comments

Microsoft's ICC email block triggers Dutch concerns over dependence on U.S. tech

https://nltimes.nl/2025/05/20/microsofts-icc-email-block-triggers-dutch-concerns-dependence-us-tech
4•tanepiper•12m ago•1 comments

An Open Letter to Axios: Fire Jim VandeHei

https://medium.com/@conradbuck_53013/an-open-letter-to-axios-fire-jim-vandehei-9fe5d683edf1
1•conartist6•12m ago•1 comments

Show HN: Engine – A multi-LLM alternative to Codex

https://www.enginelabs.ai/
7•sdspurrier•13m ago•6 comments

Ask HN: There is a HR vicious cycle in the current market?

1•major505•13m ago•0 comments

I think the new Civics Centers will fail

https://hollisrobbinsanecdotal.substack.com/p/why-i-think-the-new-civics-centers
1•HR01•13m ago•0 comments

Solar panels to be fitted on all new-build homes in England by 2027

https://www.theguardian.com/environment/2025/may/01/solar-panels-fitted-all-new-build-homes-england-by-2027
3•bookofjoe•14m ago•1 comments

What happened to American manufacturing is not unusual

https://blog.waldrn.com/p/what-happened-to-american-manufacturing
2•nabla9•16m ago•0 comments

Intel bets you'll stack cheap GPUs to avoid spending top dollar on Nvidia Pros

https://www.theregister.com/2025/05/20/intel_arc_pro_b60/
3•rntn•18m ago•0 comments

Pay Attention The invention of close reading

https://www.thenation.com/article/society/close-reading-john-guillory/
1•bryanrasmussen•22m ago•0 comments

Ask HN: Have parents stopped giving their children career advice due to AI?

1•amichail•23m ago•3 comments

Sea level rise will cause 'catastrophic inland migration', scientists warn

https://www.theguardian.com/environment/2025/may/20/sea-level-rise-migration
2•mr_toad•24m ago•0 comments

The next generation of AI inference, powered by LLM-d

https://cloud.google.com/blog/products/ai-machine-learning/enhancing-vllm-for-distributed-inference-with-llm-d/
2•richards•25m ago•0 comments

Firewalls and BIOS's and Coreboot (2020)

https://hagensieker.com/2020/11/08/firewalls-and-bioss-and-coreboot/
2•transpute•26m ago•0 comments

Infinitely scroll ArXiv, BioRxiv and MedRxiv papers

https://scroll.arxivxplorer.com/
1•0101111101•26m ago•0 comments

Senate Advances Crypto Regulation Bill with Bipartisan Support

https://www.nytimes.com/2025/05/19/us/politics/senate-crypto-regulation-bill.html
2•rawgabbit•28m ago•0 comments

The trouble with AI art isn't just lack of originality. It's far bigger

https://www.theguardian.com/commentisfree/2025/may/20/ai-art-concerns-originality-connection
1•fallinditch•29m ago•0 comments

Microsoft's Attempted Merger with Intuit

https://dfarq.homeip.net/microsofts-attempted-merger-with-intuit/
2•rbanffy•30m ago•0 comments

Show HN: A MCP Server for AWS News

https://awsnews.remotemcp.directory
2•tobilg•31m ago•0 comments