Skip to content
Snippets Groups Projects
Commit 990c1c06 authored by Tizian Wenzel's avatar Tizian Wenzel
Browse files

More debugging.

parent 2bb57fcc
Branches
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ class Dataset(): ...@@ -46,7 +46,7 @@ class Dataset():
def example_holzmuller(self, ds_name): def example_holzmuller(self, ds_name):
"""Data set from David Holzmüller paper of batch active learning.""" """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') X = np.load(path + ds_name + '/X.npy')
y = np.load(path + ds_name + '/y.npy') y = np.load(path + ds_name + '/y.npy')
......
import os
# This file allows to configure where to save data, results, plots etc. # This file allows to configure where to save data, results, plots etc.
class CustomPaths: class CustomPaths:
# path where downloaded data sets will be saved # 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 # path where benchmark results will be saved
results_path = 'results' results_path = 'results'
# path where plots and tables will be saved # path where plots and tables will be saved
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment