WLJS LogoWLJS Notebook

AnomalyDetection

AnomalyDetection[{example1, example2, ...}] generates an AnomalyDetectorFunction[...] based on the examples given.

AnomalyDetection[LearnedDistribution[...]] generates an anomaly detector based on the given distribution.

Examples

Train an anomaly detector:

detector = AnomalyDetection[{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}];
detector[100]
(* True (anomaly) *)

Check if a value is anomalous:

detector[5]
(* False (normal) *)

Please visit the official Wolfram Language Reference for more details.

On this page