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 speed of Normal Space filtering #328

Conversation

jsburklund
Copy link
Contributor

Improves the speed of Normal Space binning and selection.

Use a more efficient sampling method instead of rejection sampling. Improves runtime speed and determinism by not attempting to sample low probability events. Remove empty bins and randomly select from only the remaining available bins. Points are added into each bin initially in a random order, and are now popped off the back of a list of points inside the bucket.

Use more efficient sampling method instead of
rejection sampling. Improves runtime speed and
determinism by not attempting to sample low probability
events. Remove empty bins and randomly select from only
the available bins. Points are added into each bin
initially in a random order, and are now popped off the
back of a list of points inside the bucket.
@simonpierredeschenes
Copy link
Collaborator

Thanks for the effort. It's really appreciated!

We'll look at this PR more in details at the end of this week.

@simonpierredeschenes
Copy link
Collaborator

@jsburklund Wow, your implementation is really faster than the old one! It will be merged soon. Thanks again for your contribution!

@simonpierredeschenes simonpierredeschenes merged commit fcf630c into norlab-ulaval:master Apr 4, 2019
@jsburklund jsburklund deleted the feature/faster_normal_space_filter_pr branch April 16, 2019 15:20
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

Successfully merging this pull request may close these issues.

2 participants