Datasets:
[email protected]
commited on
Commit
·
23335ef
1
Parent(s):
6775d2c
Add dataset, dashboard images, and README
Browse files- README.md +91 -0
- age_distribution_by_weight_class.jpg +3 -0
- avg_strikes_and_takedowns.jpg +3 -0
- avg_strikes_by_weight_class.jpg +3 -0
- avg_takedown_by_weight_class.jpg +3 -0
- complete summary images/age_distribution_by_weight_class.jpg +3 -0
- complete summary images/fight_count_by_weight_class.png +3 -0
- complete summary images/fight_duration_summary.jpg +3 -0
- complete summary images/most_active_fighters.jpg +3 -0
- complete summary images/sample_fighter_historical_performance.jpg +3 -0
- complete summary images/stance_distribution.jpg +3 -0
- complete summary images/summary_statistics.jpg +3 -0
- complete summary images/top3_Bantamweight_Bout.jpg +3 -0
- complete summary images/top3_Catch_Weight_Bout.jpg +3 -0
- complete summary images/top3_Featherweight_Bout.jpg +3 -0
- complete summary images/top3_Flyweight_Bout.jpg +3 -0
- complete summary images/top3_Heavyweight_Bout.jpg +3 -0
- complete summary images/top3_Light_Heavyweight_Bout.jpg +3 -0
- complete summary images/top3_Lightweight_Bout.jpg +3 -0
- complete summary images/top3_Middleweight_Bout.jpg +3 -0
- complete summary images/top3_Open_Weight_Bout.jpg +3 -0
- complete summary images/top3_Title_Bout.jpg +3 -0
- complete summary images/top3_Welterweight_Bout.jpg +3 -0
- complete summary images/top3_Women's_Bantamweight_Bout.jpg +3 -0
- complete summary images/top3_Women's_Featherweight_Bout.jpg +3 -0
- complete summary images/top3_Women's_Flyweight_Bout.jpg +3 -0
- complete summary images/top3_Women's_Strawweight_Bout.jpg +3 -0
- complete summary images/top_fighters_win_pct.jpg +3 -0
- complete summary images/win_method_distribution.jpg +3 -0
- fight_count_by_weight_class.png +3 -0
- fight_duration_summary.jpg +3 -0
- most_active_fighters.jpg +3 -0
- sample_fighter_historical_performance.jpg +3 -0
- stance_distribution.jpg +3 -0
- summary_statistics.jpg +3 -0
- top_fighters_win_pct.jpg +3 -0
- ufc_fights_data_first_200.csv +0 -0
- win_method_distribution.jpg +3 -0
README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# UFC Data Extractor
|
| 2 |
+
|
| 3 |
+
A web scraping project that extracts fight and fighter data from [ufcstats.com](http://ufcstats.com), transforms it into structured wide-format tables, and enriches it with historical performance statistics.
|
| 4 |
+
|
| 5 |
+
## Project Overview
|
| 6 |
+
|
| 7 |
+
This tool performs the following:
|
| 8 |
+
|
| 9 |
+
- Scrapes data from `ufcstats.com` including:
|
| 10 |
+
- Fighter profiles (name, height, reach, stance, etc.)
|
| 11 |
+
- Fight outcomes and statistics (strikes, takedowns, control time, etc.)
|
| 12 |
+
- Event information (event title, date, winner)
|
| 13 |
+
- Transforms the raw data into a clean wide-format table:
|
| 14 |
+
- Each row represents **one fight**
|
| 15 |
+
- Contains data for **both fighters** in separate columns
|
| 16 |
+
- Computes **cumulative performance metrics** for each fighter across fights to enable longitudinal analysis
|
| 17 |
+
|
| 18 |
+
## Output Example
|
| 19 |
+
|
| 20 |
+
Below is a simplified example of what the dataset looks like. Each row represents one fight and includes data for both fighters.
|
| 21 |
+
|
| 22 |
+
| event_name | event_date | fighter1_name | fighter2_name | fighter1_knockdown | fighter2_knockdown | fighter1_sig_strikes | fighter2_sig_strikes | fighter1_control_time | fighter2_control_time | event_winner |
|
| 23 |
+
|-------------------------------|------------|---------------|-----------------|---------------------|---------------------|-----------------------|-----------------------|------------------------|------------------------|----------------|
|
| 24 |
+
| UFC Fight Night: Benavidez vs. Figueiredo | 2020-02-29 | Aalon Cruz | Spike Carlyle | 0 | 0 | 2 | 20 | 5 | 7 | Spike Carlyle |
|
| 25 |
+
|
| 26 |
+
**Note:**
|
| 27 |
+
- This is only a sample; the actual dataset contains over **80 features** per fighter including:
|
| 28 |
+
- Fighter stats: height, reach, weight, age, stance, striking/takedown accuracy & defense
|
| 29 |
+
- Fight stats: control time, knockdowns, strike breakdown (head/body/leg, distance/clinch/ground)
|
| 30 |
+
- Derived metrics: cumulative win %, strike absorption rate, etc.
|
| 31 |
+
- The uploaded dataset includes only the first 200 rows. The full dataset and processing scripts are not shared to respect the intellectual property of the source website.
|
| 32 |
+
|
| 33 |
+
The full schema includes both raw data and calculated performance metrics to support deep analysis or model training.
|
| 34 |
+
|
| 35 |
+
## Quick Statistics
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
|
| 39 |
+

|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
|
| 43 |
+

|
| 44 |
+
|
| 45 |
+

|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
|
| 49 |
+
### Fighters with the Most Number of Fights
|
| 50 |
+

|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
## Sample Analysis
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
|
| 58 |
+
> 💡 **Note:** All statistics below are calculated based on a fighter's **entire historical fight record** from the dataset. They represent cumulative performance trends across previous bouts.
|
| 59 |
+
|
| 60 |
+
- **Significant Strikes Absorbed per Minute (SApM):**
|
| 61 |
+
The average number of significant strikes a fighter absorbs **per minute**, based on all past fights.
|
| 62 |
+
|
| 63 |
+
- **Average Takedowns Landed per 15 Minutes (TD Avg.):**
|
| 64 |
+
The average number of takedowns a fighter lands **every 15 minutes**, aggregated from all their previous bouts.
|
| 65 |
+
|
| 66 |
+
- **Significant Strikes Landed per Minute (SLpM):**
|
| 67 |
+
The average number of significant strikes a fighter lands **per minute** over their full fight history.
|
| 68 |
+
|
| 69 |
+
- **Average Submissions Landed per 15 Minutes (Sub. Avg.):**
|
| 70 |
+
The average number of successful submissions attempted **per 15 minutes** in previous matches.
|
| 71 |
+
|
| 72 |
+
- **Significant Striking Accuracy (Str. Acc.):**
|
| 73 |
+
The percentage of significant strikes landed out of all attempted, across **all prior fights**.
|
| 74 |
+
|
| 75 |
+
- **Takedown Accuracy (TD Acc.):**
|
| 76 |
+
The success rate of takedown attempts based on a fighter's **historical data**.
|
| 77 |
+
|
| 78 |
+
- **Takedown Defense (TD Def.):**
|
| 79 |
+
The percentage of opponent takedowns a fighter **successfully defended** over their entire fight history.
|
| 80 |
+
|
| 81 |
+
- **Significant Strike Defense (Str. Def.):**
|
| 82 |
+
The percentage of opponents’ significant strike attempts that **did not land**, averaged over all previous fights.
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
## Disclaimer
|
| 86 |
+
|
| 87 |
+
This project is **not affiliated with**, **endorsed by**, or **connected to** the UFC or `ufcstats.com` in any way.
|
| 88 |
+
|
| 89 |
+
- All data is publicly available on [ufcstats.com](http://ufcstats.com)
|
| 90 |
+
- This tool is intended for **educational and research purposes only**
|
| 91 |
+
- Please ensure your use complies with the site's [robots.txt](http://ufcstats.com/robots.txt) and terms of service
|
age_distribution_by_weight_class.jpg
ADDED
|
Git LFS Details
|
avg_strikes_and_takedowns.jpg
ADDED
|
Git LFS Details
|
avg_strikes_by_weight_class.jpg
ADDED
|
Git LFS Details
|
avg_takedown_by_weight_class.jpg
ADDED
|
Git LFS Details
|
complete summary images/age_distribution_by_weight_class.jpg
ADDED
|
Git LFS Details
|
complete summary images/fight_count_by_weight_class.png
ADDED
|
Git LFS Details
|
complete summary images/fight_duration_summary.jpg
ADDED
|
Git LFS Details
|
complete summary images/most_active_fighters.jpg
ADDED
|
Git LFS Details
|
complete summary images/sample_fighter_historical_performance.jpg
ADDED
|
Git LFS Details
|
complete summary images/stance_distribution.jpg
ADDED
|
Git LFS Details
|
complete summary images/summary_statistics.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Bantamweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Catch_Weight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Featherweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Flyweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Heavyweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Light_Heavyweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Lightweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Middleweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Open_Weight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Title_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Welterweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Women's_Bantamweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Women's_Featherweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Women's_Flyweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top3_Women's_Strawweight_Bout.jpg
ADDED
|
Git LFS Details
|
complete summary images/top_fighters_win_pct.jpg
ADDED
|
Git LFS Details
|
complete summary images/win_method_distribution.jpg
ADDED
|
Git LFS Details
|
fight_count_by_weight_class.png
ADDED
|
Git LFS Details
|
fight_duration_summary.jpg
ADDED
|
Git LFS Details
|
most_active_fighters.jpg
ADDED
|
Git LFS Details
|
sample_fighter_historical_performance.jpg
ADDED
|
Git LFS Details
|
stance_distribution.jpg
ADDED
|
Git LFS Details
|
summary_statistics.jpg
ADDED
|
Git LFS Details
|
top_fighters_win_pct.jpg
ADDED
|
Git LFS Details
|
ufc_fights_data_first_200.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
win_method_distribution.jpg
ADDED
|
Git LFS Details
|