diff --git a/utils_code/dataset_collection.py b/utils_code/dataset_collection.py index 65b849cbb6abc3988fc5ef1bc92bff7890bbcec3..057e898a9dfe362e282ad7773efe017468109e06 100644 --- a/utils_code/dataset_collection.py +++ b/utils_code/dataset_collection.py @@ -46,7 +46,7 @@ class Dataset(): def example_holzmuller(self, ds_name): """Data set from David Holzmüller paper of batch active learning.""" - path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'data/')) + path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'data/data/')) X = np.load(path + ds_name + '/X.npy') y = np.load(path + ds_name + '/y.npy') diff --git a/utils_data/custom_paths.py b/utils_data/custom_paths.py index 587e94b1a53569b3c2b742f5118e7522fea1618c..295b548e4ea8b836db3e7f59b1f2926a0c432342 100644 --- a/utils_data/custom_paths.py +++ b/utils_data/custom_paths.py @@ -1,7 +1,10 @@ +import os + # This file allows to configure where to save data, results, plots etc. class CustomPaths: # path where downloaded data sets will be saved - data_path = 'data' + data_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'data/')) + # path where benchmark results will be saved results_path = 'results' # path where plots and tables will be saved