diff ml_visualization_ex.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
line wrap: on
line diff
--- a/ml_visualization_ex.py	Tue Apr 13 17:52:15 2021 +0000
+++ b/ml_visualization_ex.py	Tue Apr 13 22:30:08 2021 +0000
@@ -1,21 +1,20 @@
 import argparse
 import json
+import os
+import warnings
+
 import matplotlib
 import matplotlib.pyplot as plt
 import numpy as np
-import os
 import pandas as pd
 import plotly
 import plotly.graph_objs as go
-import warnings
-
+from galaxy_ml.utils import load_model, read_columns, SafeEval
 from keras.models import model_from_json
 from keras.utils import plot_model
 from sklearn.feature_selection.base import SelectorMixin
-from sklearn.metrics import precision_recall_curve, average_precision_score
-from sklearn.metrics import roc_curve, auc, confusion_matrix
+from sklearn.metrics import auc, average_precision_score, confusion_matrix, precision_recall_curve, roc_curve
 from sklearn.pipeline import Pipeline
-from galaxy_ml.utils import load_model, read_columns, SafeEval
 
 
 safe_eval = SafeEval()