Mercurial > repos > bgruening > sklearn_ensemble
comparison model_prediction.py @ 36:a98fdfcd9f5f draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
author | bgruening |
---|---|
date | Tue, 13 Apr 2021 22:18:06 +0000 |
parents | 19d6c2745d34 |
children | 4ecc0ce9d0a2 |
comparison
equal
deleted
inserted
replaced
35:19d6c2745d34 | 36:a98fdfcd9f5f |
---|---|
2 import json | 2 import json |
3 import warnings | 3 import warnings |
4 | 4 |
5 import numpy as np | 5 import numpy as np |
6 import pandas as pd | 6 import pandas as pd |
7 from galaxy_ml.utils import get_module, load_model, read_columns, try_get_attr | |
7 from scipy.io import mmread | 8 from scipy.io import mmread |
8 from sklearn.pipeline import Pipeline | 9 from sklearn.pipeline import Pipeline |
9 | |
10 from galaxy_ml.utils import (get_module, load_model, | |
11 read_columns, try_get_attr) | |
12 | |
13 | 10 |
14 N_JOBS = int(__import__("os").environ.get("GALAXY_SLOTS", 1)) | 11 N_JOBS = int(__import__("os").environ.get("GALAXY_SLOTS", 1)) |
15 | 12 |
16 | 13 |
17 def main( | 14 def main( |