Make AnomalyDetectors compatible to tracks #794
Replies: 1 comment 2 replies
-
It's an interesting topic. All anomaly detectors output an anomaly score. In River this is through the The scores of anomaly detectors can be used to update metrics. I wouldn't say there incompatible. What makes you feel that metrics don't work for anomaly detectors? As for tracks, we indeed do not support anomaly detectors. But it shouldn't be too difficult to do. The same goes for testing: there are test suites for classification and regression, but not for other tasks such as anomaly detection, clustering, time series, etc. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
currently the
river.anomaly.AnomalyDetector
is not compatible withriver.evaluate.Track
(or with the Metrics).Based on scikit-learn one could make each AnomalyDetector algorithm also inherit from
river.base.Classifer
?Whereby, the
river.anomaly.AnomalyDetector
only implements alearn_score_one
function and thelearn_one
function is implemented fromriver.base.Classifier
, wherey
is passed asNone
.What do you think?
Best
Cedric
Beta Was this translation helpful? Give feedback.
All reactions