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

HistogramQuantileProvider: why InitWithMax? #14

Open
donglaiw opened this issue Apr 18, 2022 · 0 comments
Open

HistogramQuantileProvider: why InitWithMax? #14

donglaiw opened this issue Apr 18, 2022 · 0 comments

Comments

@donglaiw
Copy link

Hey Jan,

I'm trying to get the 75 percentile for the affinity between two seg ids. However, during debugging, I found that with the defaultInitWithMax=true, the histogram will only have one value in the end (either clear()or return). Wonder what's the logic for InitWithMax? It seems that we just need to addAffinity for every input element?

Thanks
D.

if (InitWithMax && _histograms[e].lowestBin() != Bins) {

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

1 participant