nba-war-predictor / README.md
Andrew Kroening
Update README.md
af58f62 unverified

A newer version of the Gradio SDK is available: 5.9.1

Upgrade
metadata
title: Nba War Predictor
emoji: πŸ€
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 3.6
app_file: app.py
pinned: true
license: cc

Hello and welcome to this NBA WAR Predictor Tool

Continuous Integration Sync to Hugging Face hub

You can find the NBA WAR Predictor here.

Here's the demo video where I walk through the tool

General

In the NBA, Wins Above Replacement (WAR) is one of many metrics used to measure player performance. WAR denotes how much better (or worse) a player is when compared to an average level replacement player of the same position. Higher WARs are better, and typically will cluster closer to values in the single digits, with all-star players reaching into the high-20s in exceptional cases.

This tool will allow a user to select a season and then a player from those who played in the NBA that year to see that player's performance to that point plus a five year projection. A season dropdown allows the user to select a new season to see how the projection changes over time.

Functionality

This is a simple tool to exercise a few functions that are available from HuggingFace. They are:

  • Ingest a datasource from HuggingFace. This dataset was built from a dataset available from fivethirtyeight.com.

  • Use the Prophet package to construct a five-year prediction from the performance of a player up to a designated point (I won't be trying this again with this type of data).

  • Set up a HuggingFace Space and use Gradio to deploy a simple web app.

  • Add some user functionality to the app to improve experience and engagement.