SupervisedAnomalyDetector¶
A supervised anomaly detector.
Methods¶
learn_one
Update the model.
Parameters
- x — 'dict'
- y — 'base.typing.Target'
Returns
SupervisedAnomalyDetector: self
score_one
Return an outlier score.
A high score is indicative of an anomaly. A low score corresponds a normal observation.
Parameters
- x — 'dict'
- y — 'base.typing.Target'
Returns
float: An anomaly score. A high score is indicative of an anomaly. A low score corresponds a