All Projects → qmac → nba-analysis

qmac / nba-analysis

Licence: other
Using machine learning libraries to analyze NBA data

Programming Languages

HTML
75241 projects
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to nba-analysis

d3.gpx
A lightweight GPS track viewer for GPX files
Stars: ✭ 26 (+85.71%)
Mutual labels:  d3
clinica
Software platform for clinical neuroimaging studies
Stars: ✭ 153 (+992.86%)
Mutual labels:  scikit-learn
ntmap
Network topology map using Netbox as a data source
Stars: ✭ 74 (+428.57%)
Mutual labels:  d3
data-science-learning
📊 All of courses, assignments, exercises, mini-projects and books that I've done so far in the process of learning by myself Machine Learning and Data Science.
Stars: ✭ 32 (+128.57%)
Mutual labels:  scikit-learn
text-classification-cn
中文文本分类实践,基于搜狗新闻语料库,采用传统机器学习方法以及预训练模型等方法
Stars: ✭ 81 (+478.57%)
Mutual labels:  scikit-learn
kmeans-dbscan-tutorial
A clustering tutorial with scikit-learn for beginners.
Stars: ✭ 20 (+42.86%)
Mutual labels:  scikit-learn
py4chemoinformatics
Python for chemoinformatics
Stars: ✭ 78 (+457.14%)
Mutual labels:  scikit-learn
Deploy-machine-learning-model
Dockerize and deploy machine learning model as REST API using Flask
Stars: ✭ 61 (+335.71%)
Mutual labels:  scikit-learn
nyc-2019-scikit-sprint
NYC WiMLDS scikit-learn open source sprint (Aug 24, 2019)
Stars: ✭ 28 (+100%)
Mutual labels:  scikit-learn
MachineLearning
Implementations of machine learning algorithm by Python 3
Stars: ✭ 16 (+14.29%)
Mutual labels:  scikit-learn
PracticalMachineLearning
A collection of ML related stuff including notebooks, codes and a curated list of various useful resources such as books and softwares. Almost everything mentioned here is free (as speech not free food) or open-source.
Stars: ✭ 60 (+328.57%)
Mutual labels:  scikit-learn
cvpr-buzz
🐝 Explore Trending Papers at CVPR
Stars: ✭ 37 (+164.29%)
Mutual labels:  d3
machine learning
A gentle introduction to machine learning: data handling, linear regression, naive bayes, clustering
Stars: ✭ 22 (+57.14%)
Mutual labels:  scikit-learn
Python-for-Remote-Sensing
python codes for remote sensing applications will be uploaded here. I will try to teach everything I learn during my projects in here.
Stars: ✭ 20 (+42.86%)
Mutual labels:  scikit-learn
datascienv
datascienv is package that helps you to setup your environment in single line of code with all dependency and it is also include pyforest that provide single line of import all required ml libraries
Stars: ✭ 53 (+278.57%)
Mutual labels:  scikit-learn
nba-stats-client
🏀 JavaScript Client for stats from NBA.com
Stars: ✭ 29 (+107.14%)
Mutual labels:  nba
handson-ml
도서 "핸즈온 머신러닝"의 예제와 연습문제를 담은 주피터 노트북입니다.
Stars: ✭ 285 (+1935.71%)
Mutual labels:  scikit-learn
Quora question pairs NLP Kaggle
Quora Kaggle Competition : Natural Language Processing using word2vec embeddings, scikit-learn and xgboost for training
Stars: ✭ 17 (+21.43%)
Mutual labels:  scikit-learn
mvbasic
MultiValue Basic extension for Visual Studio Code
Stars: ✭ 19 (+35.71%)
Mutual labels:  d3
react-financial-charts
Charts dedicated to finance.
Stars: ✭ 819 (+5750%)
Mutual labels:  d3

NBA Data Analysis

Check out the deployed web app.

Summary

passing: creating a graph from player passing data, random walks to simulate possessions done on the frontend

positions: classifying NBA players into positions using a KNearestNeighbors classifier on season statistics

styles: clustering NBA teams and players based on their play styles determined by the frequencies of play types

tiers: clustering NBA players into tiers using the k-means clustering algorithm on advanced statistics

Data

All the data was scraped from the NBA's publicly available stats

Getting Started

All of the needed libraries can be installed using pip install -r requirements.txt in the repository directory.

Install the package using python setup.py install.

Unless you have the required database URI, change the package config.py file to have data_source = 'local'.

Prior to running the app, you will likely want to scrape the data, to do this run python nba_analysis/scraping/*.py. Do this after changing the package config so that the data is downloaded locally. All the data should be downloaded into the directory nba_analysis/data/.

To run the web app, run python runserver.py and point your browser to http://localhost:5000/.

Alternatively, to run individual analyses, navigate to the nba_analysis/analysis directory (must enter subdirectory due to hard-coded data paths) and run python <analysis_script> <params>.

Disclaimer

All of these experiments/mini-projects are more for proof-of-concept and practice than true analysis. The analysis is rudimentary and the scikit-learn algorithms used could be tuned much further by manipulating parameters.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].