Browse Source

sorted open ml problems in order to well restart

Jérôme BUISINE 1 year ago
parent
commit
48c4349333
2 changed files with 2 additions and 2 deletions
  1. 1 1
      features_selection/run_all_openML.py
  2. 1 1
      run_openML_surrogate.py

+ 1 - 1
features_selection/run_all_openML.py

@@ -46,7 +46,7 @@ def main():
     p_ntrain    = args.ntrain
     p_output    = args.output
 
-    open_ml_problems = os.listdir(open_ml_problems_folder)
+    open_ml_problems = sorted(os.listdir(open_ml_problems_folder))
 
     for ml_problem in open_ml_problems:
 

+ 1 - 1
run_openML_surrogate.py

@@ -14,7 +14,7 @@ def main():
     p_ils = args.ils
     p_ls  = args.ls
 
-    open_ml_problems = os.listdir(open_ml_problems_folder)
+    open_ml_problems = sorted(os.listdir(open_ml_problems_folder))
 
     for ml_problem in open_ml_problems: