☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Interactive confusion matrix in bokeh

Community Support
Uriah_Finkel
Uriah_Finkel

I’d like to plot an interactive confusion matrix in bokeh, since i’m new to python i’m having difficulties with writing the code.

The idea is to have a slider for the threshold (from 0 to 1) and given a vector of real binary outcomes (1,0,0,0,1,1...) and a vector predicted probabilities (0.23,0.54,0.78,0.63,0.1,0.92...) the plot should represent a 2X2 confusion matrix.

⌁   Link to post

End of archived discussion · Replies are disabled