Git Product home page Git Product logo

nba-predictor's Introduction

NBA games : data collection & model creation

This project is currently on stand by.

This repo is centered about NBA games. The main goal here is to create a model that will predict a winner for a NBA game.

There are differents steps for this project :

  1. Collect data
  2. Format data
  3. Create model
  4. Automatize data collection
  5. Predict on next games (real)

At this moment I'm at [step 3].

1. Collect data

You can find how I collect the data on the scripts/ folder.

I would like to thanks nba stats website which allows all NBA data freely open to everyone and with a great api endpoint.

  • get_games.py : collect all games from yesterday to 2003
  • get_teams.py : collect all teams from NBA
  • get_players.py : collect all players from NBA based on games dataset [WORK IN PROGRESS]
  • get_game_stats.py : collect games details based on games dataset

Also this is the script that will get all new games (but you need old datasets available on Kaggle here : dataset link) and don't forget to put it in data folder and to indicate it into the script :

  • get_new_games.py

2. Format data

You can find the script that format data into scripts foled :

  • format_games_for_model.py : format dataset for the model

3. Create model

[WORK IN PROGRESS]

4. Automatize data collection

5. Predict on next games (real)

Thanks for reading, Nathan

nba-predictor's People

Contributors

nathanlauga avatar paulmcmn 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.