Mercurial > repos > bgruening > sklearn_stacking_ensemble_models
comparison stacking_ensembles.py @ 4:17f173a4a745 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 02087ce2966cf8b4aac9197a41171e7f986c11d1-dirty"
| author | bgruening | 
|---|---|
| date | Wed, 02 Oct 2019 03:28:39 -0400 | 
| parents | e18d9b17c322 | 
| children | 8b5b653ba1ed | 
   comparison
  equal
  deleted
  inserted
  replaced
| 3:963e449636d3 | 4:17f173a4a745 | 
|---|---|
| 9 import sys | 9 import sys | 
| 10 import warnings | 10 import warnings | 
| 11 from sklearn import ensemble | 11 from sklearn import ensemble | 
| 12 | 12 | 
| 13 from galaxy_ml.utils import (load_model, get_cv, get_estimator, | 13 from galaxy_ml.utils import (load_model, get_cv, get_estimator, | 
| 14 get_search_params) | 14 get_search_params) | 
| 15 | 15 | 
| 16 | 16 | 
| 17 warnings.filterwarnings('ignore') | 17 warnings.filterwarnings('ignore') | 
| 18 | 18 | 
| 19 N_JOBS = int(__import__('os').environ.get('GALAXY_SLOTS', 1)) | 19 N_JOBS = int(__import__('os').environ.get('GALAXY_SLOTS', 1)) | 
