Mercurial > repos > bgruening > sklearn_sample_generator
comparison fitted_model_eval.py @ 36:999e07f0a9fa draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
author | bgruening |
---|---|
date | Tue, 13 Apr 2021 22:30:08 +0000 |
parents | 1e99cfb71f40 |
children | 0f460421b212 |
comparison
equal
deleted
inserted
replaced
35:1e99cfb71f40 | 36:999e07f0a9fa |
---|---|
1 import argparse | 1 import argparse |
2 import json | 2 import json |
3 import pandas as pd | |
4 import warnings | 3 import warnings |
5 | 4 |
5 import pandas as pd | |
6 from galaxy_ml.utils import get_scoring, load_model, read_columns | |
6 from scipy.io import mmread | 7 from scipy.io import mmread |
7 from sklearn.pipeline import Pipeline | |
8 from sklearn.metrics.scorer import _check_multimetric_scoring | 8 from sklearn.metrics.scorer import _check_multimetric_scoring |
9 from sklearn.model_selection._validation import _score | 9 from sklearn.model_selection._validation import _score |
10 from galaxy_ml.utils import get_scoring, load_model, read_columns | 10 from sklearn.pipeline import Pipeline |
11 | 11 |
12 | 12 |
13 def _get_X_y(params, infile1, infile2): | 13 def _get_X_y(params, infile1, infile2): |
14 """read from inputs and output X and y | 14 """read from inputs and output X and y |
15 | 15 |