Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to select the appropriate threshold (conf_thresh) value? #3796

Open
kmsravindra opened this issue Aug 21, 2019 · 1 comment
Open

How to select the appropriate threshold (conf_thresh) value? #3796

kmsravindra opened this issue Aug 21, 2019 · 1 comment

Comments

@kmsravindra
Copy link

kmsravindra commented Aug 21, 2019

@AlexeyAB, Hi

I am using yolov3 and I want to select the best confidence threshold that maximizes F1 score. So to do this, will I have to run "darknet detector map -thresh 0.x" command multiple times for each value of x ranging from 0.1 to 0.9 and draw a plot, so that I can select an appropriate threshold value?

I want to select the threshold that gives good true positives while trading off some false positives / false negatives.

Any other better ways you can suggest to find this threshold ?

Thanks.

@AlexeyAB
Copy link
Owner

@kmsravindra Hi,

will I have to run "darknet detector map -thresh 0.x" command multiple times for each value of x ranging from 0.1 to 0.9 and draw a plot, so that I can select an appropriate threshold value?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants