Mercurial > repos > bgruening > sklearn_svm_classifier
comparison svm.xml @ 10:153f237ddb36 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
author | bgruening |
---|---|
date | Fri, 09 Aug 2019 07:08:07 -0400 |
parents | 1a9d5a8fff12 |
children | 2df8f5c30edc |
comparison
equal
deleted
inserted
replaced
9:e1b37bdc5fbd | 10:153f237ddb36 |
---|---|
19 import json | 19 import json |
20 import sklearn.svm | 20 import sklearn.svm |
21 import pandas | 21 import pandas |
22 import pickle | 22 import pickle |
23 | 23 |
24 sys.path.insert(0, '$__tool_directory__') | 24 from galaxy_ml.utils import load_model, get_X_y |
25 from utils import load_model, get_X_y | 25 |
26 | 26 |
27 input_json_path = sys.argv[1] | 27 input_json_path = sys.argv[1] |
28 with open(input_json_path, "r") as param_handler: | 28 with open(input_json_path, "r") as param_handler: |
29 params = json.load(param_handler) | 29 params = json.load(param_handler) |
30 | 30 |