Research Article

LSTM-based Missing Value Filling Analysis of Time Series

Jing Chen*
Anhui Agricultural University, China

* Corresponding author: [email protected]

Abstract

In the field of time series data analysis, handling missing values poses a critical and complex challenge. This study addresses this issue by proposing a missing value imputation method based on Long Short-Term Memory (LSTM) networks to enhance the accuracy and reliability of time series data prediction. Specifically, we selected water consumption data from 20 different communities, which contained missing values, as our experimental dataset. Initially, we applied a mean imputation method to preprocess the missing data in the training set, ensuring data completeness and continuity. Subsequently, we constructed an LSTM model based on a sliding window mechanism to perform missing value predictions. The prediction results on the validation set yielded a Mean Squared Error (MSE) of 0.00636, indicating a high degree of accuracy and stability in our model’s predictive capabilities. Additionally, a detailed analysis and prediction of individual feature values yielded an MSE of 0.40129, further validating the effectiveness of the LSTM model in addressing the missing value problem in time series data.

Keywords: Time series analysis; Long Short-Term Memory (LSTM) neural networks; machine learning
Published: December 19, 2024
DOI: 10.54254/2755-2721/2024.18509
Volume: ACE Vol.113
pp. 122-127
Download PDF

References

  1. Wang, X., Wu, J., Liu, C., et al. (2018). Fault Time Series Prediction Based on LSTM Recurrent Neural Network. Journal.
  2. Wang, G., & Yang, J. (2018). Bidirectional Knowledge and Data-Driven Multigranular Cognitive Computing. Journal of Northwest University (Natural Science Edition), 48(4), 488-500.
  3. Peugh, J. L., & Enders, C. K. (2004). Missing Data in Educational Research: A Review of Reporting Practices and Suggestions for Improvement. Review of Educational Research, 74, 525-556.
  4. Enders, C. K. (2010). Applied Missing Data Analysis (p. 7). New York: The Guilford Press.
  5. Goldberg, Y., & Kosorok, M. R. (2017). Support Vector Regression for Right-Censored Data. Electronic Journal of Statistics, 11(1), 532-569.
  6. Wu, Y. J., Fang, W. Q., Cheng, L. H., et al. (2018). A Flexible Bayesian Non-Parametric Approach for Fitting the Odds to Case II Interval-Censored Data. Journal of Statistical Computation and Simulation, 88(16), 3132-3150.
  7. Li, X., & Zhou, Y. (2017). Estimators and Their Asymptotic Properties for Quantile Difference with Left-Truncated and Right-Censored Data. Acta Mathematica Sinica (Chinese Series), 60(3), 451-464.
  8. Lei, H., Mai, R., Wushouer, et al. (2021). Review of Novelty Detection. Journal of Computer Engineering & Applications, 57(5).
  9. Fang, F., & Shao, J. (2016). Model Selection with Nonignorable Nonresponse. Biometrika, 103(4), asw039.
  10. Yu, H. Y., Shen, J., & Xu, M. (2016). Resilient Parallel Similarity-Based Reasoning for Classifying Heterogeneous Medical Cases in MapReduce. Digital Communications & Networks, 2(3), 145-150.
  11. Deb, R., & Liew, W. C. (2016). Missing Value Imputation for the Analysis of Incomplete Traffic Accident Data. Information Sciences, 339.
  12. Zhao, L., Li, G., & Ma, X. (2006). Missing Data Completion Method Based on Support Vector Machine. Computer Engineering and Applications, 42(36).
  13. Zhang, C. (2013). An Algorithm for Missing Value Imputation Based on Support Vector Machine. Computer Applications and Software, 30(5).
  14. Greff, K., Srivastava, R. K., Koutnik, J., et al. (2016). LSTM: A Search Space Odyssey. IEEE Transactions on Neural Networks & Learning Systems, PP(99), 1-11.
  15. Ma, X., Tao, Z., Wang, Y., et al. (2015). Long Short-Term Memory Neural Network for Traffic Speed Prediction Using Remote Microwave Sensor Data. Transportation Research Part C: Emerging Technologies, 54, 187-197. https://doi.org/10.1016/j.trc.2015.03.014