feat(mini-nn): add baseline neural network for PlayerStatistics class…#14
Merged
Conversation
4322038 to
544d387
Compare
JonathanPLev
approved these changes
Feb 10, 2026
JonathanPLev
left a comment
Owner
There was a problem hiding this comment.
looks great, no questions. good job!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I changed
Added new file:
src/mini_nn/lalit_model.pyBuilt a small PyTorch neural network (
MiniNet) for binary classificationModel predicts whether a player scores 20+ points in a game
Uses data from
PlayerStatistics.csvRemoved scoring-related columns (FG made, 3PT made, FT made, etc.) to prevent target leakage
Includes:
StandardScaler)Why I changed it
This introduces a baseline neural network model to evaluate learning performance on NBA player game statistics. It helps:
How did I test it
Ran locally inside the project virtual environment:
python src/mini_nn/lalit_model.py
Dataset
Final Test Results
Test Accuracy: 0.7249
Test F1: 0.4319
Test AUC: 0.8374
Model trains successfully and produces realistic (non-leaky) performance.
Related Issues
N/A – baseline model addition
PR Title (Conventional Commit)
feat(mini-nn): add baseline neural network for PlayerStatistics classification