Upload adjkaslkjdasjkslkldjsa/AgeDataset.py with huggingface_hub
Browse files
adjkaslkjdasjkslkldjsa/AgeDataset.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .base_feature_classification_dataset import BaseFeatureDataset
|
| 2 |
+
|
| 3 |
+
class AgeDataset(BaseFeatureDataset):
|
| 4 |
+
def __init__(self, data):
|
| 5 |
+
super().__init__(data)
|
| 6 |
+
|
| 7 |
+
def __repr__(self):
|
| 8 |
+
return f"AgeDataset(train={len(self.train_set)}, test={len(self.test_set)})"
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|