Mercurial > repos > bgruening > sklearn_model_validation
diff fitted_model_eval.py @ 29:de360b57a5ab draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
author | bgruening |
---|---|
date | Tue, 13 Apr 2021 22:28:10 +0000 |
parents | 9b017b0da56e |
children | 4b359039f09f |
line wrap: on
line diff
--- a/fitted_model_eval.py Tue Apr 13 19:01:30 2021 +0000 +++ b/fitted_model_eval.py Tue Apr 13 22:28:10 2021 +0000 @@ -1,13 +1,13 @@ import argparse import json -import pandas as pd import warnings +import pandas as pd +from galaxy_ml.utils import get_scoring, load_model, read_columns from scipy.io import mmread -from sklearn.pipeline import Pipeline from sklearn.metrics.scorer import _check_multimetric_scoring from sklearn.model_selection._validation import _score -from galaxy_ml.utils import get_scoring, load_model, read_columns +from sklearn.pipeline import Pipeline def _get_X_y(params, infile1, infile2):