Update README.md
Browse files
README.md
CHANGED
|
@@ -117,6 +117,25 @@ The dataset has demonstrated strong performance across classical and deep-learni
|
|
| 117 |
|
| 118 |
---
|
| 119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
## 📊 Benchmarks
|
| 121 |
|
| 122 |
Extensive experiments were conducted on:
|
|
|
|
| 117 |
|
| 118 |
---
|
| 119 |
|
| 120 |
+
## 📝 Data Split
|
| 121 |
+
This dataset is provided with standard train/validation/test splits created using an 80/10/10 random split from the master file `habibi.csv`.
|
| 122 |
+
|
| 123 |
+
```
|
| 124 |
+
import pandas as pd
|
| 125 |
+
from sklearn.model_selection import train_test_split
|
| 126 |
+
|
| 127 |
+
df = pd.read_csv("habibi.csv")
|
| 128 |
+
|
| 129 |
+
train, temp = train_test_split(df, test_size=0.2, random_state=42)
|
| 130 |
+
val, test = train_test_split(temp, test_size=0.5, random_state=42)
|
| 131 |
+
|
| 132 |
+
train.to_csv("train.csv", index=False)
|
| 133 |
+
val.to_csv("validation.csv", index=False)
|
| 134 |
+
test.to_csv("test.csv", index=False)
|
| 135 |
+
|
| 136 |
+
```
|
| 137 |
+
---
|
| 138 |
+
|
| 139 |
## 📊 Benchmarks
|
| 140 |
|
| 141 |
Extensive experiments were conducted on:
|