Mercurial > repos > bgruening > sklearn_model_validation
comparison model_validation.xml @ 14:e244d6f2df1a draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 2a058459e6daf0486871f93845f00fdb4a4eaca1
author | bgruening |
---|---|
date | Sat, 29 Sep 2018 07:39:48 -0400 |
parents | badd86b9ce24 |
children | 86e1e2874460 |
comparison
equal
deleted
inserted
replaced
13:badd86b9ce24 | 14:e244d6f2df1a |
---|---|
21 import pandas | 21 import pandas |
22 import numpy as np | 22 import numpy as np |
23 from sklearn import preprocessing, model_selection, svm, linear_model, ensemble, naive_bayes, tree, neighbors | 23 from sklearn import preprocessing, model_selection, svm, linear_model, ensemble, naive_bayes, tree, neighbors |
24 from sklearn.pipeline import Pipeline | 24 from sklearn.pipeline import Pipeline |
25 | 25 |
26 execfile("$__tool_directory__/utils.py") | 26 exec(open("$__tool_directory__/utils.py").read(), globals()) |
27 | 27 |
28 safe_eval = SafeEval() | 28 safe_eval = SafeEval() |
29 | 29 |
30 input_json_path = sys.argv[1] | 30 input_json_path = sys.argv[1] |
31 with open(input_json_path, "r") as param_handler: | 31 with open(input_json_path, "r") as param_handler: |