yzhao062 / anomaly-detection-resources

Anomaly detection related books, papers, videos, and toolboxes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleDetectorAggregator can not be used for novelty detection

Paroag opened this issue · comments

commented

Currently, the implementation of SimpleDetectorAggregator does not allow for novelty detection usages.

The method _create_scores(self, X) does apply standardization based on the tensor of scores X. The data evaluated for novelty detection are not transformed the same way as the data used to fit the SimpleDetectorAggregator, and thus the threshold defined at fitting can not be applied to determine wether or not the data is a novelty.

One notable consequence is that running SimpleDetectorAggregator(...).predict(X[0, :]) (novelty detection on a single point) will always output the a score of 0.

SimpleDetectorAggregator should instead keep the scalers used when fitting and use them to process the data when creating new scores. This would add support for novelty detection.

commented

Wrong repo !