Giter Site home page Giter Site logo

dkstephanos / 3pp-predictions Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8.37 MB

Exploring alternative ML solutions for generating end-of-season 3-point percentage of NBA players, based on start-of-season shooting statistics.

Python 5.49% Jupyter Notebook 94.51%

3pp-predictions's Introduction

NBA 3pt% Predictive Modeling

image

Project Overview

The 3pp-predictions repository is dedicated to exploring advanced machine learning techniques for predicting the end-of-season three-point shooting percentage (3P%) of NBA players. This project leverages early-season shooting statistics to build models that can forecast player performance with higher accuracy. By combining statistical analysis with machine learning, this project aims to provide a nuanced understanding of player performance trends.

Getting Started

Jupyter Notebooks

The repository contains Jupyter notebooks which are the main drivers of the analysis:

  • Preprocessing.ipynb

    • Purpose: Extends the base dataset with advanced statistics, visualizes the raw data, and performs LASSO-based feature selection.
    • How to Run: Open the notebook in a Jupyter environment and execute the cells sequentially. Ensure all dependencies are installed.
    • Key Outputs: Extended dataset with new features, visualizations of data distribution and relationships, selected features for model training.
  • Prediction.ipynb

    • Purpose: Trains a variety of models to compare performance. Includes evaluation of model effectiveness through relevant statistics and learning/validation/loss curves.
    • How to Run: Similar to the Preprocessing notebook, run the cells in sequence to train models and generate performance metrics.
    • Key Outputs: Trained models, performance metrics (MSE, R² scores, etc.), visual plots depicting model learning and validation.

Full previews of each ran notebook have been persistsed and pushed to the repo for review.

Installation

To set up your environment to run these notebooks, you will need Python installed along with the necessary libraries. You can install the dependencies using:

pip install -r requirements.txt

This command will install all the required Python packages as listed in the requirements.txt file.

Notes and Acknowledgements

This project builds on my previous NBA-related work available on my GitHub profile. Parts of the code and documentation were developed with AI assistance. Statistical definitions and conceptual insights were referenced from NBA Stuffer.

Contributing

Contributions to 3pp-predictions are welcome! Please submit in the form of pull-requests of the main branch.

© 2023 Koi Stephanos. All Rights Reserved.

3pp-predictions's People

Contributors

dkstephanos avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.