DeleteAnomalies
DeleteAnomalies[{example1, example2, ...}] gives a list in which examplei that are considered anomalous have been dropped.
DeleteAnomalies[fun, data] drops anomalies in data using the given AnomalyDetectorFunction[...] or LearnedDistribution[...].
Examples
Delete anomalies from data:
DeleteAnomalies[{1, 2, 3, 100, 4, 5}]
(* {1, 2, 3, 4, 5} *)Please visit the official Wolfram Language Reference for more details.