Mercurial > repos > bgruening > plotly_ml_performance_plots
comparison plot_ml_performance.py @ 2:2cfa4aabda3e draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/plotly_ml_performance_plots commit 3752bb86fb42f0c98b6d6cbbd75e8d987f17a3fd"
author | bgruening |
---|---|
date | Thu, 16 Jan 2020 18:49:18 +0000 |
parents | 33fc6537a54d |
children | e73eb091612b |
comparison
equal
deleted
inserted
replaced
1:33fc6537a54d | 2:2cfa4aabda3e |
---|---|
138 | 138 |
139 fig_roc = go.Figure(data=data_roc, layout=layout_roc) | 139 fig_roc = go.Figure(data=data_roc, layout=layout_roc) |
140 plotly.offline.plot(fig_roc, filename="output_roc.html", auto_open=False) | 140 plotly.offline.plot(fig_roc, filename="output_roc.html", auto_open=False) |
141 | 141 |
142 except Exception as exp: | 142 except Exception as exp: |
143 pass | 143 print("Plotting the ROC-AUC graph failed. This exception was raised: {}".format(exp)) |
144 | 144 |
145 | 145 |
146 if __name__ == "__main__": | 146 if __name__ == "__main__": |
147 aparser = argparse.ArgumentParser() | 147 aparser = argparse.ArgumentParser() |
148 aparser.add_argument("-i", "--input", dest="infile_input", required=True) | 148 aparser.add_argument("-i", "--input", dest="infile_input", required=True) |