GithubHelp home page GithubHelp logo

fagan2888 / nba-analysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anchorp34/nba-analysis

0.0 0.0 0.0 111.64 MB

All Projects related to NBA

Jupyter Notebook 97.17% Python 1.16% R 1.68%

nba-analysis's Introduction

NBA-Foul-Analysis

Project relating to foul management in the NBA

Overview

This project was built from the idea that coaches in the NBA were pulling their star players too early if they became in foul trouble. Using methods like K-means clustering and the Poisson distribution, a better idea of foul management can give coaches the gameplan to optimize their players time on the court and put their team in a better spot to win.

Database Info

This folder holds the SQLite database used for this project. It also includes the CSV files that were loaded in the database and the SQL scripts that created the tables in the database. To have the raw table ingested correctly, run these commands when you're in the SQLite interpreter:

.mode csv

.headers on

.import NBA_Players_2020.csv players

.import NBA_Game_Info.csv game_info

.import NBA_Season_2020.csv nba_play_by_play

.import Cluster_Assignments.csv cluster_assignments

Python Scripts

This folder includes all of the Python scripts to web scrape play by play data from a season. The play by play data is being scraped from basketball-reference.com

Jupyter Notebooks

This folder shows the Jupyter notebooks used to testing out different ideas. There is not much helpful information in this folder but still wanted to include it for possible future use..

R Scripts

R scripts for visual analysis and using for Cluster and Poisson data analysis.

Screenshots

Different pictures to use for write up analysis.

nba-analysis's People

Contributors

anchorp34 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.