self.config.samples here
Browse files
nba_tracking_data_15_16.py
CHANGED
@@ -101,7 +101,7 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
|
|
101 |
]
|
102 |
|
103 |
random.seed(9)
|
104 |
-
items = random.sample(items, samples)
|
105 |
|
106 |
_URLS = {}
|
107 |
for game in items:
|
|
|
101 |
]
|
102 |
|
103 |
random.seed(9)
|
104 |
+
items = random.sample(items, self.config.samples)
|
105 |
|
106 |
_URLS = {}
|
107 |
for game in items:
|