Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,75 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
colorFrom: purple
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
-
short_description: Predicting Elite WRS
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
title: Football Elite Player Predictor
|
| 2 |
+
emoji: ๐
|
| 3 |
+
colorFrom: green
|
|
|
|
| 4 |
colorTo: blue
|
| 5 |
sdk: gradio
|
| 6 |
+
sdk_version: 4.0.0
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
license: mit
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Football: Will this player be Elite? ๐
|
| 13 |
+
|
| 14 |
+
Predict whether a football player will be classified as "Elite" based on their performance statistics using an AutoGluon TabularPredictor model.
|
| 15 |
+
|
| 16 |
+
## Overview
|
| 17 |
+
|
| 18 |
+
This application uses machine learning to classify football players as either **Elite** or **Not Elite** based on their receiving statistics. The model analyzes 8 key performance metrics to make predictions with confidence probabilities.
|
| 19 |
+
|
| 20 |
+
## Features
|
| 21 |
+
|
| 22 |
+
- **Real-time Predictions**: Enter player stats and get instant classification
|
| 23 |
+
- **Probability Scores**: See confidence levels for each class
|
| 24 |
+
- **Interactive Interface**: Adjust sliders and inputs to explore different scenarios
|
| 25 |
+
- **Example Players**: Pre-loaded examples including star players and benchmarks
|
| 26 |
+
|
| 27 |
+
## Input Features
|
| 28 |
+
|
| 29 |
+
The model uses the following 8 statistics:
|
| 30 |
+
|
| 31 |
+
1. **Targets (TGT)**: Number of passes thrown to the player
|
| 32 |
+
2. **Receptions (REC)**: Number of catches made
|
| 33 |
+
3. **Yards (YDS)**: Total receiving yards
|
| 34 |
+
4. **Yards Before Catch per Reception (YBC_R)**: Average yards before catch
|
| 35 |
+
5. **Yards After Catch per Reception (YAC_R)**: Average yards after catch
|
| 36 |
+
6. **Average Depth of Target (ADOT)**: Average distance from line of scrimmage
|
| 37 |
+
7. **Drop Percentage (DROP_PCT)**: Percentage of dropped passes
|
| 38 |
+
8. **Rating (RAT)**: Overall passer rating when targeted
|
| 39 |
+
|
| 40 |
+
## Model
|
| 41 |
+
|
| 42 |
+
- **Framework**: AutoGluon TabularPredictor
|
| 43 |
+
- **Task**: Binary Classification (Elite vs Not Elite)
|
| 44 |
+
- **Output**: Class prediction with probability distribution
|
| 45 |
+
|
| 46 |
+
## How to Use
|
| 47 |
+
|
| 48 |
+
1. Enter a player name (optional, for tracking)
|
| 49 |
+
2. Adjust the statistical inputs using sliders and number fields
|
| 50 |
+
3. View the real-time prediction and probability scores
|
| 51 |
+
4. Try the example players to see different scenarios
|
| 52 |
+
|
| 53 |
+
## Examples Included
|
| 54 |
+
|
| 55 |
+
- **Justin Jefferson**: Elite receiver profile
|
| 56 |
+
- **Cooper Kupp**: High-volume elite target
|
| 57 |
+
- **Rookie WR**: Developing player profile
|
| 58 |
+
- **Tyreek Hill**: Elite deep threat profile
|
| 59 |
+
- **Bench Player**: Minimal playing time
|
| 60 |
+
|
| 61 |
+
## Technical Details
|
| 62 |
+
|
| 63 |
+
The model is loaded from Hugging Face Hub and makes predictions using ensemble methods via AutoGluon's TabularPredictor.
|
| 64 |
+
|
| 65 |
+
## Limitations
|
| 66 |
+
|
| 67 |
+
- Model performance depends on training data quality and representativeness
|
| 68 |
+
- Predictions are probabilistic and should not be used as sole decision-making criteria
|
| 69 |
+
- Statistics should be from comparable game situations and sample sizes
|
| 70 |
+
|
| 71 |
+
## Acknowledgments
|
| 72 |
+
|
| 73 |
+
Built with [AutoGluon](https://auto.gluon.ai/) and [Gradio](https://gradio.app/).
|
| 74 |
+
|
| 75 |
+
---
|