70. A system for outputting a dataset based upon anomaly detection, the system comprising: a digital processing device that: receives a training dataset having a plurality of n-grams that includes a first plurality of distinct training n-grams, wherein each of the first plurality of distinct training n-grams is a first size; selects the first plurality of distinct training n-grams on a random basis, pseudo-random basis, or secret basis; receives an input dataset including first input n-grams, wherein each of the first input n-grams is the first size; determines a first matching count of the first input n-grams that correspond to one of the first plurality of distinct training n-grams: determines a first total count of the first input n-grams; determines a first anomaly detection score using the first matching count and the first total count, wherein the first anomaly detection score is indicative of the presence of anomalous n-grams in the input dataset; and outputs the input dataset based on the first anomaly detection score.
70. A system for outputting a dataset based upon anomaly detection, the system comprising: a digital processing device that: receives a training dataset having a plurality of n-grams that includes a first plurality of distinct training n-grams, wherein each of the first plurality of distinct training n-grams is a first size; selects the first plurality of distinct training n-grams on a random basis, pseudo-random basis, or secret basis; receives an input dataset including first input n-grams, wherein each of the first input n-grams is the first size; determines a first matching count of the first input n-grams that correspond to one of the first plurality of distinct training n-grams: determines a first total count of the first input n-grams; determines a first anomaly detection score using the first matching count and the first total count, wherein the first anomaly detection score is indicative of the presence of anomalous n-grams in the input dataset; and outputs the input dataset based on the first anomaly detection score. 71. The system of claim 70 , wherein the digital processing device also stores the first plurality of distinct training n-grams in a Bloom filter.