Skip to content

A FiftyOne Plugin that allows you to find the optimal confidence threshold fast and easy!

License

Notifications You must be signed in to change notification settings

danielgural/optimal_confidence_threshold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optimal Confidence Threshold Finder

Optimal Confidence

This plugin is a Python plugin that allows for you to find the optimal confidence threshold for deploying your models!

🔎 Find the magic number in one click!

Installation

fiftyone plugins download https://github.com/danielgural/optimal_confidence_threshold

Operators

optimal_conf_threshold

Finding the optimal confidence threshold can always be tricky. One way to consider doing so is finding the number that maximizes your F1 score. This plugin implements a method of running an optimized version of FiftyOne's evaluate_detections method. This will calculate the F1 score at different thresholds until the best one is found! Here is how it works!

Confidence Inputs

Input the following:

  • Lower bound to search between
  • Upper bound to search between
  • Number of thresholds to check, this will increase complexity
  • Ground Truth field
  • Prediction field

The plugin will then sweep your range for the optimal confidence threshold until the answer is popped out!

Optimal Confidence

About

A FiftyOne Plugin that allows you to find the optimal confidence threshold fast and easy!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages