129130131132133134135136137138139
} knnw_score.putDouble(id, skn); minmax.put(skn); if(progressKNNWeight != null) { progressKNNWeight.incrementProcessed(logger); } } if(progressKNNWeight != null) { progressKNNWeight.ensureCompleted(logger); }
143144145146147148149150151152153
} // Error: deviation from trimmed mean errors.putDouble(id, relation.get(id).doubleValue(1) - tm); if(progress != null) { progress.incrementProcessed(logger); } } if(progress != null) { progress.ensureCompleted(logger); }
177178179180181182183184185186187
} } interestingDistances.put(id, cdist); if(progressPreproc != null) { progressPreproc.incrementProcessed(logger); } } if(progressPreproc != null) { progressPreproc.ensureCompleted(logger); }
246247248249250251252253254255256
} mdef_norm.putDouble(id, maxmdefnorm); mdef_radius.putDouble(id, maxnormr); minmax.put(maxmdefnorm); if(progressLOCI != null) { progressLOCI.incrementProcessed(logger); } } if(progressLOCI != null) { progressLOCI.ensureCompleted(logger); }
149150151152153154155156157158159
// run LOF and collect the result OutlierResult result = lof.run(relation); results.add(result); if(prog != null) { prog.incrementProcessed(logger); } } if(prog != null) { prog.ensureCompleted(logger); }
194195196197198199200201202203204
logger.warning("Incomplete result: Iterator does not contain |DB| DBIDs"); } } // Progress does not take the initial mapping into account. if(cprog != null) { cprog.incrementProcessed(logger); } } if(cprog != null) { cprog.ensureCompleted(logger); }
214215216217218219220221222223224
} } scores.putDouble(id, sum); minmax.put(sum); if(cprog != null) { cprog.incrementProcessed(logger); } } if(cprog != null) { cprog.ensureCompleted(logger); }
154155156157158159160161162163164
} todo = ntodo; } store.put(id, res); if(progress != null) { progress.incrementProcessed(logger); } } if(progress != null) { progress.ensureCompleted(logger); }
247248249250251252253254255256257
} } double pdist = lambda * Math.sqrt(sqsum / ks); pdists.putDouble(id, pdist); if(prdsProgress != null) { prdsProgress.incrementProcessed(logger); } } } // Compute PLOF values. WritableDoubleDataStore plofs = DataStoreUtil.makeDoubleStorage(relation.getDBIDs(), DataStoreFactory.HINT_HOT | DataStoreFactory.HINT_TEMP);
282283284285286287288289290291292
} plofs.putDouble(id, plof); mvplof.put((plof - 1.0) * (plof - 1.0)); if(progressPLOFs != null) { progressPLOFs.incrementProcessed(logger); } } } double nplof = lambda * Math.sqrt(mvplof.getMean());