File size: 2,818 Bytes
f51265b
 
 
 
 
 
 
 
 
c92e33a
d85d272
c92e33a
d85d272
c92e33a
d85d272
a0150c6
d85d272
a0150c6
d85d272
c92e33a
d85d272
a0150c6
d85d272
a0150c6
d85d272
a0150c6
d85d272
a0150c6
 
c92e33a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
license: mit
title: Football Elite Player Predictor
sdk: gradio
emoji: πŸ‘€
colorFrom: green
colorTo: blue
short_description: Predicting Elite Receivers
---
title: Football Elite Player Predictor

emoji: 🏈

colorFrom: green

colorTo: blue

sdk: gradio

sdk_version: 4.0.0

app_file: app.py

pinned: false

license: mit

---

# Football: Will this player be Elite? 🏈

Predict whether a football player will be classified as "Elite" based on their performance statistics using an AutoGluon TabularPredictor model.

## Overview

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.

## Features

- **Real-time Predictions**: Enter player stats and get instant classification
- **Probability Scores**: See confidence levels for each class
- **Interactive Interface**: Adjust sliders and inputs to explore different scenarios
- **Example Players**: Pre-loaded examples including star players and benchmarks

## Input Features

The model uses the following 8 statistics:

1. **Targets (TGT)**: Number of passes thrown to the player
2. **Receptions (REC)**: Number of catches made
3. **Yards (YDS)**: Total receiving yards
4. **Yards Before Catch per Reception (YBC_R)**: Average yards before catch
5. **Yards After Catch per Reception (YAC_R)**: Average yards after catch
6. **Average Depth of Target (ADOT)**: Average distance from line of scrimmage
7. **Drop Percentage (DROP_PCT)**: Percentage of dropped passes
8. **Rating (RAT)**: Overall passer rating when targeted

## Model

- **Framework**: AutoGluon TabularPredictor
- **Task**: Binary Classification (Elite vs Not Elite)
- **Output**: Class prediction with probability distribution

## How to Use

1. Enter a player name (optional, for tracking)
2. Adjust the statistical inputs using sliders and number fields
3. View the real-time prediction and probability scores
4. Try the example players to see different scenarios

## Examples Included

- **Justin Jefferson**: Elite receiver profile
- **Cooper Kupp**: High-volume elite target
- **Rookie WR**: Developing player profile
- **Tyreek Hill**: Elite deep threat profile
- **Bench Player**: Minimal playing time

## Technical Details

The model is loaded from Hugging Face Hub and makes predictions using ensemble methods via AutoGluon's TabularPredictor.

## Limitations

- Model performance depends on training data quality and representativeness
- Predictions are probabilistic and should not be used as sole decision-making criteria
- Statistics should be from comparable game situations and sample sizes

## Acknowledgments

Built with [AutoGluon](https://auto.gluon.ai/) and [Gradio](https://gradio.app/).

---