Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
paper-2023-data-driven-kernel-designs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
ians-anm
paper-2023-data-driven-kernel-designs
Commits
990c1c06
Commit
990c1c06
authored
1 year ago
by
Tizian Wenzel
Browse files
Options
Downloads
Patches
Plain Diff
More debugging.
parent
2bb57fcc
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
utils_code/dataset_collection.py
+1
-1
1 addition, 1 deletion
utils_code/dataset_collection.py
utils_data/custom_paths.py
+4
-1
4 additions, 1 deletion
utils_data/custom_paths.py
with
5 additions
and
2 deletions
utils_code/dataset_collection.py
+
1
−
1
View file @
990c1c06
...
@@ -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
'
)
...
...
This diff is collapsed.
Click to expand it.
utils_data/custom_paths.py
+
4
−
1
View file @
990c1c06
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment