[email protected] commited on
Commit
23335ef
·
1 Parent(s): 6775d2c

Add dataset, dashboard images, and README

Browse files
Files changed (38) hide show
  1. README.md +91 -0
  2. age_distribution_by_weight_class.jpg +3 -0
  3. avg_strikes_and_takedowns.jpg +3 -0
  4. avg_strikes_by_weight_class.jpg +3 -0
  5. avg_takedown_by_weight_class.jpg +3 -0
  6. complete summary images/age_distribution_by_weight_class.jpg +3 -0
  7. complete summary images/fight_count_by_weight_class.png +3 -0
  8. complete summary images/fight_duration_summary.jpg +3 -0
  9. complete summary images/most_active_fighters.jpg +3 -0
  10. complete summary images/sample_fighter_historical_performance.jpg +3 -0
  11. complete summary images/stance_distribution.jpg +3 -0
  12. complete summary images/summary_statistics.jpg +3 -0
  13. complete summary images/top3_Bantamweight_Bout.jpg +3 -0
  14. complete summary images/top3_Catch_Weight_Bout.jpg +3 -0
  15. complete summary images/top3_Featherweight_Bout.jpg +3 -0
  16. complete summary images/top3_Flyweight_Bout.jpg +3 -0
  17. complete summary images/top3_Heavyweight_Bout.jpg +3 -0
  18. complete summary images/top3_Light_Heavyweight_Bout.jpg +3 -0
  19. complete summary images/top3_Lightweight_Bout.jpg +3 -0
  20. complete summary images/top3_Middleweight_Bout.jpg +3 -0
  21. complete summary images/top3_Open_Weight_Bout.jpg +3 -0
  22. complete summary images/top3_Title_Bout.jpg +3 -0
  23. complete summary images/top3_Welterweight_Bout.jpg +3 -0
  24. complete summary images/top3_Women's_Bantamweight_Bout.jpg +3 -0
  25. complete summary images/top3_Women's_Featherweight_Bout.jpg +3 -0
  26. complete summary images/top3_Women's_Flyweight_Bout.jpg +3 -0
  27. complete summary images/top3_Women's_Strawweight_Bout.jpg +3 -0
  28. complete summary images/top_fighters_win_pct.jpg +3 -0
  29. complete summary images/win_method_distribution.jpg +3 -0
  30. fight_count_by_weight_class.png +3 -0
  31. fight_duration_summary.jpg +3 -0
  32. most_active_fighters.jpg +3 -0
  33. sample_fighter_historical_performance.jpg +3 -0
  34. stance_distribution.jpg +3 -0
  35. summary_statistics.jpg +3 -0
  36. top_fighters_win_pct.jpg +3 -0
  37. ufc_fights_data_first_200.csv +0 -0
  38. 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
+ ![Summary Statistics](summary_statistics.jpg)
38
+
39
+ ![Win Method Distribution](win_method_distribution.jpg)
40
+
41
+ ![Stance Distribution](stance_distribution.jpg)
42
+
43
+ ![Fight Duration Summary](fight_duration_summary.jpg)
44
+
45
+ ![Fight Count by Weight Class](fight_count_by_weight_class.png)
46
+
47
+ ![Age Distribution by Weight Class](age_distribution_by_weight_class.jpg)
48
+
49
+ ### Fighters with the Most Number of Fights
50
+ ![Fighters with Most Number of Fights](most_active_fighters.jpg)
51
+
52
+ ![Fighters with the Most Wins](top_fighters_win_pct.jpg)
53
+
54
+ ## Sample Analysis
55
+
56
+ ![Fighter's Historical Performance Statistics](sample_fighter_historical_performance.jpg)
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

  • SHA256: 4190eed796012bd3e6113f9f4b62d65a16753fab627d5d141bf85d664d540ef7
  • Pointer size: 130 Bytes
  • Size of remote file: 68.1 kB
avg_strikes_and_takedowns.jpg ADDED

Git LFS Details

  • SHA256: d0d0423e35099c819ec8030129d3af416c9ecb9b745460419731b68e44065236
  • Pointer size: 130 Bytes
  • Size of remote file: 22.1 kB
avg_strikes_by_weight_class.jpg ADDED

Git LFS Details

  • SHA256: fc64d0b84d9e97c45468db6547370d53793f318412774228e4406dba3faf7e1e
  • Pointer size: 130 Bytes
  • Size of remote file: 53.4 kB
avg_takedown_by_weight_class.jpg ADDED

Git LFS Details

  • SHA256: a200040a55e12e71b24fab9189fc00da10c7584702f6d1737481e96988480df7
  • Pointer size: 130 Bytes
  • Size of remote file: 46.9 kB
complete summary images/age_distribution_by_weight_class.jpg ADDED

Git LFS Details

  • SHA256: 4190eed796012bd3e6113f9f4b62d65a16753fab627d5d141bf85d664d540ef7
  • Pointer size: 130 Bytes
  • Size of remote file: 68.1 kB
complete summary images/fight_count_by_weight_class.png ADDED

Git LFS Details

  • SHA256: 224b6c0edab861b3ff120c41ea51130ce28f6fec7e644841231c64e1296e02e8
  • Pointer size: 130 Bytes
  • Size of remote file: 62.7 kB
complete summary images/fight_duration_summary.jpg ADDED

Git LFS Details

  • SHA256: fffefe5e695976d6bacb3b46c5401f6c992e2bc54d48df10d09cdb6761490603
  • Pointer size: 130 Bytes
  • Size of remote file: 18.7 kB
complete summary images/most_active_fighters.jpg ADDED

Git LFS Details

  • SHA256: d45a48ba190064270644237dd097c320604ce3bb131f9c75f6439d8059db63f1
  • Pointer size: 130 Bytes
  • Size of remote file: 27.7 kB
complete summary images/sample_fighter_historical_performance.jpg ADDED

Git LFS Details

  • SHA256: 60a280b0ee6571ae840465c9eeb944f76b4b013823f5cb23f24b87e11b1aefed
  • Pointer size: 130 Bytes
  • Size of remote file: 73 kB
complete summary images/stance_distribution.jpg ADDED

Git LFS Details

  • SHA256: e8d823c1bd7a14630a1b163b5b6a015a370f2ecf4535fb1fd478c5e67f0503be
  • Pointer size: 130 Bytes
  • Size of remote file: 34.4 kB
complete summary images/summary_statistics.jpg ADDED

Git LFS Details

  • SHA256: 2573b861a1954b8f8d3e120d5441360f7f26af74932b8482ee68fafb3a2bba36
  • Pointer size: 130 Bytes
  • Size of remote file: 32.8 kB
complete summary images/top3_Bantamweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 9c2973da124bb3074c08e89e4449e2736a81a1407dcb1ec9f79f3c2838c901aa
  • Pointer size: 130 Bytes
  • Size of remote file: 19.4 kB
complete summary images/top3_Catch_Weight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 27ea0cfc31acafe43aa00e4d44a6af1f88c6773ef3a129a432f16f0bfa641d49
  • Pointer size: 130 Bytes
  • Size of remote file: 19.3 kB
complete summary images/top3_Featherweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 0a1d199e732e56b3d32398d4bc0fde93912fc767d80817b2c57210c1390dbf79
  • Pointer size: 130 Bytes
  • Size of remote file: 19.3 kB
complete summary images/top3_Flyweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 616466c5b577f5fcac61b7b143bcd49e4d197e77492dd2ca4c623cfa432791ac
  • Pointer size: 130 Bytes
  • Size of remote file: 20 kB
complete summary images/top3_Heavyweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 8ac82fecfc7df5b8afea0c5c94db88164fe81e72fbd834d1fec757eb4536f90c
  • Pointer size: 130 Bytes
  • Size of remote file: 19.2 kB
complete summary images/top3_Light_Heavyweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: b425bf22357c40c63a4a73d0dca8475410448a4b8167e5b0f8d7d65afbc3c92b
  • Pointer size: 130 Bytes
  • Size of remote file: 19.7 kB
complete summary images/top3_Lightweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 9a29918f910b9cb10113dcfe099f93f7e0b85f884e500857d3f076e7f216223d
  • Pointer size: 130 Bytes
  • Size of remote file: 20.2 kB
complete summary images/top3_Middleweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: ba79558efc935f6580a2f8ee8959f80ba6d1d9e8c04d44a7803579e5404d635e
  • Pointer size: 130 Bytes
  • Size of remote file: 19.6 kB
complete summary images/top3_Open_Weight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 305cdd28b226006bcfd4a94497e626e25f4085c39caf11f338d0490274d4e1ce
  • Pointer size: 130 Bytes
  • Size of remote file: 19.5 kB
complete summary images/top3_Title_Bout.jpg ADDED

Git LFS Details

  • SHA256: 6e7e695e061157b06bcf0d712fccf50abc4fdf7ef6c1f1fdcc41f75e0ba1a302
  • Pointer size: 130 Bytes
  • Size of remote file: 19.2 kB
complete summary images/top3_Welterweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 182eabc7565208b2eaa0b63f53d1df39547226a6e41dc5a4380e24fb5169a23a
  • Pointer size: 130 Bytes
  • Size of remote file: 20.4 kB
complete summary images/top3_Women's_Bantamweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: bb42fd13bc13f9b93e754855e82858ec92ed9409991512eef62569df27cfd5bc
  • Pointer size: 130 Bytes
  • Size of remote file: 19.2 kB
complete summary images/top3_Women's_Featherweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 114999fe13dda27e1f201b6ebe33457ef4ca3f7f99ca0f51df477f27fba84eb8
  • Pointer size: 130 Bytes
  • Size of remote file: 19.4 kB
complete summary images/top3_Women's_Flyweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: 0df83e04a6d01d170547539c604dab3f5e25fefa58b67a9dc0fe75ff8361c4ac
  • Pointer size: 130 Bytes
  • Size of remote file: 19.3 kB
complete summary images/top3_Women's_Strawweight_Bout.jpg ADDED

Git LFS Details

  • SHA256: b4d2097ca50bcd2e0612f99555e2f00b8a545d93a584f9191b76520368cb8629
  • Pointer size: 130 Bytes
  • Size of remote file: 19.5 kB
complete summary images/top_fighters_win_pct.jpg ADDED

Git LFS Details

  • SHA256: 88ee0f80914c106fc94f030efe4c4ecbfe4457bfc745d7d1a2eba340c0a69cb4
  • Pointer size: 130 Bytes
  • Size of remote file: 52.2 kB
complete summary images/win_method_distribution.jpg ADDED

Git LFS Details

  • SHA256: e7e79bf86ee53961da2eaa5b1961d39ef5c0da8941cf07aca56f4c560ab09050
  • Pointer size: 130 Bytes
  • Size of remote file: 19.4 kB
fight_count_by_weight_class.png ADDED

Git LFS Details

  • SHA256: 224b6c0edab861b3ff120c41ea51130ce28f6fec7e644841231c64e1296e02e8
  • Pointer size: 130 Bytes
  • Size of remote file: 62.7 kB
fight_duration_summary.jpg ADDED

Git LFS Details

  • SHA256: fffefe5e695976d6bacb3b46c5401f6c992e2bc54d48df10d09cdb6761490603
  • Pointer size: 130 Bytes
  • Size of remote file: 18.7 kB
most_active_fighters.jpg ADDED

Git LFS Details

  • SHA256: d45a48ba190064270644237dd097c320604ce3bb131f9c75f6439d8059db63f1
  • Pointer size: 130 Bytes
  • Size of remote file: 27.7 kB
sample_fighter_historical_performance.jpg ADDED

Git LFS Details

  • SHA256: 60a280b0ee6571ae840465c9eeb944f76b4b013823f5cb23f24b87e11b1aefed
  • Pointer size: 130 Bytes
  • Size of remote file: 73 kB
stance_distribution.jpg ADDED

Git LFS Details

  • SHA256: e8d823c1bd7a14630a1b163b5b6a015a370f2ecf4535fb1fd478c5e67f0503be
  • Pointer size: 130 Bytes
  • Size of remote file: 34.4 kB
summary_statistics.jpg ADDED

Git LFS Details

  • SHA256: 2573b861a1954b8f8d3e120d5441360f7f26af74932b8482ee68fafb3a2bba36
  • Pointer size: 130 Bytes
  • Size of remote file: 32.8 kB
top_fighters_win_pct.jpg ADDED

Git LFS Details

  • SHA256: 88ee0f80914c106fc94f030efe4c4ecbfe4457bfc745d7d1a2eba340c0a69cb4
  • Pointer size: 130 Bytes
  • Size of remote file: 52.2 kB
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

  • SHA256: e7e79bf86ee53961da2eaa5b1961d39ef5c0da8941cf07aca56f4c560ab09050
  • Pointer size: 130 Bytes
  • Size of remote file: 19.4 kB