Mercurial > repos > bgruening > keras_train_and_eval
diff model_prediction.py @ 5:785dd890e27d draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
author | bgruening |
---|---|
date | Tue, 13 Apr 2021 22:22:05 +0000 |
parents | 3866911c93ae |
children | ead8f1822587 |
line wrap: on
line diff
--- a/model_prediction.py Tue Apr 13 18:37:35 2021 +0000 +++ b/model_prediction.py Tue Apr 13 22:22:05 2021 +0000 @@ -4,13 +4,10 @@ import numpy as np import pandas as pd +from galaxy_ml.utils import get_module, load_model, read_columns, try_get_attr from scipy.io import mmread from sklearn.pipeline import Pipeline -from galaxy_ml.utils import (get_module, load_model, - read_columns, try_get_attr) - - N_JOBS = int(__import__("os").environ.get("GALAXY_SLOTS", 1))