# | Line 234 | Line 234 | get_threshold(const TRITREE *tree) | |
---|---|---|
234 | memset((void *)exphisto, 0, sizeof(exphisto)); | |
235 | for (i = 0; i < NTRUNKBR; i++) | |
236 | get_ehisto(&tree->kid[i], exphisto); | |
237 | < | /* use 99th percentile */ |
237 | > | /* use 98th percentile */ |
238 | for (i = 0; i < 256; i++) | |
239 | samptotal += exphisto[i]; | |
240 | < | samptotal /= 100; |
240 | > | samptotal /= 50; |
241 | for (i = 256; (--i > 0) & (samptotal > 0); ) | |
242 | samptotal -= exphisto[i]; | |
243 | return(ldexp(.75, i-COLXS)); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |