SODModel<V> model = new SODModel<V>(relation, knnList, alpha, relation.get(queryObject));
sod_models.put(queryObject, model);
minmax.put(model.getSod());
}
if(progress != null) {
progress.ensureCompleted(logger);
}
// combine results.
Relation<SODModel<?>> models = new MaterializedRelation<SODModel<?>>("Subspace Outlier Model", "sod-outlier", new SimpleTypeInformation<SODModel<?>>(SODModel.class), sod_models, relation.getDBIDs());
OutlierScoreMeta meta = new BasicOutlierScoreMeta(minmax.getMin(), minmax.getMax());
OutlierResult sodResult = new OutlierResult(meta, new SODProxyScoreResult(models, relation.getDBIDs()));