Skip to content

Demonstrates how to use streamlit to set the threshold for a classifier

License

Notifications You must be signed in to change notification settings

timvink/demo_streamlit_threshold_classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit App

Using streamlit to set the threshold for a classifier

📓 This code accompanies the blog post at https://www.timvink.nl/streamlit-threshold-app/

Intro

Machine learning classifiers can make binary predictions by setting a threshold on the predicted probabilities. Often it makes sense to set this threshold together with business stakeholders that understand the problem domain.

This repository demonstrates a streamlit app that can facilitate the interactive setting of threshold.

App

Run the app with:

pip install -r requirements.txt
streamlit run app.py

This is what it looks like:

Further reading

Read the full post at timvink.nl/streamlit-threshold-app/

Other resources:

About

Demonstrates how to use streamlit to set the threshold for a classifier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages