Mercurial > repos > bgruening > keras_batch_models
diff keras_deep_learning.py @ 10:f5e7df4f7975 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
author | bgruening |
---|---|
date | Tue, 13 Apr 2021 21:56:08 +0000 (2021-04-13) |
parents | 0a3f113397b2 |
children | 4a5266c96889 |
line wrap: on
line diff
--- a/keras_deep_learning.py Tue Apr 13 17:29:01 2021 +0000 +++ b/keras_deep_learning.py Tue Apr 13 21:56:08 2021 +0000 @@ -1,14 +1,14 @@ import argparse import json +import pickle +import warnings +from ast import literal_eval + import keras import pandas as pd -import pickle import six -import warnings - -from ast import literal_eval -from keras.models import Sequential, Model -from galaxy_ml.utils import try_get_attr, get_search_params, SafeEval +from galaxy_ml.utils import get_search_params, SafeEval, try_get_attr +from keras.models import Model, Sequential safe_eval = SafeEval()