Mercurial > repos > bgruening > plotly_ml_performance_plots
comparison plot_ml_performance.py @ 2:62e3a4e8c54c 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 13:49:49 -0500 | 
| parents | 85da91bbdbfb | 
| children | 1c5dcef5ce0f | 
   comparison
  equal
  deleted
  inserted
  replaced
| 1:85da91bbdbfb | 2:62e3a4e8c54c | 
|---|---|
| 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) | 
