This repo (
confusion-matrix-explorer) contains a PyShiny app for exploring how changing a decision threshold affects a binary classifier confusion matrix and related metrics (sensitivity, specificity, precision, etc.).
Click here: Launch the Confusion Matrix Explorer
The app runs in your browser using Shinylive (Pyodide), no installation needed.
The Confusion Matrix Explorer app demonstrates how changing the decision threshold (the vertical T line) affects the confusion matrix and related metrics (sensitivity, specificity, etc.) for a binary classification problem.
How to use:
- Use the sidebar upper slider to vary the decision threshold.
- Use the sidebar lower slider to vary the number of bins in the histogram.
- Compare the as you raise (or lower) the decision threshold.
To learn more:
- See ABOUT.md.
- To run on your machine, see docs/index.md
- To make modifications, see DEVELOPER.md
This project is licensed under the MIT License.


