Mercurial > repos > bgruening > sklearn_model_validation
comparison train_test_split.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 |
comparison
equal
deleted
inserted
replaced
28:9b017b0da56e | 29:de360b57a5ab |
---|---|
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.model_validations import train_test_split | 6 from galaxy_ml.model_validations import train_test_split |
7 from galaxy_ml.utils import get_cv, read_columns | 7 from galaxy_ml.utils import get_cv, read_columns |
8 | 8 |
9 | 9 |
10 def _get_single_cv_split(params, array, infile_labels=None, infile_groups=None): | 10 def _get_single_cv_split(params, array, infile_labels=None, infile_groups=None): |