Updated print message
Browse files
isco_hierarchical_accuracy.py
CHANGED
@@ -266,9 +266,8 @@ class ISCO_Hierarchical_Accuracy(evaluate.Metric):
|
|
266 |
"""Download external ISCO-08 csv file from the ILO website for creating the hierarchy dictionary."""
|
267 |
isco_csv = dl_manager.download_and_extract(ISCO_CSV_MIRROR_URL)
|
268 |
print(f"ISCO CSV file downloaded")
|
269 |
-
# self.isco_hierarchy = isco.create_hierarchy_dict(isco_csv)
|
270 |
self.isco_hierarchy = self.create_hierarchy_dict(isco_csv)
|
271 |
-
print("ISCO hierarchy dictionary created")
|
272 |
print(self.isco_hierarchy)
|
273 |
|
274 |
def _compute(self, predictions, references):
|
|
|
266 |
"""Download external ISCO-08 csv file from the ILO website for creating the hierarchy dictionary."""
|
267 |
isco_csv = dl_manager.download_and_extract(ISCO_CSV_MIRROR_URL)
|
268 |
print(f"ISCO CSV file downloaded")
|
|
|
269 |
self.isco_hierarchy = self.create_hierarchy_dict(isco_csv)
|
270 |
+
print("Weighted ISCO hierarchy dictionary created")
|
271 |
print(self.isco_hierarchy)
|
272 |
|
273 |
def _compute(self, predictions, references):
|