comparison plot_ml_performance.py @ 1:85da91bbdbfb 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:26:04 -0400
parents 4fac53da862f
children 62e3a4e8c54c
comparison
equal deleted inserted replaced
0:4fac53da862f 1:85da91bbdbfb
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