{'fraction_non_alphanumeric': 0.017501988862370723, 'fraction_numerical': 0.0, 'mean_word_length': 5.656084656084656, '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}}
Data Regression Framework for Time Series Data with Extreme Events

Time series data are significant to scientific, social, economic, and other areas, such as the prediction of weather changes being instrumental for administrative decision-making. In recent years, deep learning methods have achieved great success in time series prediction when compared with classic machine learning methods. However, because time series data can dynamically change and the correlations between the target variable and other features can also vary, making predictions using time series data is often challenging. To further improve existing machine learning and deep learning models for time series prediction, we propose a framework to integrate machine learning models with anomaly detection algorithms. The extreme events are highlighted so the machine learning models can process them appropriately. We conducted extensive experiments on real-world datasets ranging in size from a few hundred to more than ten thousand records. The experimental results demonstrate that our proposed framework significantly improves machine learning model accuracy and mitigates the accuracy descending rate when the predicting horizon (i.e., the number of timestamps ahead) increases.