1. A method for outputting a dataset based upon anomaly detection, the method comprising: receiving, using a hardware processor, an input dataset; determining, using the hardware processor, an anomaly detection score that is indicative of the presence of anomalous n-grams in the input dataset by applying a content anomaly detection model to the received input data, wherein the content anomaly detection model is trained with data that includes training n-grams and wherein the anomaly detection score is based on a comparison of n-grams in the input dataset, which each represent a sequence of n bytes, with the training n-grams; and causing, using the hardware processor, the input dataset to be outputted based on the anomaly detection score.