comparison stacking_ensembles.py @ 20:a5665e1b06b0 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
author bgruening
date Tue, 13 Apr 2021 22:52:20 +0000
parents d67dcd63f6cb
children 14fa42b095c4
comparison
equal deleted inserted replaced
19:d67dcd63f6cb 20:a5665e1b06b0
1 import argparse 1 import argparse
2 import ast 2 import ast
3 import json 3 import json
4 import mlxtend.regressor
5 import mlxtend.classifier
6 import pandas as pd
7 import pickle 4 import pickle
8 import sys 5 import sys
9 import warnings 6 import warnings
10 from galaxy_ml.utils import load_model, get_cv, get_estimator, get_search_params 7
8 import mlxtend.classifier
9 import mlxtend.regressor
10 import pandas as pd
11 from galaxy_ml.utils import get_cv, get_estimator, get_search_params, load_model
11 12
12 13
13 warnings.filterwarnings("ignore") 14 warnings.filterwarnings("ignore")
14 15
15 N_JOBS = int(__import__("os").environ.get("GALAXY_SLOTS", 1)) 16 N_JOBS = int(__import__("os").environ.get("GALAXY_SLOTS", 1))