Related Experiment Video
Updated: Nov 21, 2025

A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
A recurrent neural network using historical data to predict time series indoor PM2.5 concentrations for residential
Xilei Dai1, Junjie Liu1, Yongle Li2
1Tianjin Key Lab of Indoor Air Environmental Quality Control, School of Environmental Science and Engineering, Tianjin University, Tianjin, China.
Abstract:
Due to the severe outdoor PM2.5 pollution in China, many people have installed air-cleaning systems in homes. To make the systems run automatically and intelligently, we developed a recurrent neural network (RNN) that uses historical data to predict the future indoor PM2.5 concentration. The RNN architecture includes an autoencoder and a recurrent part. We used data measured in an apartment over the course of an entire year to train and test the RNN. The data include indoor/outdoor PM2.5 concentration, environmental parameters and time of day. By comparing three different input strategies, we found that a strategy employing historical PM2.5 and time of day as inputs performed best. With this strategy, the model can be applied to predict the relatively stable trend of indoor PM2.5 concentration in advance. When the input length is 2 h and the prediction horizon is 30 min, the median prediction error is 8.3 µg/m3 for the whole test set. For times with indoor PM2.5 concentrations between (20,50] µg/m3 and (50,100] µg/m3 , the median prediction error is 8.3 and 9.2 µg/m3 , respectively. The low prediction error between the ground-truth and predicted values shows that the RNN can predict indoor PM2.5 concentrations with satisfactory performance.
Related Concept Videos
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
