added estimation for BOXKDE

added resampling with simple random particle against sample impoverishment
This commit is contained in:
toni
2018-02-20 10:08:17 +01:00
parent 1b22fdbc8e
commit e0da02d29d
4 changed files with 230 additions and 8 deletions

View File

@@ -89,7 +89,7 @@ namespace NM {
const int total = (hits + misses);
if (total % 10000 == 0) {
std::cout << "hits: " << (hits*100/total) << "%" << std::endl;
//std::cout << "hits: " << (hits*100/total) << "%" << std::endl;
}
// calculate probability