Skip to content

KevinTrinh1227/Prize-Pick-Predictions

Repository files navigation

ppplogo

**IMPORTANT: I AM CURRENTLY WORKING ON Prize-Pick-Predictions VERSION 2.**
A Flask application that displays current NBA player score predictions. Please take a look below.

Maintained status Release badge

3b3f8646e52a86ce072b400c358e9a22

📌 Important Information

This project was made as just a concept. Due to many project constraints, and technical barriers during the project's initial stages, I have decided not to develop this project and it has since been archived. Currently, the application only draws predictions using player averages and compares them to the betting strike prices. While this does work, it nowhere near approaches the precision and complexity of using Multiple Linear, Ridge, or even Polynomial regression predictions.

While this project is no longer in an archive, I will slowly commit and integrate appropriate machine-learning algorithms to generate more accurate predictions using the correlation between different combinations of points, rebounds, and assists with the opponent team's ELO, and potentially other variables down the way including home court advantage, fouls, injuries, etc.

📋 Todo List

  1. Calculate team seasonal elo
  2. Get teams season match history
  3. Get match IDS
  4. Get the player's stats for that exact game
  5. Make regression line & get predictions

🏀 What is Prize Pick Predictions?

This Python project is a Flask application that provides "recommendations" for sports betting. With a focus on accuracy and data-driven insights, the app delivers relevant and timely information through multiple APIs, ensuring users can access up-to-date data and statistics. Designed to offer valuable insights and recommendations, this app caters to experienced and novice sports bettors, providing an edge in the competitive world of sports betting.

🛠 Getting Started

Clone the Repository

  1. Open the desired directory in the command prompt

  2. Clone the repository using the command below

    git clone https://github.com/KevinTrinh1227/Prize-Pick-Predications.git

Initial set-up process

  1. Install dependencies

    pip install -r requirements.txt
  2. Install Firefox & Gecko Driver (Save it inside the driver folder)

    gecko_path = './drivers/geckodriver.exe'
  3. Create a ".env" file with your balldontlie API key (Free account will work fine)

    THE_BALL_DONT_LIEAPI_KEY=<YOUR_API_KEY>

🚀 Host the app locally

  1. Run the app and get the HTTP link

    python main.py
  2. Open the http://127.0.0.1:5000 link on a web browser

    ~\Prize-Pick-Predications>python main.py
     * Serving Flask app 'app'
     * Debug mode: off
     * Running on http://127.0.0.1:5000