mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-15 23:45:54 +00:00
Allow to comment datasets in all.txt
This commit is contained in:
@@ -133,6 +133,7 @@ class Datasets:
|
|||||||
self.continuous_features = {}
|
self.continuous_features = {}
|
||||||
with open(file_name) as f:
|
with open(file_name) as f:
|
||||||
sets = f.read().splitlines()
|
sets = f.read().splitlines()
|
||||||
|
sets = [x for x in sets if not x.startswith("#")]
|
||||||
class_names = [default_class] * len(sets)
|
class_names = [default_class] * len(sets)
|
||||||
if "," in sets[0]:
|
if "," in sets[0]:
|
||||||
result = []
|
result = []
|
||||||
|
Reference in New Issue
Block a user