mdsajjadullah commited on
Commit
62efeeb
·
verified ·
1 Parent(s): be2f166

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +115 -3
README.md CHANGED
@@ -1,3 +1,115 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ pretty_name: ML Model Failures Dataset
6
+ size_categories:
7
+ - n<1K
8
+ task_categories:
9
+ - tabular-classification
10
+ tags:
11
+ - machine-learning
12
+ - debugging
13
+ - model-failures
14
+ - overfitting
15
+ - underfitting
16
+ - adversarial
17
+ - bias
18
+ - class-imbalance
19
+ - gradient-problems
20
+ - model-drift
21
+ - out-of-distribution
22
+ - mlops
23
+ - education
24
+ ---
25
+
26
+ # ML Model Failures Dataset
27
+
28
+ ## What Is This
29
+
30
+ This dataset contains 900 annotated machine learning failure records
31
+ across 9 failure types. Every record documents what went wrong, why it
32
+ went wrong, and how to fix it.
33
+
34
+ ---
35
+
36
+ ## Load It In Python
37
+
38
+ from datasets import load_dataset
39
+
40
+ ds = load_dataset("YOUR_HF_USERNAME/ml-failures-dataset")
41
+ df = ds['train'].to_pandas()
42
+
43
+ print(df['failure_type'].value_counts())
44
+ print(df['severity'].value_counts())
45
+
46
+ ---
47
+
48
+ ## The 9 Failure Types
49
+
50
+ 1. Overfitting — High severity
51
+ 2. Underfitting — High severity
52
+ 3. Adversarial Attack — Critical severity
53
+ 4. Bias — Critical severity
54
+ 5. Class Imbalance — High severity
55
+ 6. Gradient Exploding — High severity
56
+ 7. Gradient Vanishing — High severity
57
+ 8. Model Drift — High severity
58
+ 9. Out-of-Distribution — Critical severity
59
+
60
+ ---
61
+
62
+ ## All 14 Columns
63
+
64
+ scenario_id — unique ID like OVF_0001
65
+ failure_type — which failure category
66
+ feature_values — input numbers as a list
67
+ true_label — correct answer 0 or 1
68
+ train_accuracy — accuracy on training data
69
+ val_accuracy — accuracy on test data
70
+ precision — weighted precision score
71
+ recall — weighted recall score
72
+ f1_score — weighted F1 score
73
+ error_description — what went wrong
74
+ root_cause — why it failed
75
+ fix_strategy — how to fix it
76
+ severity — Critical, High, or Medium
77
+ extra_info — extra diagnostic info
78
+
79
+ ---
80
+
81
+ ## Average Metrics By Failure Type
82
+
83
+ Overfitting train 1.000 val 0.700 f1 0.700
84
+ Underfitting train 0.720 val 0.710 f1 0.710
85
+ Adversarial Attack train 0.880 val 0.650 f1 0.640
86
+ Bias train 0.820 val 0.780 f1 0.760
87
+ Class Imbalance train 0.960 val 0.950 f1 0.910
88
+ Gradient Exploding train 0.500 val 0.500 f1 0.490
89
+ Gradient Vanishing train 0.500 val 0.500 f1 0.490
90
+ Model Drift train 0.880 val 0.600 f1 0.590
91
+ Out-of-Distribution train 0.950 val 0.480 f1 0.470
92
+
93
+ ---
94
+
95
+ ## How Data Was Created
96
+
97
+ All data is synthetic and reproducible using scikit-learn.
98
+ Run ML_Failures_Dataset.ipynb in Google Colab to regenerate everything.
99
+
100
+ ---
101
+
102
+ ## License
103
+
104
+ MIT — free for research, education, and commercial use.
105
+
106
+ ---
107
+
108
+ ## Citation
109
+
110
+ @dataset{ml_failures_dataset_2026,
111
+ title = {ML Model Failures Dataset},
112
+ year = {2026},
113
+ version = {1.0.0},
114
+ license = {MIT}
115
+ }