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

the false positive rate & detection rate setting for each classification in the cascade framework #27

Open
hesperxxz opened this issue Nov 21, 2016 · 1 comment

Comments

@hesperxxz
Copy link

Hi luoyetx, thanks for your code.
In your config.json, for each cart,
detection rate = 1 - drop_n / number_of_positive_samples = 1-2/50000 = 0.99996
max false positive rate = 1 - restart.th = 0.999
Therefore, the final detection rate is pow(0.99996, 5405) = 0.8976
the final false positive rate = pow(0.999, 540
5) = 0.0671
Is that right? Maybe the DR is a little low and the FPR is too high.

@luoyetx
Copy link
Owner

luoyetx commented Nov 22, 2016

@hesperxxz your formula is right. And I think I'm using number_of_positive_samples = 100,000 (not all of them has landmark points). And I only trained 2700 carts.

The FPR you calculates is not the truth. Actually max false positive rate < 1 - restart.th, it will be much smaller than 0.999. I think the final FR will be 1e-5, that small.

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