{'fraction_non_alphanumeric': 0.013793103448275862, 'fraction_numerical': 0.0, 'mean_word_length': 5.559322033898305, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Time series representation for anomaly detection

Anomaly detection in time series has attracted a lot of attention in the last decade, and is still a hot topic in time series mining. However, time series are high dimensional and feature correlational, directly detecting anomaly patterns in its raw format is very expensive, in addition, different time series may have different lengths of anomaly patterns, and usually, the lengths of anomaly patterns is unknown. This paper presents a new conception key point and an algorithm of seeking key points, the algorithm uses key points to rerepresent time series and still preserves its fundamental characteristics. Variable length method was used to segment re-represented time series into patterns and calculate anomaly scores of patterns. Anomaly patterns are identified by their anomaly scores automatically. The effectiveness of representational algorithm and anomaly detecting algorithm are demonstrated with both synthetic and standard datasets, and the experimental results confirm that our methods can identify anomaly patterns with different lengths and improve the speed of detecting algorithm greatly.