Skip to main content

Time-Series Based Prediction of Air Quality Index Using Various Machine Learning Models

  • Conference paper
  • First Online:
Decision Intelligence Solutions (InCITe 2023)


Accurate prediction of the Air Quality Index (AQI) is of paramount importance as the negative health impact of poor air quality on humans has been widely established. The paper proposes an efficient model for AQI prediction based on the transformer algorithm. This model is compared with the widely used RNN-LSTM and regression model and outperforms both. Real-time data on pollutant concentration and meteorological data for the Anand Vihar, Delhi, India monitoring station from November 1, 2017, till August 6, 2022, has been used for analysis. From the data available for 11 pollutants, the AQI is determined as per the Central Pollution Control Board’s (CPCB’s) formula. The paper aims to predict the AQI along with the levels of PM2.5, CO, and PM10 pollutants. RMSE and MAE for PM2.5 evaluated using transformer are 17.74 and 11.15, respectively, best amongst all the models. Prior and accurate knowledge about Air Quality Index levels is directly relevant for policy-makers and the population at large so that the administrators may implement corrective measures. As the concept of smart cities is rapidly taking shape, the residents of such cities have the right to know about the air quality they are likely to breathe in the near future so that smart responses may be planned well in advance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others


  1. Janarthanan R, Partheeban P, Somasundaram K, Elamparithi PN (2021) A deep learning approach for prediction of air quality index in a metropolitan city. Sustain Cities Soc 67:102720

    Article  Google Scholar 

  2. Kang GK, Gao JZ, Chiao S, Lu S, Xie G (2018) Air quality prediction: big data and machine learning approaches. Int J Environ Sci Dev 9(1):8–16

    Article  Google Scholar 

  3. Maleki H, Sorooshian A, Goudarzi G, Baboli Z, Birgani YT, Rahmati M (2019) Air pollution prediction by using an artificial neural network model. Clean Technol Environ Policy 21:1341–1352

    Article  Google Scholar 

  4. Kelly JT et al (2019) A system for developing and projecting PM2.5 spatial fields to correspond to just meeting national ambient air quality standards. Atmos Environ 2:100019

    Google Scholar 

  5. Liu B et al (2019) A sequence-to-sequence air quality predictor based on the N-step recurrent prediction. IEEE Access 7:43331–43345

    Article  Google Scholar 

  6. Ma J, Ding Y, Cheng JCP, Jiang F, Gan VJL, Zherui X (2020) A lag-FLSTM deep learning network based on Bayesian optimisation for multi-sequential-variant PM2.5 prediction. Sustain Cities Soc 60:102237

    Google Scholar 

  7. Chaudhary V, Deshbhratar A, Kumar V, Paul D (2018) Time series based LSTM model to predict air Pollutant’s concentration for prominent cities in India. UDM

    Google Scholar 

  8. Krishan M, Jha S, Das J, Singh A, Goyal MK, Sekar C (2019) Air quality modelling using long short-term memory (LSTM) over NCT-Delhi, India. Air Qual Atmos Health 12(8):899–908

    Article  Google Scholar 

  9. Rao KS, Devi GL, Ramesh N (2019) Air Quality Prediction in Visakhapatnam with LSTM based Recurrent Neural Networks. Int J Intell Syst App 2:18–24

    Google Scholar 

  10. Shi J, Jain M, Narasimhan G (2022) Time series forecasting using various deep learning models. arXiv:2204.11115 [cs.LG]

Download references


The authors thank Dr. Geetika Jain Saxena, Associate Professor at the University of Delhi, for her valuable technical inputs.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Ishita Pundir .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pundir, I., Aggarwal, N., Singh, S. (2023). Time-Series Based Prediction of Air Quality Index Using Various Machine Learning Models. In: Hasteer, N., McLoone, S., Khari, M., Sharma, P. (eds) Decision Intelligence Solutions. InCITe 2023. Lecture Notes in Electrical Engineering, vol 1080. Springer, Singapore.

Download citation

Publish with us

Policies and ethics