Mercurial > repos > bgruening > sklearn_generalized_linear
comparison generalized_linear.xml @ 26:9d3a024cf2da 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:07:13 -0400 |
parents | b628de0d101f |
children | 63417d0acc72 |
comparison
equal
deleted
inserted
replaced
25:bf32512b1418 | 26:9d3a024cf2da |
---|---|
18 import json | 18 import json |
19 import numpy as np | 19 import numpy as np |
20 import sklearn.linear_model | 20 import sklearn.linear_model |
21 import pandas | 21 import pandas |
22 import pickle | 22 import pickle |
23 | |
23 from scipy.io import mmread | 24 from scipy.io import mmread |
24 | 25 from galaxy_ml.utils import load_model, get_X_y |
25 sys.path.insert(0, '$__tool_directory__') | 26 |
26 from utils import load_model, get_X_y | |
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 |