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

Improve probability calculation in Square::probability() #2

Open
meltedlilacs opened this issue Jun 26, 2014 · 0 comments
Open

Improve probability calculation in Square::probability() #2

meltedlilacs opened this issue Jun 26, 2014 · 0 comments
Assignees

Comments

@meltedlilacs
Copy link
Owner

At the moment the probability of there being something in a Square is simply numTimesFound / numTimesScanned, not taking into account the average number of other Square's scanned at the same time.

The formula should be (numTimesFound / numTimesScanned) * (1 / error rate), where error rate is the average number of Square's scanned at once when this Square was scanned.

What is the best method to calculate the error rate? I think the method we came up with has to do with checking adjacent Square's to see if they have been scanned from the same place, but we must be careful to check only the ones the same distance from the origin of the scan, and only up to 15 degrees away.

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

No branches or pull requests

1 participant