Mercurial > repos > bgruening > sklearn_discriminant_classifier
comparison discriminant.xml @ 26:9bb505eafac9 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:06:17 -0400 |
parents | 5552eda109bd |
children | 64b771b1471a |
comparison
equal
deleted
inserted
replaced
25:3e2921875c58 | 26:9bb505eafac9 |
---|---|
20 import pandas | 20 import pandas |
21 import pickle | 21 import pickle |
22 import sklearn.discriminant_analysis | 22 import sklearn.discriminant_analysis |
23 import sys | 23 import sys |
24 | 24 |
25 sys.path.insert(0, '$__tool_directory__') | 25 from galaxy_ml.utils import load_model, get_X_y |
26 from utils import load_model, get_X_y | 26 |
27 | 27 |
28 input_json_path = sys.argv[1] | 28 input_json_path = sys.argv[1] |
29 with open(input_json_path, "r") as param_handler: | 29 with open(input_json_path, "r") as param_handler: |
30 params = json.load(param_handler) | 30 params = json.load(param_handler) |
31 | 31 |