Mercurial > repos > bgruening > plotly_ml_performance_plots
comparison plot_ml_performance.py @ 1:33fc6537a54d draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/plotly_ml_performance_plots commit bd5f722e867bcf00eba4b08a87fcce285486fe5b
| author | bgruening |
|---|---|
| date | Tue, 18 Jun 2019 08:25:29 -0400 |
| parents | c7e10084225b |
| children | 2cfa4aabda3e |
comparison
equal
deleted
inserted
replaced
| 0:c7e10084225b | 1:33fc6537a54d |
|---|---|
| 31 ) | 31 ) |
| 32 ] | 32 ] |
| 33 | 33 |
| 34 layout = go.Layout( | 34 layout = go.Layout( |
| 35 title='Confusion Matrix between true and predicted class labels', | 35 title='Confusion Matrix between true and predicted class labels', |
| 36 xaxis=dict(title='True class labels'), | 36 xaxis=dict(title='Predicted class labels'), |
| 37 yaxis=dict(title='Predicted class labels') | 37 yaxis=dict(title='True class labels') |
| 38 ) | 38 ) |
| 39 | 39 |
| 40 fig = go.Figure(data=data, layout=layout) | 40 fig = go.Figure(data=data, layout=layout) |
| 41 plotly.offline.plot(fig, filename="output_confusion.html", auto_open=False) | 41 plotly.offline.plot(fig, filename="output_confusion.html", auto_open=False) |
| 42 | 42 |
