Next Article in Journal
A Multi-Modal Few-Shot Learning Framework for Foreign Object Segmentation in GIS Inspection
Previous Article in Journal
A High-Sensitivity Sweat Glucose Biosensor Enabled by an In Situ Grown NiFe PBA on Porous Pt/Ni/Au-SPE
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

Machine Learning Applications with Sensors for Indoor Air Quality Research

by
Cosmina-Mihaela Rosca
1 and
Adrian Stancu
2,*
1
Department of Automatic Control, Computers, and Electronics, Faculty of Mechanical and Electrical Engineering, Petroleum-Gas University of Ploiesti, 39 Bucharest Avenue, 100680 Ploiesti, Romania
2
Department of Business Administration, Faculty of Economic Sciences, Petroleum-Gas University of Ploiesti, 39 Bucharest Avenue, 100680 Ploiesti, Romania
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(9), 2909; https://doi.org/10.3390/s26092909
Submission received: 14 March 2026 / Revised: 3 May 2026 / Accepted: 4 May 2026 / Published: 6 May 2026
(This article belongs to the Special Issue Chemical Sensors for Air Pollutants: Where the Heck Are We!)

Abstract

Nowadays, people spend over 80% of their lives indoors, which makes indoor air quality (IAQ) research important. The paper presents, firstly, a structured overview of publicly available IAQ datasets suitable for machine learning (ML) research, secondly, a comparative analysis of the reviewed datasets, thirdly, an ML-oriented mapping between tasks and algorithms, to outline the algorithmic families that are most appropriate given the dataset structure and the prediction target, and fourthly, an investigation on IAQ–ML using custom-made solutions that include sensors for data acquisition. The methodology included an analysis of 1162 papers from the Web of Science, 1536 from Scopus, and 756 from IEEE Xplore, between 1 January 2020 and 31 December 2025, to capture recent trends in ML-based IAQ research. The findings show that linear regression (132 articles), Logistic regression (91), random forest—RF (77), Long Short-Term Memory—LSTM (77), Principal Component Analysis (63), and Elastic Net are the most popular among researchers. Most studies report accuracy over 90%, with maximum values of 99.37% for LSTM and 99.20% for RF. In the case of regression, the R2 values range between 82% and 98%, especially for CO2 and PM2.5 prediction. eXtreme Gradient Boosting or hybrid RF-LSTM architectures achieve R2 values of up to 99%. The IAQ public and private datasets analyzed for this study provide a strong foundation for transfer learning, but differences require careful preprocessing to ensure consistent comparisons and reliable conclusions. The distribution of articles by sensor type for IAQ parameters shows that linear regression remains the most widely used ML method (26 studies), followed by LSTM (19) and RF (18). The research results confirm that there is no universal algorithm for IAQ, and the quality and structure of the data contribute to the success of ML models. This study aims to be a foundation for the development of future intelligent IAQ monitoring systems.

1. Introduction

Indoor air quality (IAQ) has become a major public health and building-management concern due to the large fraction of time people spend indoors in homes, offices, classrooms, and public facilities (93% in the US [1]). Exposure to indoor pollutants, such as particulate matter (PM2.5 and PM10), carbon dioxide (CO2), carbon monoxide (CO), volatile organic compounds (VOCs), nitrogen dioxide (NO2), ozone (O3), as well as biological aerosol, has been associated with respiratory and cardiovascular effects, reduced cognitive performance, and aggravated symptoms for sensitive populations. Unlike outdoor pollution, indoor exposure is strongly shaped by building characteristics (e.g., ventilation type, filtration, and airtightness), occupant behavior (e.g., cooking, cleaning, and window opening), and microclimatic factors (e.g., temperature and relative humidity—RH). IAQ monitoring is a context-dependent problem that is analyzed using multi-sensor time series, heterogeneous variables, missing data, and non-stationary pollutant sources.
Traditionally, IAQ is approached on fixed thresholds, deterministic physical models, or rule-based ventilation control strategies. This approach struggles to capture nonlinear relationships between environmental variables and pollutant dynamics. In recent years, machine learning (ML) has emerged as a complement to traditional approaches by forecasting, regression, classification, anomaly detection, sensor calibration, and indoor air quality index (IAQI) estimation. ML models leverage correlations between low-cost sensor readings and reference measurements, learn temporal dependencies in pollutant evolution, provide real-time predictions, inform about threshold exceedances, and operate in the microclimate of the intelligent building control. For example, regression models estimate PM concentrations from proxy variables, classification models identify pollution events or ventilation states, and sequence models forecast short-term CO2 levels to proactively manage ventilation.
The first barrier of this approach is the availability and cost of reliable sensing infrastructure. High-quality sensors, particularly for PM size fractions, NO2, O3, or speciated VOCs, can be expensive, and their maintenance and calibration require additional resources. As a result, researchers and practitioners increasingly rely on publicly available datasets collected in research buildings, smart homes, laboratories, or through citizen-sensing campaigns. Public datasets accelerate experimentation and reproducibility, but they also vary substantially in sampling rate, duration, sensor types, labeling quality, ground truth availability, spatial granularity, and metadata completeness. This heterogeneity complicates the selection of appropriate ML methods and prevents straightforward comparison across studies.
The IAQ–ML literature spans diverse tasks (e.g., pollutant concentration prediction, IAQI estimation, event detection, occupancy inference, and sensor drift compensation). Each task has different evaluation metrics. The algorithm choice is often influenced by the dataset. Without a structured mapping between dataset characteristics, modeling tasks, algorithm performance, a unified formalism, and quality data in the training stage, it is difficult for new researchers to identify a suitable starting point or to design meaningful baselines.
Motivated by these limitations, and adding the fact of the practical difficulty of collecting IAQ data using costly sensors, this paper provides a review centered on public datasets and ML methods for IAQ modeling. The work aims to support reproducible and accessible research by clarifying what data resources are available and what types of ML algorithms are best suited to them. This paper, therefore, emphasizes the relationship between (i) pollutant/environmental variables typically present in public IAQ datasets, (ii) the modeling tasks they enable, and (iii) the ML families that have demonstrated strong performance under comparable conditions.
The aim of this review is to analyze IAQ in the ML context, with focus on datasets that include indoor pollutant measurements and associated environmental variables (e.g., temperature and RH), and, where available, contextual information such as occupancy indicators, ventilation status, building metadata, or outdoor reference measurements. The review addresses ML algorithms. While deep learning (DL), transfer learning, and hybrid modeling are included where relevant, this review prioritizes clarity and comparability across datasets, highlighting the practical constraints that arise when applying ML to real-world IAQ data.
This paper makes four main contributions to the IAQ–ML research domain:
  • A structured overview of publicly available IAQ datasets suitable for ML research, with emphasis on their applicability to common IAQ tasks. For each dataset, we summarize key properties such as measured pollutants, environmental variables, sampling frequency, duration, location or context, labeling or ground truth availability, and literature-reported data-quality issues.
  • A comparative analysis of the reviewed datasets, using a consistent set of criteria relevant to ML practice.
  • An ML-oriented mapping between tasks and algorithms, consolidating evidence on which algorithmic families (e.g., linear models, support vector machines (SVM), random forest (RF), Gradient Boosting (GB), recurrent/temporal neural networks, and probabilistic approaches) are most appropriate given the dataset structure and the prediction target. We discuss strengths and limitations with respect to nonlinearity, temporal dependency, interpretability, computational cost, and robustness.
  • An investigation on IAQ–ML using custom-made solutions that include sensors for data acquisition.
This paper is structured as follows. Section 2 covers core IAQ concepts and reviews commonly studied pollutants, sensing approaches, and IAQ indicators reported in prior work. Section 3 presents the methodology of the paper, which is organized around three main axes. Section 4 describes the ML survey through the literature on IAQ, and Section 5 introduces the public datasets for IAQ. Section 6 examines private datasets, and Section 7 explores ML models related to data acquisition from sensors. Discussion and conclusions are described in Section 8 and Section 9, respectively.

2. Core IAQ Concepts

IAQ refers to the quality of the air breathed by the occupants of a building throughout their stay inside. Air quality directly affects the health of people who work indoors. Technically, IAQ is determined based on the concentrations of pollutants, which can be physical, chemical, and biological in nature, along with microclimatic conditions represented by temperature and RH. These parameters directly affect the health and well-being of occupants inside buildings when their values exceed certain thresholds specific to each monitored parameter [2].
Over time, researchers have been concerned with monitoring these parameters, as well as the necessary intervention strategies when they exceed threshold values. Table 1 summarizes the parameters evaluated for calculating the IAQ, their threshold, and the need to monitor the indicators. The red color corresponds to gaseous indicators, green equals suspended particles, blue matches microclimatic parameters, and yellow indicates auxiliary parameters from certain research or datasets.
Beyond listing measurable parameters, IAQ must be identified as a dynamic process influenced by pollutant generation, pollutant removal, and the way occupants perceive and physiologically respond to indoor air conditions. In most buildings, pollutant levels are not constant [3]. The pollutants fluctuate with occupancy patterns, outdoor air conditions, ventilation schedules, cleaning activities, and intermittent sources such as cooking, printing, or the use of solvents. As a result, IAQ assessment should consider both instantaneous exceedances (short-term peaks) and longer-term averages, because health effects can be linked to acute exposures (e.g., irritation caused by VOC spikes) as well as chronic exposure (e.g., long-term particulate matter) [4].
Table 1. IAQ parameters utility and their threshold [5,6].
Table 1. IAQ parameters utility and their threshold [5,6].
ParameterUtilityThreshold
Carbon dioxide (CO2)Indicator of indoor ventilation~400–999 ppm
Carbon monoxide (CO)Toxic gas from combustion monitoring0–8.7 ppm
Volatile Organic Compounds (VOC)Indoor chemicals that cause irritation1–249 mg/m3
Nitrogen dioxide (NO2)Indicator of combustion and traffic-derived gases indoors<100 ppb
Ozone (O3)Identification of the reactive gas0–0.06 ppm
Particulate matter 1 (PM1)Ultrafine particles penetrate deep into the respiratory system0–34 μg/m3
Particulate matter 2.5 (PM2.5)Fine particles are responsible for respiratory and cardiovascular effects0–50 μg/m3
Particulate matter 10 (PM10)Larger particulates that affect general respiratory irritation0–75 μg/m3
TemperatureAffects occupant comfort~21–27 °C
Relative Humidity (RH)Influences thermal comfort and sensor accuracy for particulate measurement~40–60%
LightThe level of lighting inside the room300–500 lux
Formaldehyde (CH2O)Emission of household products0–0.1 ppm
Sulfur Dioxide (SO2)Indicator of combustion-related indoor pollution and irritation risk<75 ppb
Ammonia (NH3)Indicator of cleaning products, human activity, industrial sources, etc.<25 ppm
Threshold values refer to reference ranges for an indoor environment considered acceptable in terms of air quality. These values come from international guidelines and standards. These do not constitute universal threshold values, as the recommended values vary slightly depending on the context. The first context can be considered the type of building (residential, educational, and industrial). The second context relates to the target population (adults, children, and sensitive individuals suffering from various conditions). The primary sources for the thresholds used are: World Health Organization (WHO) for PM2.5, PM10, NO2, O3, and CO [7,8], the U.S. Environmental Protection Agency (EPA) for CO, O3, and PM [9], the European directives (Directive 2008/50/EC on ambient air quality and cleaner air for Europe) [10], and American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE) standards, i.e., ANSI/ASHRAE Standard 62.1-2025, Ventilation and Acceptable Indoor Air Quality and ANSI/ASHRAE Standard 62.2-2025 Ventilation and Acceptable Indoor Air Quality in Residential Buildings [11,12]. The value thresholds for CO2 (~400–999 ppm) have been identified in the specialized literature as indicators of ventilation considered adequate for a room. For this reason, the thresholds are suitable for toxic limits [13]. For parameters without international consensus (e.g., VOC and TVOC), the ranges indicate typical values reported in indoor monitoring studies [2,6]. The authors recommend consulting local guidelines for the operational application of these thresholds.
A useful conceptual separation is between sources, transport, and receptors. Sources include outdoor infiltration (traffic-related NO2, O2, and PM), indoor activities (cooking emissions, resuspension of settled dust, and smoking where applicable), building materials and furnishings (formaldehyde and other VOCs), and combustion appliances (CO and NO2). Transport is mainly governed by air exchange rates, airflow pathways, and mixing between zones. Finally, receptors are the occupants, whose susceptibility varies depending on age, pre-existing respiratory or cardiovascular conditions, and time spent indoors. This framework demonstrates why “good IAQ” cannot be reduced to a single sensor reading, and it depends on the context and exposure.
Ventilation is often the first-line control strategy and is closely linked to CO2 as a practical indicator of occupancy-related pollutant accumulation. However, CO2 itself is not the only concern. Rather, it signals whether the ventilation rate is adequate to dilute human bioeffluents and other co-emitted contaminants. Still, CO2-based approaches have limits: a room can have acceptable CO2 while experiencing elevated PM from cooking, or elevated VOCs from cleaning products [14].
Another core concept is the interaction between microclimate (temperature and RH) and pollutant behavior. RH influences the survival of certain microorganisms. At the same time, RH affects perceived comfort. Temperature impacts emission rates from materials (higher temperatures may increase VOC off-gassing) and changes how occupants experience air freshness and discomfort. Consequently, IAQ management typically integrates thermal comfort targets with air cleanliness targets rather than treating them separately. In practice, IAQ evaluation uses threshold values as operational guidance, but those thresholds should be interpreted carefully.

3. Methodology

The methodology is designed as a systematic analysis of the specialized literature. Analyses are also introduced for datasets that can be public or custom-made, based on specialized sensors for analyzing specific parameters. The analysis focuses on IAQ using ML methods. The necessity of this approach is justified from the perspective of correlating the characteristics of the available data with the types of modeling tasks in relation to the families of algorithms used in practice.
The selection of scientific papers was conducted within the Web of Science (WoS) platform and is justified by the platform’s rigorous nature in the fields of engineering, environmental science, applied computer science, and the technical domain as a whole. The searches were limited to the period between 1 January 2020 and 31 December 2025 to capture recent trends in ML-based IAQ research.
Wos, Scopus, and IEEE Xplore databases were explored during the search phase. The final analytical framework focuses on the WoS dataset. This decision is justified by the higher consistency of indexing, reduced duplication, stronger alignment with high-impact journals in engineering and environmental sciences, and a large number of papers with open-access facility. The WoS dataset provided a curated corpus to support trend analysis without introducing additional heterogeneity across databases. A first set of WoS queries included specific IAQ terms and the names of ML algorithms, following the pattern indicated in Figure 1. A total of 175 ML algorithms were searched in the WoS database with year and IAQ semantic scope constraints. For example, for the RF algorithm, the WoS query was TS = ((“indoor air quality” OR “iaq” OR “iaqi”) AND (“random forest” OR “RF”)) AND PY = (2020–2025).
The identified works were filtered, retaining only studies that explicitly apply ML methods to IAQ data. All articles were retained in the results, regardless of whether they are for prediction or classification, and regardless of the target variable.
The methodological analysis of the literature was organized around three main axes. The first axis concerns the type of modeling task. Thus, in the first stage, prediction articles that perform regression tasks, as well as classification articles, are analyzed. The quality of the results presented in these papers is evaluated using specific metrics. The second axis focuses on the datasets used by the family of ML algorithms employed. Thus, the issue of datasets arose. These can be public or custom-made, built with the help of sensors. To support researchers, this paper identifies public datasets that can be used in the evaluation of ML algorithms. Furthermore, the question arose of identifying sensors that can measure values of specific IAQ parameters. The third axis focuses on an analysis of all articles in the literature that identify the IAQ domain according to six of the most studied ML algorithms and that include the concept of “sensor” in their keywords as part of a custom-made data acquisition. These results are analyzed in detail through a critical analysis.
The process of selection and literature analysis followed a structure inspired by the PRISMA principles for identifying, selecting, and including studies [15], as shown in Figure 2.
The search strategy is based on systematic combinations of keywords that describe the field of IAQ and ML algorithms. The main terms used for IAQ were: “indoor air quality,” “iaq”, or “iaqi”. Multiple conditions generated based on main terms were combined using logical operators with the individual names of the ML algorithms. In total, 175 algorithms were considered. Each algorithm was queried individually in combination with the specific IAQ terms. The search was conducted in the WoS, Scopus, and IEEE Xplore databases. A total of 175 keyword combinations were executed independently in each database. The initial number of retrieved records was 1162 for WoS, 1536 for Scopus, and 756 for IEEE Xplore.
The screening and eligibility process followed the standard inclusion and exclusion criteria for PRISMA. Duplicate records generated by overlapping keyword combinations within the same database were identified and removed. After duplicate removal, the number of unique records was reduced to 800 for WoS, 996 for Scopus, and 451 for IEEE Xplore. After applying the exclusion criteria related to non-research articles, the number of records was reduced to 721 for WoS, 774 for Scopus, and 441 for IEEE Xplore.
The article selection process followed the PRISMA standard stages: identification of studies through keyword-based queries, removal of duplicates, screening stage based on title and abstract, eligibility assessment through full-text analysis, and final inclusion of studies deemed relevant to the field.
Additionally, an accessibility filter was applied by selecting only open-access publications to ensure a detailed analysis of articles. This resulted in a final set of 407 articles for WoS, 429 for Scopus, and 34 for IEEE Xplore.
For the set of criteria for classifying ML algorithms, we used a mutually exclusive classification scheme, where each algorithm is assigned to a single main category based on its fundamental nature, rather than its application domain. In this sense, the algorithms were divided into the following main categories: supervised learning, unsupervised learning, and deep learning. DL models (e.g., Convolutional Neural Networks—CNN and Recurrent Neural Networks—RNN, including Long Short-Term Memory—LSTM) have been treated as a distinct category and have not been included simultaneously in other categories, even if they are used for specific tasks such as time series prediction. This approach is justified by the attempt to avoid overlaps. Thus, the classification was not based on the type of problem (e.g., regression, classification, and time series analysis), but exclusively on the algorithmic architecture. Thus, models like LSTM were strictly categorized as deep learning, even though they are frequently used for time series modeling. This approach ensures the separation between categories and eliminates ambiguities resulting from multiple classifications of the same algorithm.
The selection of open-access publications (407 WoS articles, 429 Scopus, and 34 IEEE Xplore) introduces a selection bias. In the context of this analysis, the bias could affect the distribution of algorithms (e.g., the overrepresentation of popular methods in open science communities) or tasks (e.g., an emphasis on prediction over calibration), but the research trend of ML in relation to IAQ remains the same. The reason for focusing the analysis exclusively on WoS and open-access articles comes from the content analysis of the articles. The authors of the present article aimed to capture how researchers relate, firstly, to the issue of IAQ and, secondly, to a specific database.
The included studies were not formally weighted based on methodological quality or the validation strategy used. The objective of the analysis was to identify methodological trends and the distribution of algorithms in the field. For these reasons, the research does not conduct a quantitative meta-analysis. However, in interpreting the results, the size of the datasets, the type of validation (cross-validation, hold-out, and inter-seasonal test), the transparency of reporting indicators, and future trends were taken into account.

4. ML Survey Through the WoS Literature on IAQ

In indoor air quality research, modeling tasks tend to fall into several recurring categories: (i) exposure/health association and risk-factor analysis, (ii) sensor calibration and proxy estimation (e.g., estimating PM2.5 from low-cost sensors and CO2 as ventilation proxy), (iii) forecasting (short-term prediction of pollutant levels and IAQI), and (iv) source or feature extraction and dimensionality reduction. The algorithms with high WoS counts are generally those that map well onto these tasks while also being easy to justify to multidisciplinary audiences (engineering with public health and building science), and easy to implement with typical IAQ datasets (moderate sample sizes, multicollinearity, missingness, strong seasonality, and mixed physical or behavioral drivers).
The queries on the WoS database generated 1162 papers, and more than half (58.43%) have implemented ML algorithms from the supervised (regression/classification) category, followed by deep learning architectures (17.04%), and unsupervised (clustering/dimensionality reduction/density) (14.8%). Similar weights are among time series/sequential (3.36%), reinforcement learning (3.18%), and recommender systems/collaborative filtering (3.10%). Anomaly detection was used in the lowest proportion of 0.09%. The categories in Figure 3 are mutually exclusive, based on the algorithm’s architecture, not on the type of task. DL is treated as a distinct category to avoid double-counting of neural networks with multiple layers. Mapping algorithms in Figure 3 contain supervised models (Ordinary Least Squares—OLS, Logistic Regression—LR, RF, Elastic Net, SVM, k-Nearest Neighbor—kNN, DT—Decision Tree, eXtreme Gradient Boosting—XGBoost, etc.), DL models (LSTM, CNN, Multilayer Perceptron—MLP, RNN, Gated Recurrent Unit —GRU, etc.), unsupervised models (Principal Component Analysis—PCA, k-means, etc.), and time series models (Seasonal Autoregressive Integrated Moving Average—SARIMA, Error Trend Seasonal—ETS, etc.). The entire list of the investigated models is presented in the Supplementary Materials section (Investigated_models.xlsx).
Of the 175 ML algorithms, only 100 are used in indoor air quality research papers, and those implemented in more than 10 studies are highlighted in Figure 4. In cases where papers employed multiple algorithms, each algorithm was counted and reported separately to ensure an accurate picture of the results.
The dominance of OLS, also known as linear regression, generated 132 results. These values indicate that a large share of IAQ studies still prioritize interpretability, effect estimation, and hypothesis testing over pure predictive accuracy. This aligns strongly with typical IAQ questions, such as:
  • Quantifying the impact of ventilation rate, occupancy, temperature/RH, outdoor infiltration, and activities on indoor pollutant concentrations;
  • Estimating exposure–response relationships and reporting coefficients in physically interpretable units;
  • Building baseline models for calibration or benchmarking.
The relatively high presence of Elastic Net (51 articles) is also revealing. IAQ datasets often include correlated predictors (e.g., temperature, RH, heating, ventilation, and air conditioning (HVAC) state, occupancy proxies, outdoor PM, and window opening), and Elastic Net directly addresses multicollinearity while performing embedded feature selection. Its prominence suggests the community is frequently dealing with “wide” covariate sets (sensor arrays, building metadata, contextual weather variables, etc.) where a plain OLS specification becomes unstable or difficult to interpret.
The strong count for LR (91 articles) points to the popularity of classification framing in IAQ for predicting whether a space is in a “good vs. poor IAQ” state, whether pollutant thresholds are exceeded, whether ventilation is adequate, or whether an intervention is needed. This also corresponds to a practical reality because many IAQ outputs are naturally discretized into categories (e.g., acceptable/unacceptable, risk/no-risk, comfort complaint yes/no, etc.) or threshold-based events (e.g., PM2.5 > guideline). LR remains attractive because it offers interpretable odds ratios, straightforward handling of mixed categorical/continuous inputs, and regulatory or guideline-aligned “decision” outputs.
The appearance of RF (77 articles) and GB (32 articles) indicates that many IAQ studies have moved beyond linearity to capture nonlinear relationships (e.g., RH effects on particle sensors, ventilation dynamics, occasional events like cooking, etc.), interactions (occupancy and ventilation, outdoor pollution and infiltration, and HVAC mode and season) and robustness to missingness/noisy features common in Internet of Things (IoT) deployments. RF’s higher count relative to generic GB likely reflects ease-of-use and “default” adoption. RF is frequently used as a strong reference with minimal tuning, and it handles mixed feature types well. GB models are also common but are sometimes reported using library-specific names (e.g., XGBoost, LightGBM, CatBoost, etc.), which can fragment counts across queries—meaning the 32 for generic boosting likely underestimates boosting’s total footprint.
That LSTM equals RF (77 articles) is a strong indicator that sequence modeling/forecasting is an important IAQ trend in 2020–2025. IAQ time series are characterized by strong temporal autocorrelation and daily/weekly cycles, abrupt activity-driven spikes (cooking, cleaning, occupancy changes, etc.), and lagged relationships (CO2 accumulation, delayed decay, HVAC response, etc.). LSTMs are commonly selected because they explicitly model temporal dependencies and can be presented as a “forecasting engine” for short-term prediction of PM2.5, CO2, VOC proxies, or IAQI.
The presence of CNN (35 articles) suggests a second deep learning pathway by using convolutions to learn patterns in either (i) time series windows (one-dimensional Convolutional Neural Network—1D CNN) or (ii) transformed representations (spectrogram-like encodings, multivariate matrices, etc.). CNNs often serve as efficient feature extractors for high-frequency sensor streams and components in hybrid CNN-LSTM pipelines used for forecasting and event detection.
LSTM/CNN counts show that the field increasingly treats IAQ as a dynamic signal-processing problem (forecasting, early warning, event detection, etc.) rather than only a static regression problem. However, the fact that these deep models do not overwhelmingly exceed classical methods also suggests practical constraints, for instance, limited labeled data, site-specific generalization issues, and the ongoing need for interpretability in building operation contexts.
The high count for PCA (63 articles) reflects two persistent IAQ needs handling multivariate sensor sets (multiple pollutants and environmental variables) by compressing information into a few latent components and source/process interpretation, where principal components are used as proxies for shared drivers (e.g., “occupancy/ventilation component”, “outdoor infiltration component”, “combustion event component”, etc.). PCA is also commonly used in preprocessing for subsequent regression or classification, for denoising, and for visualization/cluster exploration. Its prominence indicates that many IAQ datasets are inherently multicollinear and multi-sensor, and that researchers value low-dimensional representations that can be inspected and explained.
The SVM (36 articles) count suggests that SVMs continue to be used for IAQ classification/regression problems where datasets are not huge (SVMs remain competitive in small-to-medium sample settings), decision boundaries are expected to be nonlinear (kernel SVM), and there is emphasis on robust separation between “acceptable vs. unacceptable” conditions.
It must be noted that SVM (generic) appears while SVC and some specialized variants show zero in the query set. This is because authors often write “SVM” without specifying the exact scikit-learn class name or formal variant.
Taken together, the algorithms exceeding 30 records form three complementary methodological “centers of gravity” in IAQ:
  • Inference-first, interpretable modeling (OLS, Logistic, Elastic Net, etc.) indicates continued emphasis on understanding drivers of indoor pollution and producing results that can be communicated as effects, risks, and actionable factors;
  • Robust nonlinear prediction on heterogeneous data (RF, GB, SVM, etc.) replicates the practical reality of IoT-based IAQ (noisy sensors, missing data, nonlinearity, and site-specific interactions);
  • Time-aware deep learning (LSTM and CNN) reflects growth in forecasting, early warning, and control-oriented applications (predictive ventilation and smart building operation), where temporal structure is central.
PCA sits somewhat orthogonally but remains highly prevalent because it supports both interpretability (latent drivers) and predictive pipelines (compression/denoising).
Finally, these WoS counts should not be read as a ranking of the best algorithms for IAQ. They are more accurately interpreted as a combined measure of:
  • Method popularity and accessibility;
  • Fit to common IAQ problem formulations (threshold classification, multivariate regression, short-term forecasting, etc.);
  • Disciplinary conventions (public health and building science favor interpretable regressions, etc.);
  • Keyword and reporting practices, because some methods appear under many names, whereas others are used but not explicitly labeled.
To ensure objective benchmarking and reproducibility, we complement the IAQ measurements with openly publicly available datasets that provide multi-sensor time series across diverse buildings, climates, and occupancy patterns, enabling model training and fair comparisons.
Classification and regression are two components of ML. Classification categorizes the value of the output variable into a category from a predefined set of categories. Classification performance is measured by accuracy. This is defined as the percentage of correct predictions [16].
Regression, on the other hand, predicts continuous values, and its quality is evaluated with R2. This metric represents a coefficient of determination that evaluates how much of the data variation is explained by the model. R2 = 1 means a perfect prediction. An R2 value of 0 or a negative value indicates a model that does not perform well in applications.
Table 2 shows the accuracy (from 85–yellow to 99.37–dark green) reported in several scientific papers, correlated with the research objective and the ML algorithm type employed. When a paper reported multiple accuracy values, the highest value was chosen. Most studies evaluating IAQ using classification or regression report accuracies over 90%, with peaks of 99.37% (IAQ classification with LSTM [17]) and 99.20% (ventilation prediction with RF [18]). Hybrid models (LSTM/SARIMA—95% [19]) or meta-learning-based models (94.93% for PM10 [20]) highlight the possibility of combining models to improve performance. Classic ensemble algorithms (RF and XGBoost) generate good performance in most domains, a fact that is also confirmed in the case of IAQ (91–95% [21,22]). The lowest values appear in complex contexts: radon (85% [23]), due to spatial heterogeneity, or bioaerosols (90% [24]).
Out of the total evaluated articles, the studies that reported explicit numerical accuracy, an R2 of over 70%, were retained. The authors imposed this threshold value because it is associated with a minimum level of predictive performance. Values below this level are considered models with predictive deficiencies, and it is not recommended to integrate them into real applications for monitoring indoor air quality.
Studies show that regression models in IAQ parameter prediction have good computational capacity for the target variable value, as demonstrated by R2. As can be seen in Table 3, the prediction of CO2, PM2.5, or other IAQ parameters reports R2 values between 72.2–dark blue and 98.9–dark red. When a paper reported multiple R2 values, the highest value was chosen. The best performance (98.90%) comes from a hybrid model based on XGBoost [28]. LSTM or RF-LSTM architectures achieve over 98% accuracy in CO2 prediction [29]. RF-based models stand out for their R2 values, which range between 83% and 95%. Lower values (72–73%) appear in contexts with noisy data. An example of this is the estimation of aerosol emissions [30,31].
In classification, besides accuracy, other performance metrics such as precision, recall, and F1-score are also used. Precision shows the proportion of correct positive predictions, recall measures how well all positive instances are identified, and the F1-score is their harmonic mean.
Other metrics for regression are mean absolute error (MAE) and root mean squared error (RMSE). MAE measures the average error in the same unit as the target. RMSE penalizes errors. The choice of the appropriate metric depends on the context: in IAQ applications, for example, RMSE is the benchmark if large errors have an impact on health [44]. On the other hand, the F1-score is mandatory in situations where the rare detection of critical pollution states is required. Mean absolute percentage error (MAPE) is a metric used in regression to evaluate the accuracy of predictions expressed as a percentage. Overall, the results confirm that under controlled conditions, ML classification and regression provide predictions for IAQ that can be used in practice.

5. IAQ Public Datasets

This section reviews representative public IAQ datasets, outlining their sensor modalities (e.g., CO2, PM2.5, VOCs, temperature, RH, etc.), sampling rates, and labeling strategies, and discusses how they can be harmonized into ML tasks.
1. Indoor Air Quality Dataset with Activities of Daily Living in Low to Middle-income Communities (DALTON dataset) is a public IAQ dataset [45,46]. It contains a large-scale IAQ dataset covering 30 unique indoor sites across low to middle-income communities in India with annotated human activity [47]. The parameters included are pollutants (CO2, VOC, PM1, PM2.5, PM10, NO2, C2H5OH—ethanol, and CO), environmental measurements (temperature and RH), and activity annotations (daily activities collected via speech-to-text). The dataset size contains approximately 89.1 million samples, 13,646 h of recorded data, and 3900 activity annotations.
Multi-site real sensor data from multiple indoor environments corresponds to households, classrooms, labs, food canteens, and annotated human behavior tags. Across the IAQ experiments, the strongest results are achieved by tree-based methods and kNN, with very high weighted F1-score, precision, recall, and strong cross-validation stability. The weaker family is Naive Bayes, the linear models, and the SVMs sit in the middle.
The DT corresponds to the top scores with the following results: (i) train (weighted), where F1-score, precision, and recall have the values at 99.2%; (ii) test (weighted), where F1-score, precision, and recall obtained the values of 97.6%. This is the best-performing model family mentioned in a paper [48].
Similar results are obtained for RF, with best test performance reported at 98.8% for F1-score, precision, and recall in the training stage and 97.7% for F1-score, precision, and recall in the testing stage [48]. RF is tied with the best models on the test set. It also typically generalizes more than a single DT, even if here the single tree is marginally higher.
The kNN (k = 10) algorithm is near the top and very consistent with train metrics at 98.1% and test metrics at 97.5%. The k = 10 provides the best kNN configuration. As k increases (20 to 40), performance gradually drops, suggesting that too much smoothing hurts class separation.
2. Indoor Air Pollutants Using Low-Cost Sensors [49] is a public dataset. The low-cost IoT system [50] is an extended version of the first. The datasets represent indoor pollutant measurements collected over multiple seasons in Pune, India, using low-cost air quality IoT sensors.
Parameters included for the first dataset are pollutants (PM2.5, NO2, NH3, CO, and O3) and environmental measurements (temperature, RH, and pressure). The dataset contains approximately 173,468 records from November 2020 to July 2022. The dataset was analyzed by Singh et al. [51], where it was reported as having missing pollutants with high impact on IAQ. The authors also reported missing values with high impact on ML models.
However, Ali et al. [52] analyzed the [49] dataset. The main contribution is combining sequence models (a Hybrid LSTM-GRU) with Liquid Neural Networks (LiquidAdaptedNet) and then optimizing and refining the liquid architecture using swarm intelligence and evolutionary refinement. The authors [52] report that the evolutionary-refined (swarm-optimized) LiquidAdaptedNet achieves the best headline regression metrics, RMSE of 6.52, MAE of 6.27, R2 of 97.63%, and MAPE of 1.41. These values indicate high predictive accuracy. A major practical result is that the proposed framework provides accurate forecasts for three key indoor pollutants: NO2 up to 99.97% (forecast performance, depending on operating conditions), PM2.5 up to 98.67%, and CO up to 94.47%. Performance is extremely strong for NO2 and PM2.5, and still high for CO (but comparatively lower), suggesting CO dynamics might be harder to capture (e.g., different emission patterns, sensor noise, or more abrupt changes, etc.). The dataset [50] was also analyzed by Sonawani and Patil [53]. The conclusion of the research mentions a 55.42% RMSE score for prediction.
3. IoT Indoor Air Quality Dataset [54] is mentioned as a real-time IAQ dataset collected with multiple IoT sensors under controlled indoor conditions. Parameters included are pollutants (PM2.5, PM10, CO2, TVOC, and CO) and environmental measurements (temperature, RH, light intensity, motion detection, the number of occupants, and ventilation status).
According to the authors’ statements, the dataset contains real-time data collected from an IoT sensor network deployed in a residential environment, specifically inside an apartment, and the data was collected between 18 February 2024 and 22 January 2025, totaling 97,458 records. This is a temporal analysis of IAQ at the residential level. According to the authors’ statement, the dataset was constructed using sensors installed at a height of approximately 1.5 m to simulate the position of the human respiratory zone. To minimize external interference, the sensors were placed far from open windows, exhaust fans, air conditioning units, or ventilation elements. The dataset includes variations in air quality associated with household activities such as cooking, vacuuming, etc., changes in occupancy levels, ventilation status, or other parameters specific to indoor activities that cause changes in temperature, RH, and light levels [54]. However, the dataset is mentioned in the literature only once [55], and it was not included in ML tests.
4. GAMS Indoor Air Quality Dataset [56] is publicly available and contains synchronized indoor and outdoor air quality measurements collected by the GAMS monitoring ecosystem. Indoor data is recorded using a GAMS Indoor Air Quality Monitor, while outdoor air quality data is retrieved via the GAMS Outdoor Air Quality API. The dataset is designed for real-time and historical assessment of indoor–outdoor pollution relationships. Parameters included are pollutants (PM2.5, PM10, CO2, and VOC) and environmental measurements (temperature and RH).
The dataset is time-series-based and typically grows continuously depending on monitoring duration and sampling frequency. The dataset contains, on 7 January 2026, a total of 135,100 records. The dataset was identified as being analyzed in the papers [57,58]. This study [57] investigates how ML and DL methods predict indoor CO2 concentration. Using the GAMS dataset, the authors modeled CO2 levels. The inputs are PM10, PM2.5, temperature, RH, and VOCs. All models were evaluated under the same experimental protocol, 5-fold cross-validation with an 80% training and 20% testing split. A broad set of predictive approaches was tested. Traditional ML models included Decision Tree Regression (DTR), RF, kNN, SVR, and Gradient Boosting Regression (GBR). At the same time, several DL architectures were examined, such as LSTM, CNN, GRU, Bi-LSTM, hybrid variants like RF-LSTM and CNN-LSTM, and an additional DL approach referred to as DAQFF. This diverse benchmarking framework allowed this study to assess both conventional tabular-learning techniques and sequence-focused neural models suited for time series behavior. The comparative results highlight GBR as the best performer for predicting indoor CO2 concentration. GBR achieved the following error values: MAE of 0.00200, RMSE of 0.00353, Median Absolute Error of 0.00086, and an R2 value close to 1, indicating a near-perfect fit on the evaluated data. Among deep learning methods, LSTM also demonstrated high performance, reaching an MAE of 0.001661, which reinforces its well-known strength for time series prediction where temporal dependencies matter. Overall, the findings highlight that both boosting-based ML and recurrent DL models can provide highly accurate CO2 forecasts, offering practical value for monitoring and managing indoor environments, particularly in contexts associated with “sick building” concerns.
5. This dataset [59] provides aggregated daily indoor and outdoor environmental variables measured at three school sites in Milan (Italy) between November 2023 and June 2024, in settings where professional air purifiers were installed in some monitored indoor environments. Indoor measurements come from multiple low-cost sensors and were aggregated to a single daily value per site. Outdoor pollution indicators were derived from the European Environment Agency (EEA) monitoring network by selecting the two closest background stations to each school and applying inverse distance weighting (IDW) to obtain representative daily values.
The dataset contains 627 records, which is not suitable for ML techniques. The parameters are pollutants (PM2.5, PM10, CO, and CO2), outdoor pollutants EEA-derived and IDW from nearest stations (PM2.5 and O3), and environmental measurements (temperature, RH, and indoor atmospheric pressure). There are no scientific papers in the ML area.
6. The dataset available at source [60] and described by [61] contains multi-sensor, time-resolved indoor environmental measurements collected in classrooms from schools and universities over several months. It is designed to support research on indoor air dynamics, ventilation effectiveness, and the impact of sensor placement on measurement reliability (especially for CO2). The dataset contains 11,086 records. Parameters include pollutants (PM1, PM2.5, PM10, CO2, and VOC) and environmental measurements (air temperature, RH, dew point, globe temperature, air pressure, air velocity, occupancy, activity, and ventilation). The dataset is not involved in ML tests on 7 January 2026.
For public datasets, information on the proportion of missing values and any sensor calibration methods was included where available. Additionally, the sources of access to the datasets were indicated to facilitate their use by other researchers. In situations where this information was not explicitly reported in the analyzed papers, the corresponding fields were marked as “Not reported” to avoid introducing unjustified assumptions.
Table 4 presents the synthesis of the analyzed datasets, summarizing the parameters and dataset volumes.
The analysis of structural characteristics delineates the following use cases:
  • DALTON is used for studies of the association between human activities and pollutant dynamics, due to its large volume (~89 M records), generous number of features, diversity of locations, and verbal labels (speech-to-text). The authors of this article do not recommend using this dataset for analysis that requires internal–external synchronization.
  • GAMS analyzes the correspondence between indoor and outdoor pollution for the validation of infiltration or ventilation models. This dataset stands out from the others because it is the only one that synchronizes indoor–outdoor measurements through a dedicated API.
  • Low-cost IoT is used for seasonal studies, calibration of low-cost sensors, evaluation of imputation algorithms, and multi-year coverage. A drawback of this dataset concerns the need for preprocessing missing values.
  • IoT indoor air quality is suitable for short-term modeling of discrete events (cooking, ventilation, and occupant variations) in controlled environments, with high temporal resolution but limited collection duration.
  • School IAQ Milan and Multi-Sensor Classroom evaluate the ventilation capacity within classrooms, the impact of air purifiers, multiparameter analysis, and sensor positioning (especially CO2). A major disadvantage of this dataset arises from its small size, making it inadequate for ML/DL architecture and more suitable for linear models or conceptual validations.
The choice of the dataset must reflect the temporal granularity, the availability of contextual variables through occupancy, ventilation, external references, and the presence of labels. The improper use of these resources generates generalization errors. Another consequence is the limitation of model transferability between different buildings.
Overall, public IAQ datasets offer a strong foundation for validation and transfer learning, but differences in sensors, calibration, metadata quality, and ground-truth definitions require careful preprocessing and transparent reporting to ensure meaningful cross-study comparisons and reliable conclusions [62].

6. IAQ Private Datasets

Most IAQ research between 2020 and 2025 relies on custom, sensor-based experimental setups rather than a single standardized monitoring configuration. Authors typically design their own multi-sensor nodes by combining low-cost sensors with a small number of higher-accuracy references. This is reflected by the diversity of sensing principles used for different pollutants and by the uneven publication counts across parameters. Researchers focus strongly on “core IAQ” variables (PM, VOCs, CO2, temperature, and RH) and far less on auxiliary context variables (pressure and illuminance) or on specific gases with more challenging sensing (NH3, C2H5OH, and NO2).
Next is an overview of which sensors are commonly used for each parameter, and a commentary on the search query result counts (TS… AND PY = 2020–2025). CO2 uses the Non-Dispersive InfraRed (NDIR) sensor typically. CO2 absorbs infrared radiation at specific wavelengths, allowing selective measurement with good stability and relatively low cross-sensitivity compared to many chemiresistive approaches. The query TS = ((“indoor air quality” OR “iaq” OR “iaqi”) AND (“CO2” OR “Carbon dioxide”) AND (“NDIR” OR “Non-Dispersive InfraRed” OR “CO2 sensor*”)) AND PY = (2020–2025) generates 71 articles. CO2 is widely monitored indoors because it is a strong indicator of ventilation adequacy and occupancy-related emissions. However, CO2 monitoring is often “embedded” in broader IAQ studies that may not explicitly highlight NDIR in titles, abstracts, or keywords.
VOC or total volatile organic compound (TVOC) uses metal oxide semiconductor (MOS) chemiresistive gas sensors, usually reported as VOC or TVOC rather than individual VOC species. Metal-oxide (MOx) sensors are low-cost, compact, with reduced dimensions, and easy to integrate into IoT nodes. They respond to many oxidizing gases. This relatively high count (33 articles) matches the popularity of VOC sensing in IAQ. Many studies use TVOC as a general proxy for indoor chemical pollution. The literature often addresses drift, cross-sensitivity to RH or temperature, and calibration strategies (e.g., ML compensation). The count is still below PM studies because VOC sensing is messier, that is, the signal is less interpretable and more dependent on the environment and mixture composition.
Particulate matter (PM1/PM2.5/PM10) is measured using optical particle counters (OPC) based on laser or light scattering. Optical scattering sensors provide real-time particle concentration estimates at low cost and are widely deployed in indoor monitoring and smart building applications. A total of 52 papers mentioned the use of such a sensor. This value is consistent with the strong research focus on PM2.5 and health impacts.
NO2 is measured using electrochemical or MOx sensors. Electrochemical sensors are generally used for NO2 measurements. MOx sensors respond to NO2 but are often more susceptible to interference from other oxidizing or reducing species and to environmental influences such as temperature and RH. The relatively small corpus (9 articles) indicates that NO2 is less commonly emphasized in “general” IAQ research. This may reflect the fact that indoor NO2 levels are often highly context-dependent (associated, for example, with combustion sources such as gas cookers or with infiltration from nearby traffic) rather than being a ubiquitous IAQ parameter across building types. In addition, achieving robust low-cost NO2 measurements remains technically challenging due to calibration requirements, cross-sensitivities, baseline drift, and long-term stability concerns. Consequently, many studies may address NO2 primarily within the framework of outdoor air pollution ingress and exposure, rather than as a central variable in mainstream IAQ sensing.
C2H5OH uses MOx chemiresistive sensors (often the same class used for VOC detection). C2H5OH is a calibration or test gas for MOx sensors and an indoor compound (cleaning agents and disinfectants). Very low results (3 articles) are expected because C2H5OH is rarely monitored as a standalone IAQ target. It is more often discussed as a contributor to TVOC or as an interferent or benchmark gas during sensor characterization.
CO involves electrochemical amperometric CO sensors. Many IAQ studies include CO only incidentally, focusing instead on CO2, PM, VOC, and thermal comfort. The query’s explicit (3 articles) emphasis on electrochemical terms may also filter out papers that do not specify the sensor type.
Temperature uses thermistors, resistance temperature detectors (RTDs), or integrated micro-electro-mechanical systems (MEMS) temperature sensors (often on combined T/RH chips). Temperature is easy to measure accurately with low-cost electronics, and it helps interpret other sensors (VOC/PM responses) for comfort metrics. High counts (27 articles) make sense because temperature is nearly always included as a contextual variable in IAQ nodes and is frequently mentioned explicitly. Temperature is also a key variable for compensating gas-sensor drift and RH interactions.
Humidity or RH (capacitive/resistive/MEMS sensors) generates 16 results. Capacitive humidity sensing is stable, low-power, low-cost, and widely available in integrated modules. Humidity appears frequently, but possibly less than temperature, because many papers treat RH as a secondary parameter unless they focus on mold risk, perceived comfort, or sensor compensation. Also, RH measurement is often bundled with temperature on a single chip, which may reduce the need for explicit keyword emphasis.
NH3 was studied in only 7 records. The monitored IAQ parameter is NH3 concentration, measured using electrochemical NH3 sensors and MOx or MOS chemiresistive gas sensors (ammonia sensors).
Pressure, or barometric pressure or air pressure, is measured with a barometric sensor or MEMS pressure sensor (barometer). However, no records were found for this query.
The light intensity is measured with a photodiode-based light sensor, photoresistor, or ambient light sensor. Again, no records were found for this query.
The monitored IAQ-relevant parameter associated with the occupant presence or motion (as a proxy for ventilation demand and pollutant generation) is measured primarily using passive infrared (PIR) sensors. Only two articles were identified in the WoS query search.
The occupancy level (number of people in the room) is measured using computer-vision approaches (camera and deep learning techniques) and PIR sensors, ultrasonic sensors, or sensor-fusion combinations integrating multiple modalities for occupant counting.
These results show the preference for certain parameters, such as PM, VOC/TVOC, and thermal variables, followed by CO2 and occupancy-related methods. Some of the parameters (NO2, NH3, C2H5OH, and CO) indirectly contribute to the IAQ calculation. The specialized literature provides a relatively limited detailed description of the infrastructure used in air quality studies.

7. IAQ–ML Approach with Sensors

Search results investigating IAQ using custom-made solutions that include sensors for data acquisition are discussed. The methodological trends in sensor-based IAQ research between 2020 and 2025 are illustrated in Figure 5. Linear regression remains at the top of the most used ML option (26 studies). In contrast, LR is surprisingly rarely used (only 3 studies). This result is justified by the fact that IAQ often involves continuous predictions (e.g., concentrations), not binary classifications. Modern models dominate through RF (18 studies) and LSTM (19 studies). The low value presence of PCA (4 studies) suggests that dimensionality reduction is used selectively in preprocessing. Elastic Net appears in 6 studies. As a consequence, there is a shift from simple linear models toward complex architectures (RF and LSTM), without completely abandoning classical approaches. This methodological diversity highlights the maturity of the IAQ field in integrating sensors with ML.
Across 2020–2025, the retrieved IAQ literature is dominated by IoT sensing and ML, most frequently LSTM variants for short-horizon forecasting, plus tree ensembles (RF/XGBoost) for prediction under event-driven dynamics, and PCA for sensor or feature validation. The studies differ in the target variable because some forecast pollutant concentrations (CO2, PM2.5, and VOCs), others predict an index (IAQI) or even occupant dissatisfaction (Percentage Dissatisfied—PD%), and several focus on sensor calibration or anomaly detection.
A common thread is the creation of low-cost monitoring systems and the attempt to replace expensive reference instruments with either improved hardware plus ML, or virtual sensing from building management system (BMS) data. For example, an IoT CO2 monitoring platform uses Message Queuing Telemetry Transport (MQTT) streaming and an LSTM to predict future CO2, enabling proactive ventilation. It reports the CO2 steady-state computed in advance with ~5.5% error [63]. Similarly, a classroom-oriented low-cost NDIR system optimized an LSTM architecture (two layers, 128 neurons, 10-lag window) and achieved RMSE ≈ 57 ppm for an 8-h CO2 forecast [64]. Several works extend beyond single-room demonstrations into long-term deployments, capturing seasonality. In a hospital setting with nearly one year of IoT data, clustering outputs were fed into an LSTM to improve prediction. The key numerical result is a large reduction in PM2.5 RMSE from 8.51 to 3.99 when cluster labels or features were included [65]. This suggests that unsupervised structure helps the temporal model separate dynamics that would otherwise appear noisy. A similar hybridization idea appears in smart-village monitoring, where k-means is used to cluster IAQ states, and a Markov-based model predicts state transitions. The optimal number of Markov states differed by building type (e.g., 3 states for schools versus 5 for supermarkets), and the paper reports example state values such as polluting gas 862.6 ppm, temperature 28.66 °C, and light 70.05 lux for a supermarket condition [66].
Another direction is virtual sensing, where models infer pollutant levels without a dedicated pollutant sensor. An LSTM trained on multi-year data predicted indoor CO2, PM2.5, and VOC from BMS variables plus outdoor meteorology or pollution, achieving in-room test performance of MAE 15.4 ppm (CO2), 0.3 µg/m3 (PM2.5), 20.1 IAQI (VOC), and R2 = 0.47 (CO2), 0.88 (PM2.5), 0.87 (VOC). Transfer to other rooms remained acceptable for CO2 (MAE of 21.9 ppm and R2 of 0.45) but degraded sharply for PM2.5 and VOC (R2 of 0.09 and 0.13) [67]. Some studies prioritize sensor calibration rather than direct IAQ forecasting. In Korean daycare centers, an LSTM-based calibration model for low-cost PM2.5 sensors (using temperature–humidity as predictors) reached R2 of 0.962, MAE of 2.7, and reported error terms, including RMSE of 3.57 (and a mean squared error—MSE—reported as 12.745) at an optimal lookback of 76 [33]. Importantly, it substantially outperformed linear baselines (R2 of 0.57 for linear regression and 0.75 for multiple linear regression) [33], supporting the notion that low-cost optical PM sensors’ nonlinear dependence on RH and other factors can be learned effectively by sequence models. In residential monitoring, the key empirical insight is that short peaks matter even if 24-h means look safe. A dataset from three domestic micro-environments (kitchen/living room/bedroom) captured peaks such as bedroom CO2 > 2800 ppm and PM spikes during cooking [68]. For occupant-centric outcomes, one school IAQ study predicts perceived PD% from sensor data plus weather or building parameters and 1437 surveys. RF was best, reaching R2 up to 0.91 for overall dissatisfaction and outperforming multilinear regression and DTs [38]. SHapley Additive exPlanations (SHAP) prioritized CO2 levels, VOCs, RH, temperature, solar radiation, and window orientation [38], quantitatively backing the multi-factor nature of perceived comfort. In a different cross-zone apartment problem, kitchen sensors were used to predict living-room conditions via multiple-input multiple-output models. Surprisingly, linear methods performed best, achieving R2 of 0.94 (temperature), 0.94 (RH), 0.63 (CO2), 0.84–0.92 (TVOC), with low errors for temperature (MAPE of 1.57%) and RH (MAPE of 2.97%) but high error for CO2 (MAPE of 20.83%) [35]. This numeric pattern is plausible because temperatures are more spatially coupled across zones, while CO2 depends on localized occupancy and air exchange, making it harder to infer from a different room.
A few works emphasize chemical specificity and feature engineering rather than classical IAQ targets. Using low-cost VOC sensors plus ML, one office testbed trained RF/SVM/XGBoost to detect terpene presence and identity. The performance was very high, with 97–100% accuracy for any terpene versus background, ~100% for plants vs. background, and up to 96% for discriminating individual terpene compounds [25]. Living-plant experiments observed stress-induced bursts of ~70–100 ppb [25], illustrating that ML extracts compound-aware signals from commodity TVOC hardware when paired with time series features.
Traffic-related air pollution in a Riyadh school was studied using PCA and correlation analysis. Indoor PM2.5/PM10 averages were 14.09 and 18.15 µg/m3 vs. outdoor 20.63 and 27.88 µg/m3, with strong indoor–outdoor coupling (Spearman 0.81–0.94). Indoor NO2 was higher (43.36 ppb) than outdoor (38.66 ppb) [69], indicating indoor sources or ventilation inadequacy. PCA ranked PM as the dominant contributor [69]. Likewise, an electro-optical e-nose used PCA for separability and PLS regression for concentration prediction, and by adding NDIR to MOx sensors, reduced RMSE dramatically [70]. The paper by González et al. [70] is a quantitative argument for multi-sensor fusion in low-cost IAQ instrumentation.
Several contributions broaden the systems perspective. An indoor IAQI forecasting system in Mexico City compared 133 deep models and found LSTM best, achieving MSE of 0.0179 and MAE of 0.1038 for IAQI forecasting using indoor sensor and outdoor pollution and weather, with approximately 5 months of history sufficient and relatively small networks (~50k parameters) adequate [71]. A smart-building platform combined SARIMA and LSTM for energy forecasting (and IAQ control context), reporting MSE of ~0.01 for energy predictions [72], reinforcing the coupling between IAQ control strategies and energy management.
Across the 2020–2025 IAQ sensor literature, the dominant uses of data-driven models are (i) forecasting IAQ variables, (ii) calibrating low-cost sensors vs. references, and (iii) inferring latent drivers such as occupancy/exposure.
For time series prediction, an edge-based bi-directional LSTM predicts CO2, PM2.5, and TVOC from a 14-sensor indoor system, reporting “high performance” but without numeric metrics in the abstract [73]. A second IoT study compares LSTM, SARIMA, and linear regression to forecast IAQL and gas levels 7 days ahead, using 90 days of history. It states an accuracy over 95% for each parameter (O3, PM, CO, CO2, TVOC, and temperature/RH) but does not specify RMSE/MAE [19]. For near-future pollution or biological particles, an LSTM estimates real-time and less than 60 min ahead concentrations of bioaerosols plus PM2.5/PM10 in an office and mall. Reported prediction accuracy is approximately 60–80% for bioaerosols and 90% for PM on test/time series sets [24].
For occupancy inference and IAQ management, RF and ANN map CO2 and ventilation operation to occupant count, achieving accuracies of 0.9102 (RF) and 0.9180 (ANN). Adding differential pressure reduced accuracy to 0.8916–0.8936 [21]. In public transport, classification or regression-style ML (LR, DT, RF, and XGBoost) predicts conditions tied to occupancy. XGBoost reached 91.25% accuracy for corridor data (CO2/PM) [27].
A large share addresses low-cost sensor calibration with linear or ensemble models. Linear calibration yields R2 > 0.8 with low errors, and Kalman filtering denoises O3 [74]. Calibration comparisons report CO at R2 of 0.918 (MLR), 0.912 (RF), and 0.924 (ANN), and NO2 at R2 of 0.890 (MLR), 0.697 (RF), and 0.809 (ANN) [36]. A Plantower PMS5003 evaluation shows calibration improvements in RMSE (up to 64%), mean normalized bias (MNB) up to 70%, and coefficient of variation (CV) over 50% across log-linear, non-log-linear, and RF [75]. Consumer sensor validation finds PM2.5 at R2 of 0.79, RMSE of 5.8 µg/m3, ρ of 0.69, limits of agreement width 30.1 µg/m3, and improved performance when averaging 5–30 min intervals [76]. Methodologically, formaldehyde calibration highlights that OLS is invalid under autocorrelation [77]. Optimized Gaussian Process Regression predicts indoor CO2 with R2 of 0.98874, RMSE of 4.20068 ppm, MAE of 3.35098 ppm, Nash–Sutcliffe of 0.9817, a20-index of 1 using real-time office features (occupants, area/person, outdoor temperature and wind, RH, and AQI) [78].
The accuracy analyzed in Table 5 comes from empirical ML validations from studies and not from manufacturer datasheets.
Improvements for reducing RMSE by up to 64% for PM sensors show post-calibration performance [75]. Temperature and RH are sources of errors for MOS and optical sensors [33,76].
Benchmarking studies indicate that LSTM achieves lower RMSE errors than RF for time series with long-term dependencies [79]. For example, Jarif et al. [80] report an RMSE of 3.699 for LSTM compared to 5.323 for RF for PM2.5 prediction on an hourly dataset from East Asia.
In the context of the present work, the objective was not to re-benchmark the algorithms, but to evaluate their suitability to the specific characteristics of public datasets. A complete ablation analysis on all dataset–algorithm combinations exceeds the scope of this synthesis study.
The correlation between the uncertainty profile of the sensors and the selection of algorithms is supported by recent ML-based calibration studies, as shown in Table 6. High-noise sensors are characterized by RF-specific decision aggregation, XGBoost, or LSTM-type temporal modeling. Calibrated sensors use linear or physical–statistical models.
Table 6 presents the sensor–algorithm correlation discussion to cite empirical studies that validate the mapping between sensor uncertainty profiles and the algorithm. The cited literature provides the evidence base for our selection guidelines.
A detailed and reference description for the present work is represented by the technical report of the European Commission [84]. The European Union Air Quality Directive indicates that measurement uncertainty should be the main indicator used for data evaluation. This paper analyzes the performance of low-cost sensors for air quality monitoring, comparing over 1400 laboratory and field tests. It evaluates accuracy, calibration, data transparency, sensor quality, and costs. For this reason, the authors of this paper recommend consulting the work [84] for specific details on outdoor air quality. The sensors used in evaluating outdoor air quality can also be integrated into the context of IAQ.

8. Discussion

The synthesis of the search results on the WoS platform shows the convergence between the evolution of ML models and the specifics of the IAQ issue. A quantitative literature analysis based on WoS queries for the period 2020-2025 presents a picture of the methodological interpretations of the performance reported in these works and the constraints imposed by the available data and sensors that enable data acquisition. This section will discuss the results obtained in this analysis.
The initial WoS analysis indicates six model families that excel at identifying IAQ. For linear regression, 132 articles were obtained, for LR 91, RF 77, LSTM 77, PCA 63, and Elastic Net 51. These values do not highlight the performance of the models, but their popularity among researchers. The large number of works on the linear model indicates that researchers prefer the model due to its simplicity of implementation and understanding. Linear regression estimates the direct effect of ventilation, occupancy, temperature, and RH on CO2, PM2.5, VOC concentrations, or other parameters involved in IAQ. Elastic Net is also a linear model, but it achieved 51 results. Multicollinearity within this model arises from multiple sensors acquiring variables that need to be correlated. In the case of this model, the values show that the IAQ datasets are wide with numerous redundant variables, and regularization becomes necessary for the stability of these models. LR guides IAQ applications toward classification. Essentially, applications integrated using the LR model indicate the acceptable or unacceptable state of the IAQ indicator, exceeding the threshold, the need for intervention, and the need for ventilation. RF and LSTM provided 77 articles, marking the transition toward the field of nonlinear and temporal models. RF is preferred because it is not sensitive to noise present in the data or to missing data resulting from sensor failure, battery discharge of the data acquisition equipment, power interruption, or other unforeseen incidents. LSTMs offer good results due to their ability to model repetitive daily cycles, sudden variations in pollutants, or other such specific IAQ behaviors. PCA offers 63 results. This is not a predictive model in itself, but rather a dimensionality reduction tool. It is usually integrated in combination with other methods, which is why it has yielded a large number of scientific papers on the WoS platform.
The performance value analysis is reported in terms of accuracy or R2. For IAQ classification tasks, most studies report accuracy over 90%, with maximum values of 99.37% for LSTM and 99.20% for RF. It should be mentioned that these values are obtained in rooms where the context is perfectly controlled. These values were obtained because the data were well-structured, processed, and labeled, allowing the models to separate the IAQ states. In the case of regression, the R2 values range between 82% and 98%, especially for CO2 and PM2.5 prediction. XGBoost models or hybrid RF-LSTM architectures achieve R2 values of up to 99%, which means a perfect fit on the test data. The authors of this paper recommend interpreting these performance indicators with caution, as they can sometimes come from intra-dataset evaluations, meaning the testing does not generalize to seasonal situations.
The analyzed public datasets vary in size, as well as in the number of parameters analyzed. The DALTON dataset contains approximately 89 million samples. Thanks to its large volume of recordings, it offers the possibility to explore multiple ML models, from the simplest to the most complex. Processing this dataset comes with the disadvantage of requiring a hardware-software infrastructure that allows the models to train on such a large volume of data. At the opposite end are datasets that aggregate records daily and are insufficient for sophisticated models, as is the case with DL models. The GAMS IAQ dataset contains 135,100 records, and the residential IoT sets have approximately 97,000 records. These are located in a compromise area regarding ML models.
The IAQ datasets used in this study exhibit variations in sampling frequency, types of sensors, missing values, and different calibrations. All these different characteristics derive from the research objectives for which these data were collected. Therefore, the diversity of collection protocols in the specialized literature makes the post-hoc recalibration of raw data a convoluted process, difficult to achieve for a direct comparative analysis between the quality of data sets. For these reasons, the authors of this article highlight the general objective of the dataset to guide readers in choosing a specific dataset for their research. The objective of the comparative analysis is not to assess the quality of these datasets, but to choose them based on the type of research conducted. A direct analysis based on a pipeline is impossible due to the lack of access to co-localized reference tools. A proposal for such a pipeline would involve the following steps:
  • All series must be summarized to 5-min intervals using the arithmetic mean to standardize the resolution of the analysis;
  • Eliminate values outside the plausible physical range (e.g., CO2: 350–5000 ppm; PM2.5: 0–500 µg/m3), according to EPA guidelines for low-cost sensors [85];
  • Segments with >30% missing data in a 1-h window should be excluded;
  • Gaps <5% can be treated through linear interpolation, a threshold justified by recent studies on imputation in IAQ data.
These conceptual pipeline stages are specific to any preliminary processing performed on a dataset and do not represent a unified calibration protocol that guarantees absolute comparability between studies.
Since there is no universal algorithm for IAQ, the authors of this article propose a selection guide based on two dimensions that correspond to the authors’ area of expertise:
  • Data size and granularity:
  • For fewer than 10,000 records (e.g., School IAQ Milan and mono situ studies), linear models, RF, or GB are recommended. The authors recommend these models because they do not have a tendency to overfit.
  • For a volume of 10,000–100,000 records (e.g., GAMS and IoT Residential), RF, XGBoost, and LSTM with 1–2 layer architectures are recommended because inter-seasonal validation is mandatory to evaluate generalization.
  • For a number of over 100,000 records (e.g., DALTON), LSTM/GRU, CNN-1D, or hybrid architectures (RF-LSTM) are recommended as they can exploit long-term dependencies and reduce RMSE compared to static models.
2.
Type of pollutant and dynamic behavior:
  • CO2 has a slow dynamics, so linear models or RF are suitable for short-term prediction.
  • PM2.5 or PM10 have high variability and dependence on RH/T, which is why RF or GB are recommended to compensate for the nonlinearities of low-cost sensors. LSTM is preferable when modeling seasonality or episodic events such as cooking or cleaning.
  • VOC/TVOC fits with decision aggregation algorithms (RF and XGBoost) or LSTM with extended input windows (≥60 min) for noise filtering.
  • Pollutants with episodic emissions (NO2 and CO) correlate with sequential models (LSTM/GRU) because they capture the delayed relationships between sources and concentrations.
This selection guide is summarized in Figure 6.
This guide does not replace empirical validation. It represents a reproducible starting point for model selection. The authors’ proposal in Figure 6 reduces the risk of over- or under-training based on the specific constraints of the study. The framework prioritizes dataset size and pollutant dynamics as primary selection criteria. Secondary constraints (real-time deployment and interpretability requirements) may further refine the choice.
The distribution of articles for the types of sensors associated with IAQ parameters highlighted a very low number of articles. Therefore, the variations between 0 and 71 articles, representing a maximum number of results and corresponding to sensors that measure CO2, indicate the need for a larger volume of articles that investigate and discuss the hardware–software infrastructures related to the integration of these sensors for IAQ parameter acquisition. Restricting the analysis by combining ML models for sensors and IAQ context reduced the number of results to 26 for linear regression, 18 for RF, and 19 for LSTM. LR was reduced to only three studies. These results show that raw sensor data is predominantly used for regression and not for binary classification. From this analysis, the following ideas emerge:
  • There is no universally optimal model for IAQ prediction, and the choice depends on the purpose, data, context, and constraints.
  • Nonlinear and temporal models have superior performance, but the costs and complexity of training for generalization are also higher than those of linear models.
  • The quality, volume, structure, and acquisition method of datasets are the most important elements in the performance of ML algorithms.
  • The sensors used dictate the modeling problem, not the other way around.
This analysis is limited by the quality of reporting in the literature. The number of WoS articles reflects the low number of studies on the axes analyzed in this article. Therefore, future directions should include the development of standardized datasets spanning a large number of days, cross-site evaluation, the integration of physical methods with ML, the use of transfer learning, and the expansion of studies to less analyzed pollutants. Additionally, the authors of this paper also recommend reporting errors for ML models and their impact on health.
The selection of the model in IAQ studies is determined by methodological trade-offs between interpretability, the ability to capture nonlinearities, temporal dependence, processing time, integration difficulties, and data requirements. The main characteristics identified in the literature are:
  • • Linear regression distinguishes itself from other models in the context of IAQ through the simplicity of training, integration, interpretation, and estimation of the effects of environmental variables. A drawback of the model is that it cannot model nonlinear relationships or complex interactions, limiting it to contexts with simple dynamics or baseline establishment.
  • • Elastic Net solves the problem of multicollinearity in multi-sensor datasets and performs automatic variable selection. The disadvantage of these models is the need to adjust the regularization penalties.
  • • Logistic regression classifies IAQ states, such as labeling air quality as acceptable or unacceptable. The model’s performance decreases in the case of imbalanced distributions.
  • • RF and GB handle nonlinear relationships, noisy data, incomplete information, and inexplicable variations, and perform minimal preprocessing. These models are advantageous in practical situations that go beyond the barriers of theoretical study. The disadvantage of these models comes from the reduced transparency of the coefficients, which are approximated by various auxiliary algorithms. Another disadvantage arises from the predisposition to overfitting without inter-seasonal or cross-site validation.
  • • LSTM and DL architectures explicitly model temporal dependencies and daily cycles, being superior in short-term prediction. The disadvantage of these models arises from the need for large volumes of labeled data and, consequently, greater computational resources compared to training other models. Equally, these models have difficulties generalizing in untrained contexts.
  • • SVM is used for small to medium-sized datasets with nonlinear decision boundaries. And in the case of these models, the training cost increases with the volume of data.
  • • PCA is not a predictive model, but a dimensionality reduction and latent factor extraction tool. This is useful in preprocessing and denoising. The disadvantage of these models arises from the fact that information compression limits the physical interpretation of individual variables.
From the analysis conducted by the authors of this article, as well as from their experience in ML, there is no universally optimal algorithm for IAQ. The choice must be aligned with the modeling purpose, the structure of the dataset, the temporal granularity, the implementation constraints, and the context of its applicability.
The research findings indicate that ML provides analytical tools for IAQ, but success depends on careful alignment between data, models, purpose, and context. The analysis is aimed at researchers, engineers in the fields of structures, environment, software, IT professionals, AI-based content developers, decision-makers, and students, as it is necessary to clarify the current state of the field and guide future development in an informed manner.
The systematic search covered the WoS, Scopus, and IEEE Xplore databases for a quantitative analysis. Subsequently, for the methodological synthesis, the searches were narrowed to the WoS corpus to ensure a detailed analysis of the identified material’s content. This selection may exclude relevant studies published in journals indexed exclusively in Scopus or IEEE, but our article distinguishes itself from others in the literature through the analysis of the material’s content. The authors acknowledge a limitation introduced by restricting the content analysis to the WoS platform. This limitation is countered by the evaluated datasets (public and private), which predominantly originate from controlled or semi-controlled environments (offices, schools, residences, and nurseries) and are no longer dependent on the WoS platform. Ultimately, the performance of ML algorithms is excessively dependent on the quality, granularity, configuration, acquisition method, and preprocessing of the data. Based on the metric values reported in research articles, original contributions (R2 > 90%, accuracy > 90%) often reflect intra-dataset evaluations under stabilized conditions. Consequently, they do not guarantee that the models will perform equally well in cross-site scenarios, with noisy data, or with unlabeled sensor drift. Therefore, the direct comparability of the models is considered by the authors a limitation in the absence of standardized validation protocols and multi-site reference datasets. This shortcoming should be seen as a future research direction for those who will generate scientific materials in the field of IAQ.

9. Conclusions

The main objective of this literature review on IAQ is to identify ML algorithms that have been successfully used in prediction, regression, time series analysis, or other elements that would allow for their integration into everyday applications.
A primary result obtained in this research concerns researchers’ preference for linear models. For these reasons, OLS models, LR, and Elastic Net have generated a consistent volume of articles in the specialized literature. This is explained by the simplicity of understanding the algorithm, which allows the authors to make informed decisions. Because IAQ is a nonlinear process, the use of these models is limited. The reason IAQ is a nonlinear process is that complex interactions generated by episodic events such as cooking, cleaning, sudden changes in occupancy, variations in ventilation rate, and variations in outdoor air quality directly influence the value of IAQ. This behavior cannot be captured using linear models, which makes them incomplete. DT-based models like RF or XGB should be considered the best models analyzed in the current literature for applied IAQ research. These models report good performance for the regression of CO2, PM2.5, VOC concentrations, or classifications of IAQ states.
Another major contribution of this research is treating IAQ as a temporal process rather than a static problem. Specific time series models like LSTM, GRU, and CNN predict short-term pollutant concentrations or the IAQ index. The performance reported by these models confirms that architecture based on temporal dependencies, daily cycles, the inertia of ventilation systems, or other episodic elements directly influences the evolution of IAQ. The limitations of these models concern the need for large volumes of data, which also require accurate labeling. These are not always available in real-world contexts. This is where the need to investigate the datasets used in the literature also stems from.
A second drawback identified in the literature concerns the fact that some research reports very good results from analyzing a single room, which makes the model useless when applied in a different IAQ context. Datasets were identified as public or custom-made when acquired using proprietary sensors. The best dataset, named DALTON, was identified in the public datasets category. This includes data from multiple rooms and from various types of relationships formed by different human activities. Additionally, the other identified datasets are poorly inspected in the specialized literature. Consequently, it is recommended to investigate the possibility of training ML models using both public data and custom-made data, meaning data actually acquired through sensors.
The discussion regarding the metrics used shows a trend toward reporting accuracy and the R2 coefficient for evaluating algorithm performance. Most articles report exceptional values regarding the classification or approximation of the IAQ indicator value or other parameters involved in the process.
The results discussed in this research show that there is no universal algorithm optimized for IAQ. The method should be based on the application’s purpose, the variable to be predicted, the data structure, application-specific constraints, and data acquisition constraints.
The methodological directions identified in this article dedicated to IAQ can be extended to the field of ambient air quality. Both in indoor and outdoor environments, researchers face similar challenges in the context of ML. These are represented by the large volumes of data coming from sensor networks, the integration of multiple variables, handling missing values, calibrating low-cost sensors, detecting anomalies, and making short- or medium-term forecasts. From this perspective, the RF, XGBoost, LSTM, CNN, or hybrid models analyzed in this paper can be successfully adapted for monitoring outdoor atmospheric pollutants such as PM2.5, PM10, NO2, O3, or CO. However, the application of these methods in the outdoor environment also involves additional complexity, determined by the pronounced influence of weather conditions, spatial variability, hazard events, geographical specificity, and the regional transport of pollutants. For example, factors such as wind speed and direction, temperature, humidity, solar radiation, or local topography modify the dynamics of atmospheric pollutants and require the integration of additional variables into predictive models. Consequently, the experience accumulated in the field of IAQ represents a scientific starting point for the development of intelligent systems for monitoring and predicting ambient air quality.
The future directions recommended by the authors for investigation focus on the development of standardized datasets spanning several years, with high granularity, multiple room types, and a variety of activities carried out by occupants within these rooms. Additionally, the authors of this paper suggest that future research should expand the set of parameters, including both pollutant-type parameters and environmental measurements, to as many as possible.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/s26092909/s1, Investigated_models.xlsx.

Author Contributions

Conceptualization, C.-M.R.; methodology, C.-M.R. and A.S.; software, C.-M.R. and A.S.; validation, C.-M.R. and A.S.; formal analysis, C.-M.R. and A.S.; investigation, C.-M.R. and A.S.; resources, C.-M.R. and A.S.; data curation, C.-M.R. and A.S.; writing—original draft preparation, C.-M.R. and A.S.; writing—review and editing, C.-M.R. and A.S.; visualization C.-M.R. and A.S.; supervision, C.-M.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
1D CNNOne-Dimensional Convolutional Neural Network
AEAutoencoder
ANNArtificial Neural Network
ASHRAEAmerican Society of Heating, Refrigerating and Air-Conditioning Engineers
BMSBuilding Management System
C2H5OHEthanol
CARTClassification and Regression Tree
CCNCausal Convolution Network
CH2OFormaldehyde
CNNConvolutional Neural Network
COCarbon Monoxide
CO2Carbon Dioxide
CVCoefficient of Variation
DALTONIndoor Air Quality Dataset with Activities of Daily Living in Low to Middle-income Communities
DLDeep Learning
DNNDense Neural Network
DTDecision Tree
DTRDecision Tree Regression
EEAEuropean Environment Agency
EPAU.S. Environmental Protection Agency
ETSError Trend Seasonal
GBGradient Boosting
GBDTGradient Boosting Decision Tree
GBMGradient Boosting Machine
GBRGradient Boosting Regression
GPRGaussian Process Regression
GRUGated Recurrent Unit
HACHierarchical Clustering
HVACHeating, Ventilation, and Air Conditioning
IAQIndoor Air Quality
IAQIIndoor Air Quality Index
IDWInverse Distance Weighting
IoTInternet of Things
kNNk-Nearest Neighbor
LiquidAdaptedNetLiquid Neural Networks
LRLogistic Regression
LSTMLong Short-Term Memory
MAEMean Absolute Error
MAPEMean Absolute Percentage Error
MEMSIntegrated Micro-Electro-Mechanical Systems
MLMachine Learning
MLPMultilayer Perceptron
MLRMultiple Linear Regression
MNBMean Normalized Bias
MOSMetal Oxide Semiconductor
MOxMetal-Oxide
MQTTMessage Queuing Telemetry Transport
MSEMean Squared Error
NDIRNon-Dispersive InfraRed
NH3Ammonia
NNNeural Network
NO2Nitrogen Dioxide
O3Ozone
OLSOrdinary Least Squares
OPCOptical Particle Counters
PCAPrincipal Component Analysis
PCRPrincipal Components Regression
PDPercentage Dissatisfied
PDEPartial Differential Equations
PLSPartial Least Squares
PMParticulate Matter
RFRandom Forest
RFRRandom Forest Regression
RHRelative Humidity
RMSERoot Mean Squared Error
RNNRecurrent Neural Network
RTDResistance Temperature Detector
SARIMASeasonal Autoregressive Integrated Moving Average
SHAPSHapley Additive exPlanations
SO2Sulfur Dioxide
STSpatial-Temporal
STLSeasonal and Trend Decomposition using Loess
SVMSupport Vector Machine
SVRSupport Vector Regression
TPETree-Structured Parzen Estimator
TVOCTotal Volatile Organic Compound
VOCVolatile Organic Compound
WHOWorld Health Organization
WoSWeb of Science
XGBoosteXtreme Gradient Boosting

References

  1. Klepeis, N.E.; Nelson, W.C.; Ott, W.R.; Robinson, J.P.; Tsang, A.M.; Switzer, P.; Behar, J.V.; Hern, S.C.; Engelmann, W.H. The National Human Activity Pattern Survey (NHAPS): A resource for assessing exposure to environmental pollutants. J. Expo. Sci. Environ. Epidemiol. 2001, 11, 231–252. [Google Scholar] [CrossRef]
  2. Saini, J.; Dutta, M.; Marques, G. A comprehensive review on indoor air quality monitoring systems for enhanced public health. Sustain. Environ. Res. 2020, 30, 6. [Google Scholar] [CrossRef]
  3. Machado, C.; Davim, J.P. Green Production Engineering and Management; Woodhead Publishing: Duxford, UK, 2022. [Google Scholar] [CrossRef]
  4. López-Malest, A.; Gabor, M.R.; Panait, M.; Brezoi, A.; Veres, C. Green Innovation for Carbon Footprint Reduction in Construction Industry. Buildings 2024, 14, 374. [Google Scholar] [CrossRef]
  5. Saini, J.; Dutta, M.; Marques, G. Indoor Air Quality Monitoring Systems Based on Internet of Things: A Systematic Review. Int. J. Environ. Res. Public Health 2020, 17, 4942. [Google Scholar] [CrossRef]
  6. Marques, G.; Saini, J.; Dutta, M.; Singh, P.K.; Hong, W.-C. Indoor Air Quality Monitoring Systems for Enhanced Living Environments: A Review toward Sustainable Smart Cities. Sustainability 2020, 12, 4024. [Google Scholar] [CrossRef]
  7. World Health Organization. WHO Guidelines for Indoor Air Quality: Selected Pollutants; World Health Organization: Copenhagen, Denmark, 2010; Available online: https://iris.who.int/server/api/core/bitstreams/202feb0d-06e8-418d-8e38-8927ec2d166b/content (accessed on 4 April 2026).
  8. World Health Organization. WHO Global Air Quality Guidelines. Particulate Matter (PM2.5 and PM10), Ozone, Nitrogen Dioxide, Sulfur Dioxide and Carbon Monoxide; World Health Organization: Geneva, Switzerland, 2021; Available online: https://iris.who.int/server/api/core/bitstreams/551b515e-2a32-4e1a-a58c-cdaecd395b19/content (accessed on 4 April 2026).
  9. U.S. Environmental Protection Agency. NAAQS Table. Available online: https://www.epa.gov/criteria-air-pollutants/naaqs-table (accessed on 4 April 2026).
  10. European Parliament; European Council. Directive 2008/50/EC of the European Parliament and of the Council of 21 May 2008 on Ambient Air Quality and Cleaner Air for Europe. 2015. Available online: http://data.europa.eu/eli/dir/2008/50/2015-09-18 (accessed on 4 April 2026).
  11. ANSI/ASHRAE Standard 62.1-2025; Ventilation and Acceptable Indoor Air Quality. American Society of Heating Refrigerating and Air-Conditioning Engineers: Peachtree Corners, GA, USA, 2025. Available online: https://store.accuristech.com/standards/ashrae-62-1-2025?product_id=3037167# (accessed on 4 April 2026).
  12. ANSI/ASHRAE Standard 62.2-2025; Ventilation and Acceptable Indoor Air Quality in Residential Buildings. American Society of Heating Refrigerating and Air-Conditioning Engineers: Peachtree Corners, GA, USA, 2025. Available online: https://store.accuristech.com/standards/ashrae-62-2-2025?product_id=3021595 (accessed on 4 April 2026).
  13. Persily, A.; De Jonge, L. Carbon dioxide generation rates for building occupants. Indoor Air 2017, 27, 868–879. [Google Scholar] [CrossRef] [PubMed]
  14. Daga, S.; Yadav, K.; Singh, P.; Yadav, B. Navigating Towards a Greener Tomorrow: The Imperative of Sustainable Tourism in the Era of Global Climate Change. In The Need for Sustainable Tourism in an Era of Global Climate Change: Pathway to a Greener Future; Singh, P., Daga, S., Yadav, K., Jain, A., Eds.; Emerald Publishing Limited: Leeds, UK, 2024; pp. 1–12. [Google Scholar] [CrossRef]
  15. Tricco, A.C.; Lillie, E.; Zarin, W.; O’Brien, K.K.; Colquhoun, H.; Levac, D.; Moher, D.; Peters, M.D.J.; Horsley, T.; Weeks, L.; et al. PRISMA Extension for Scoping Reviews (PRISMA-ScR): Checklist and Explanation. Ann. Intern. Med. 2018, 169, 467–473. [Google Scholar] [CrossRef]
  16. Rosca, C.-M.; Stancu, A. A Comprehensive Review of Machine Learning Models for Optimizing Wind Power Processes. Appl. Sci. 2025, 15, 3758. [Google Scholar] [CrossRef]
  17. Mumtaz, R.; Zaidi, S.M.H.; Shakir, M.Z.; Shafi, U.; Malik, M.M.; Haque, A.; Mumtaz, S.; Zaidi, S.A.R. Internet of Things (IoT) Based Indoor Air Quality Sensing and Predictive Analytic—A COVID-19 Perspective. Electronics 2021, 10, 184. [Google Scholar] [CrossRef]
  18. Zhang, C.; Sun, H. Analysis and Modeling of Mechanical Ventilation Operation Behaviors of Occupants in Cold Regions of North China. Appl. Sci. 2022, 12, 5143. [Google Scholar] [CrossRef]
  19. Talati, I.; Shah, K.; Patel, O.; Tanna, J.; Jain, A.; Oza, A.D.; Yadav, A.A.; Alshayeb, M.J.; Khan, M.A.; Islam, S. Study of AQI Monitoring System of Indoor Environment Using Machine Learning Model and IoT Device. Rocz. Ochr. Sr. 2025, 27, 152–163. [Google Scholar] [CrossRef]
  20. Yin, H.; Jin, D.; Hong, H.; Moon, J.; Gu, Y.H. IAQ-STL-ML: A novel indoor air quality prediction pipeline using meta-learning framework with STL decomposition. Environ. Technol. Innov. 2025, 38, 104107. [Google Scholar] [CrossRef]
  21. Kim, J.; Bang, J.; Choi, A.; Moon, H.J.; Sung, M. Estimation of Occupancy Using IoT Sensors and a Carbon Dioxide-Based Machine Learning Model with Ventilation System and Differential Pressure Data. Sensors 2023, 23, 585. [Google Scholar] [CrossRef]
  22. Banihashemi, F.; Weber, M.; Deghim, F.; Zong, C.; Lang, W. Occupancy modeling on non-intrusive indoor environmental data through machine learning. Build. Environ. 2024, 254, 111382. [Google Scholar] [CrossRef]
  23. Lee, S.; Widya, L.K.; Lee, J.; Lee, J.; Park, B.R.; Yoo, J.; Lee, W. Deep learning-enhanced geospatial modeling for indoor radon mapping in Jeollabuk-do, South Korea. Geomat. Nat. Hazards Risk 2025, 16, 2537871. [Google Scholar] [CrossRef]
  24. Lee, J.Y.Y.; Miao, Y.; Chau, R.L.T.; Hernandez, M.; Lee, P.K.H. Artificial intelligence-based prediction of indoor bioaerosol concentrations from indoor air quality sensor data. Environ. Int. 2023, 174, 107900. [Google Scholar] [CrossRef] [PubMed]
  25. Nabaei, S.H.; Lenfant, R.; Rajan, V.G.; Chen, D.; Timko, M.P.; Campbell, B.; Heydarian, A. Detecting Plant VOCs With Indoor Air Quality Sensors. Indoor Air 2025, 2025, 7134467. [Google Scholar] [CrossRef]
  26. Godasiaei, S.H.; Ejohwomu, O.A.; Zhong, H.; Booker, D. Integrating experimental analysis and machine learning for enhancing energy efficiency and indoor air quality in educational buildings. Build. Environ. 2025, 276, 112874. [Google Scholar] [CrossRef]
  27. Tasmurzayev, N.; Amangeldy, B.; Smagulova, G.; Baigarayeva, Z.; Imash, A. A Low-Cost IoT Sensor and Preliminary Machine-Learning Feasibility Study for Monitoring In-Cabin Air Quality: A Pilot Case from Almaty. Sensors 2025, 25, 4521. [Google Scholar] [CrossRef] [PubMed]
  28. Dosumu, A.; Godasiaei, S.H.; Ejohwomu, O.A.; Mohandes, S.R. Generative physics-informed machine learning for modeling indoor air quality and its impact on student health and performance. J. Environ. Manag. 2025, 395, 127676. [Google Scholar] [CrossRef]
  29. Dai, Z.; Yuan, Y.; Zhu, X.; Zhao, L. A Method for Predicting Indoor CO2 Concentration in University Classrooms: An RF-TPE-LSTM Approach. Appl. Sci. 2024, 14, 6188. [Google Scholar] [CrossRef]
  30. Shi, Y.; Du, Z.; Zhang, J.; Han, F.; Chen, F.; Wang, D.; Liu, M.; Zhang, H.; Dong, C.; Sui, S. Construction and evaluation of hourly average indoor PM2.5 concentration prediction models based on multiple types of places. Front. Public Health 2023, 11, 1213453. [Google Scholar] [CrossRef]
  31. Chhaglani, B.; Zakaria, C.; Peltier, R.; Gummeson, J.; Shenoy, P. AeroSense: Sensing Aerosol Emissions from Indoor Human Activities. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol. 2024, 8, 1–30. [Google Scholar] [CrossRef]
  32. Taştan, M. Machine Learning–Based Calibration and Performance Evaluation of Low-Cost Internet of Things Air Quality Sensors. Sensors 2025, 25, 3183. [Google Scholar] [CrossRef]
  33. Jeon, H.; Ryu, J.; Kim, K.M.; An, J. The Development of a Low-Cost Particulate Matter 2.5 Sensor Calibration Model in Daycare Centers Using Long Short-Term Memory Algorithms. Atmosphere 2023, 14, 1228. [Google Scholar] [CrossRef]
  34. Dehghan, F.; Amores, C.P.; Khanmohammadi, L.; Labib, R. Evaluating Machine Learning Models for Sustainable Building Design: Energy, Emissions, and Comfort Metrics. Build. Environ. 2025, 285, 113582. [Google Scholar] [CrossRef]
  35. Maciejewska, M.; Azizah, A.; Szczurek, A. IAQ Prediction in Apartments Using Machine Learning Techniques and Sensor Data. Appl. Sci. 2024, 14, 4249. [Google Scholar] [CrossRef]
  36. Suriano, D.; Penza, M. Assessment of the Performance of a Low-Cost Air Quality Monitor in an Indoor Environment through Different Calibration Models. Atmosphere 2022, 13, 567. [Google Scholar] [CrossRef]
  37. Liu, X.; Zhao, J.; Lin, S.; Li, J.; Wang, S.; Zhang, Y.; Gao, Y.; Chai, J. Fine-Grained Individual Air Quality Index (IAQI) Prediction Based on Spatial-Temporal Causal Convolution Network: A Case Study of Shanghai. Atmosphere 2022, 13, 959. [Google Scholar] [CrossRef]
  38. Alam, A.G.; Bartonova, A.; Høiskar, B.A.K.; Fredriksen, M.F.; Sharma, J.; Mathisen, H.M.; Yang, Z.; Gustavsen, K.; Hart, K.; Fredriksen, T.; et al. Predicting the student’s perceptions of multi-domain environmental factors in a Norwegian school building: Machine learning approach. Build. Environ. 2025, 280, 113144. [Google Scholar] [CrossRef]
  39. Ballerini, V.; Valdiserri, P.; Krawczyk, D.A.; Sadowska, B.; Lubowicka, B.; Rossi Di Schio, E. Design, comparison and application of artificial intelligence predictive models based on experimental data for estimating carbon dioxide concentration inside a building. Appl. Therm. Eng. 2025, 261, 125122. [Google Scholar] [CrossRef]
  40. Peng, Z.; Yang, J.; Sun, J.; Duan, J.; Chen, Z.; Niu, X.; Hu, T.; Huang, Y.; Xu, H.; Cao, J.; et al. Exploring indoor PM2.5 pollution characteristics in Xi’an city and its health implications using interpretable machine learning. Sustain. Horiz. 2025, 13, 100131. [Google Scholar] [CrossRef]
  41. Chen, J.; Xu, C.; Shi, S.; Li, X.; Jiang, Y.; He, X.; Sun, W.; Liu, S.; Kan, H.; Meng, X. Predicting hourly indoor ozone concentrations with sensor-based measurements and easily accessible predictors. Eco-Environ. Health 2025, 4, 100170. [Google Scholar] [CrossRef] [PubMed]
  42. Wandy, Y.; Vogt, M.; Kansara, R.; Felsmann, C.; Herrmann, C. Sensor-Based Machine Learning Approach for Indoor Air Quality Monitoring in an Automobile Manufacturing. Energies 2021, 14, 7271. [Google Scholar] [CrossRef]
  43. Amangeldy, B.; Tasmurzayev, N.; Imankulov, T.; Imanbek, B.; Wójcik, W.; Nurakhov, Y. A Hybrid Machine Learning Approach for High-Accuracy Energy Consumption Prediction Using Indoor Environmental Quality Sensors. Energies 2025, 18, 4164. [Google Scholar] [CrossRef]
  44. Rosca, C.-M.; Bold, R.-A.; Gerea, A.-E. A Comprehensive Patient Triage Algorithm Incorporating ChatGPT API for Symptom-Based Healthcare Decision-Making. In Proceedings of the Emerging Trends and Technologies on Intelligent Systems (ETTIS 2024), Noida, India, 27–28 March 2024; Lecture Notes in Networks and Systems; Springer Nature: Singapore, 2025; pp. 167–178. [Google Scholar] [CrossRef]
  45. Karmakar, P.; Pradhan, S.; Chakraborty, S. Indoor Air Quality Dataset with Activities of Daily Living in Low to Middle-income Communities. In Proceedings of the 38th Conference on Neural Information Processing Systems (NeurIPS 2024) Track on Datasets and Benchmarks, Vancouver, BC, Canada, 10–15 December, 2024; pp. 70076–70100. [Google Scholar] [CrossRef]
  46. Karmakar, P.; Pradhan, S.; Chakraborty, S. DALTON-Dataset. 2023. Available online: https://github.com/prasenjit52282/dalton-dataset (accessed on 18 February 2026).
  47. Karmakar, P.; Pradhan, S.; Chakraborty, S. Exploring Indoor Air Quality Dynamics in Developing Nations: A Perspective from India. ACM J. Comput. Sustain. Soc. 2024, 2, 1–40. [Google Scholar] [CrossRef]
  48. Karmakar, P.; Pradhan, S.; Chakraborty, S. Exploiting Air Quality Monitors to Perform Indoor Surveillance: Academic Setting. In Proceedings of the 26th International Conference on Mobile Human-Computer Interaction, Melbourne, Australia, 30 September–3 October 2024; pp. 1–6. [Google Scholar] [CrossRef]
  49. Sonawani, S.; Patil, K. Dataset of Indoor Air Pollutants using Low-Cost Sensors. Mendeley Data V1 2022. [Google Scholar] [CrossRef]
  50. Sonawani, S.; Patil, K. Dataset of Indoor Air Pollutant Concentration using Low Cost IOT Based Syste. Mendeley Data V1 2021. [Google Scholar] [CrossRef]
  51. Singh, A.; Islam, M.; Dinh, N. Forecasting Indoor Air Quality Using Machine Learning Models. In Proceedings of the IEEE International Conference on Consumer Electronics, Las Vegas, NV, USA, 6–8 January, 2024; pp. 1–6. [Google Scholar] [CrossRef]
  52. Ali, M.A.S.; Ismail, W.N.; Rajeena, P.P.F.; Moustafa, M.A.; Ayad, T.H. SLIF: Swarm-Liquid Intelligence Framework for Smart IAQ Management. Int. J. Comput. Intell. Syst. 2026, 19, 32. [Google Scholar] [CrossRef]
  53. Sonawani, S.; Patil, K. Air quality measurement, prediction and warning using transfer learning based IOT system for ambient assisted living. Int. J. Pervasive Comput. Commun. 2024, 20, 38–55. [Google Scholar] [CrossRef]
  54. Ibrahim, N.; Veeramachaneni, P. IoT Indoor Air Quality. Kaggle 2025. [Google Scholar] [CrossRef]
  55. Pietraru, R.N.; Martin, D.-N.; Olteanu, A. Contributions to Studying the Quality of Life in Inner Urban Environments Through the Publication of Open Data. Urban Sci. 2025, 9, 209. [Google Scholar] [CrossRef]
  56. Environmental Monitoring Co., Ltd. GAMS Indoor Air Quality Dataset. Available online: https://github.com/twairball/gams-dataset (accessed on 18 February 2026).
  57. Flayyih, H.Q.; Waleed, J.; Ibrahim, A.M. Indoor Air Quality Prediction in Sick Building Using Machine and Deep Learning: Comparative Analysis. Diyala J. Eng. Sci. 2025, 18, 203–218. [Google Scholar] [CrossRef]
  58. Wu, Z.; Ma, C.; Shi, X.; Wu, L.; Dong, Y.; Stojmenovic, M. Imputing missing indoor air quality data with inverse mapping generative adversarial network. Build. Environ. 2022, 215, 108896. [Google Scholar] [CrossRef]
  59. Bonan, J.; Granella, F.; Renna, S.; Sarmiento, L. Dataset of aggregated indoor and outdoor daily environmental variables for three school sites impacted by air purifiers. Zenodo 2025. [Google Scholar] [CrossRef]
  60. Universitat Politècnica de Catalunya. Study of sensor positioning and ventilation strategies in classrooms. Zenodo 2025. [Google Scholar] [CrossRef]
  61. Marín, D.; Alegría-Sala, A.; Casals, L.C.; Macarulla, M.; Fonollosa, J. The Reliability of CO2 Measurements Using Low-Cost Sensors: A Study of Sensor Positioning and Ventilation Strategies in Classrooms. Indoor Air 2025, 2025, 5517242. [Google Scholar] [CrossRef]
  62. Rosca, C.-M.; Stancu, A. Quality assessment of GPT-3.5 and Gemini 1.0 Pro for SQL syntax. Comput. Stand. Interfaces 2026, 95, 104041. [Google Scholar] [CrossRef]
  63. Zhu, Y.; Al-Ahmed, S.A.; Shakir, M.Z.; Olszewska, J.I. LSTM-Based IoT-Enabled CO2 Steady-State Forecasting for Indoor Air Quality Monitoring. Electronics 2022, 12, 107. [Google Scholar] [CrossRef]
  64. Marquez-Zepeda, M.J.; Santos-Ruiz, I.; Pérez-Pérez, E.-J.; Navarro-Díaz, A.; Delgado-Aguiñaga, J.-A. Internet-of-Things-Based CO2 Monitoring and Forecasting System for Indoor Air Quality Management. Math. Comput. Appl. 2025, 30, 36. [Google Scholar] [CrossRef]
  65. Kim, J.; Jo, S.; Kim, G.; Kim, J.-H.; Sung, M. Predicting and Analyzing Indoor Air Quality in Inpatient Wards Using IoT-Based Long-Term Data and Machine Learning. Indoor Air 2025, 2025, 6449464. [Google Scholar] [CrossRef]
  66. Ahmadinabi, S.; Naderi Soorki, M.; Aghajari, H.; Jafari, A.R.; Ranjbaran, S. A Probabilistic Graphical Model for Social IoT-based Indoor Air Quality Monitoring in Smart Villages. In Proceedings of the 20th International Conference on Wireless and Mobile Computing, Networking and Communications, Paris, France, 21–23 October, 2024; pp. 289–294. [Google Scholar] [CrossRef]
  67. Gabriel, M.; Auer, T. LSTM Deep Learning Models for Virtual Sensing of Indoor Air Pollutants: A Feasible Alternative to Physical Sensors. Buildings 2023, 13, 1684. [Google Scholar] [CrossRef]
  68. Camacho-Magriñán, P.; Sales-Lerida, D.; Lara-Doña, A.; Sanchez-Morillo, D. Leveraging Low-Cost Sensor Data and Predictive Modelling for IoT-Driven Indoor Air Quality Monitoring. Smart Cities 2025, 8, 200. [Google Scholar] [CrossRef]
  69. Alqahtani, F.K.; Deeb, Y.I.; Sherif, M.; Mohamed, A.G. Assessment of traffic related air pollution effects on indoor air quality in educational buildings. Sci. Rep. 2025, 15, 41476. [Google Scholar] [CrossRef] [PubMed]
  70. González, V.; Meléndez, F.; Arroyo, P.; Godoy, J.; Díaz, F.; Suárez, J.I.; Lozano, J. Electro-Optical Nose for Indoor Air Quality Monitoring. Chemosensors 2023, 11, 535. [Google Scholar] [CrossRef]
  71. Altamirano-Astorga, J.; Gutierrez-Garcia, J.O.; Roman-Rangel, E. Forecasting Indoor Air Quality in Mexico City Using Deep Learning Architectures. Atmosphere 2024, 15, 1529. [Google Scholar] [CrossRef]
  72. Starace, G.; Tiwari, A.; Colangelo, G.; Massaro, A. Advanced Data Systems for Energy Consumption Optimization and Air Quality Control in Smart Public Buildings Using a Versatile Open Source Approach. Electronics 2022, 11, 3904. [Google Scholar] [CrossRef]
  73. Kim, M.; Kim, T.; Park, S.; Lee, K. An Indoor Multi-Environment Sensor System Based on Intelligent Edge Computing. Electronics 2022, 12, 137. [Google Scholar] [CrossRef]
  74. Chojer, H.; Branco, P.T.B.S.; Martins, F.G.; Sousa, S.I.V. A novel low-cost sensors system for real-time multipollutant indoor air quality monitoring—Development and performance. Build. Environ. 2024, 266, 112055. [Google Scholar] [CrossRef]
  75. Ma, N.; Kang, Y.; Gan, W.; Zhou, J. Evaluating Indoor Low-Cost Particle Sensors: Algorithmic Insights and Calibration Approaches. Curr. Pollut. Rep. 2025, 11, 45. [Google Scholar] [CrossRef]
  76. Zaky, N.; Li, T.; Stopps, H. Validating the performance of low-cost IAQ sensors through co-location. J. Build. Phys. 2025. [Google Scholar] [CrossRef]
  77. Justo Alonso, M.; Madsen, H.; Liu, P.; Jørgensen, R.B.; Jørgensen, T.B.; Christiansen, E.J.; Myrvang, O.A.; Bastien, D.; Mathisen, H.M. Evaluation of low-cost formaldehyde sensors calibration. Build. Environ. 2022, 222, 109380. [Google Scholar] [CrossRef]
  78. Kapoor, N.R.; Kumar, A.; Kumar, A.; Kumar, A.; Mohammed, M.A.; Kumar, K.; Kadry, S.; Lim, S. Machine Learning-Based CO2 Prediction for Office Room: A Pilot Study. Wirel. Commun. Mob. Comput. 2022, 2022, 9404807. [Google Scholar] [CrossRef]
  79. Rosyad, M.A.A.; Maghridlo, A. Comparison of Random Forest and LSTM Methods for Temperature Prediction. J. Comput. Phys. Earth Sci. 2025, 5, 74–79. [Google Scholar] [CrossRef]
  80. Jarif, M.I.A.; Siam, M.A.H.; Rahin, T.A. Machine Learning Approaches for PM2.5 Prediction: A Comparative Study. Int. J. Latest Technol. Eng. Manag. Appl. Sci. 2026, 14, 845–854. [Google Scholar] [CrossRef]
  81. Yaqoob, I.; Kumar, V.; Chaudhry, S.A. Machine Learning Calibration of Low-Cost Sensor PM2.5 data. In Proceedings of the IEEE International Symposium on Systems Engineering, Perugia, Italy, 16–19 October, 2024; pp. 1–8. [Google Scholar] [CrossRef]
  82. Aula, K.; Lagerspetz, E.; Nurmi, P.; Tarkoma, S. Evaluation of Low-cost Air Quality Sensor Calibration Models. ACM Trans. Sens. Netw. 2022, 18, 1–32. [Google Scholar] [CrossRef]
  83. Zimmerman, N.; Presto, A.A.; Kumar, S.P.N.; Gu, J.; Hauryliuk, A.; Robinson, E.S.; Robinson, A.L. A machine learning calibration model using random forests to improve sensor performance for lower-cost air quality monitoring. Atmos. Meas. Tech. 2018, 11, 291–313. [Google Scholar] [CrossRef]
  84. Karagulian, F.; Gerboles, M.; Barbiere, M.; Kotsev, A.; Lagler, F.; Borowiak, A. Review of Sensors for Air Quality Monitoring, EUR 29826 EN; Office of the European Union: Luxembourg, 2019. [Google Scholar] [CrossRef]
  85. Liang, L. Calibrating low-cost sensors for ambient air monitoring: Techniques, trends, and challenges. Environ. Res. 2021, 197, 111163. [Google Scholar] [CrossRef]
Figure 1. Paper research methodology (the asterisk in the word “sensor” was used to include all lexical derivatives).
Figure 1. Paper research methodology (the asterisk in the word “sensor” was used to include all lexical derivatives).
Sensors 26 02909 g001
Figure 2. PRISMA flow diagram of study selection (2020–2025).
Figure 2. PRISMA flow diagram of study selection (2020–2025).
Sensors 26 02909 g002
Figure 3. Weight of the ML algorithms categories among published papers (2020–2025).
Figure 3. Weight of the ML algorithms categories among published papers (2020–2025).
Sensors 26 02909 g003
Figure 4. Most implemented ML algorithms in published papers (2020–2025). Note: AE—Autoencoder; CART—Classification and Regression Tree; GBDT—Gradient Boosting Decision Tree; GBM—Gradient Boosting Machine; HAC—Hierarchical Clustering; PCR—Principal Components Regression; PLS—Partial Least Squares; SVR—Support Vector Regression.
Figure 4. Most implemented ML algorithms in published papers (2020–2025). Note: AE—Autoencoder; CART—Classification and Regression Tree; GBDT—Gradient Boosting Decision Tree; GBM—Gradient Boosting Machine; HAC—Hierarchical Clustering; PCR—Principal Components Regression; PLS—Partial Least Squares; SVR—Support Vector Regression.
Sensors 26 02909 g004
Figure 5. Results on investigating IAQ using sensors for data acquisition between 2020 and 2025 (the asterisk in the word “sensor” was used to include all lexical derivatives).
Figure 5. Results on investigating IAQ using sensors for data acquisition between 2020 and 2025 (the asterisk in the word “sensor” was used to include all lexical derivatives).
Sensors 26 02909 g005
Figure 6. Flowchart for selecting algorithms based on the IAQ research scenario.
Figure 6. Flowchart for selecting algorithms based on the IAQ research scenario.
Sensors 26 02909 g006
Table 2. Accuracy level reported in selected IAQ studies.
Table 2. Accuracy level reported in selected IAQ studies.
Research ObjectiveML AlgorithmAccuracy (%)Reference
IAQ classification and predictionNN, LSTM99.37[17]
Ventilation operation predictionRF99.2[18]
VOC/terpene detection & classificationRF96[25]
IAQ forecastingLSTM, SARIMA95[19]
Occupancy detectionRF, XGBoost, DNN95[22]
PM10 predictionIAQ-STL-ML (STL + Meta-learning)94.93[20]
HVAC + IAQ optimizationGRU, LSTM, CNN92[26]
Public transport IAQ predictionXGBoost91.25[27]
Occupancy estimation (CO2-based)RF, ANN91.02[21]
Bioaerosol predictionLSTM90[24]
Radon risk mappingCNN, LSTM85[23]
Note: ANN—Artificial neural network; DNN—Dense neural network; NN—Neural network; STL—Seasonal and trend decomposition using Loess.
Table 3. R2 level reported in selected IAQ studies.
Table 3. R2 level reported in selected IAQ studies.
Research ObjectiveApplicable TasksML AlgorithmR2 (%)Reference
IAQ parameter predictionHybrid physics-statistical modeling; parametric IAQ prediction with environmental dynamics constraints (PDE)PDE–XGBoost98.9[28]
CO2 prediction (classroom)Short-term CO2 forecasting; sequence modeling with temporal dependencies and daily cyclesRF–TPE–LSTM98[29]
Sensor calibration (CO2, PM2.5)Low-cost sensor calibration; compensation of nonlinearities and drift under dynamic conditionsGB, kNN97[32]
PM2.5 calibrationSequence-based calibration for PM sensors; capturing nonlinear RH/temperature dependenciesLSTM96.2[33]
Building performance and IAQ predictionRobust nonlinear regression; prediction under noisy or incomplete data conditionsRF95.78[34]
IAQ prediction across roomsCross-zone spatial inference; multi-input/multi-output prediction for coupled variablesMLR, MLP, DT, RF, kNN94[35]
Gas sensor calibration (CO, NO2)Gaseous sensor calibration; comparing linear vs. nonlinear models for drift compensationMLR, RF, ANN92.4[36]
IAQI predictionIAQI estimation; spatio-temporal causal modeling for air quality state predictionST-CCN-IAQI91.7[37]
IEQ dissatisfaction (PD%) predictionOccupant perception prediction (PD%); regression for user-centered outcome variablesRF91[38]
Indoor CO2 prediction (no CO2 sensor)Virtual sensing: inferring CO2 from BMS/meteorological variables without a dedicated sensorRF89[39]
Indoor PM2.5 predictionRegression for PM2.5 concentrations; handling episodic variations (cooking, cleaning)RFR84[40]
Indoor O3 predictionReactive gas prediction; modeling nonlinear relationships with environmental factorsRF83[41]
HVAC IAQ modelingTemporal modeling for HVAC control; short-term forecasting for proactive ventilation managementLSTM82.1[42]
Energy demand prediction (IEQ-driven)Coupled energy-IAQ prediction; ensembles for interdependent variablesSVR + RF ensemble82[43]
Aerosol emission estimationEpisodic emission estimation; handling intermittent sources and noisy dataRF73[31]
Indoor PM2.5 predictionBaseline linear regression (MLR) vs. nonlinear ensemble (RFR) for particulate matter; methodological benchmarkingRFR, MLR72.2[30]
Note: CCN—Causal Convolution Network; MLR—Multiple Linear Regression; PDE—Partial Differential Equations; RFR—Random Forest Regression; ST—Spatial–Temporal; TPE—Tree-Structured Parzen Estimator.
Table 4. Summary of the parameters and public datasets.
Table 4. Summary of the parameters and public datasets.
Dataset NamePollutants/IAQ Parameters MeasuredDataset Size (Number of Samples)Data Quality MetricsSensor Models and Deployment DetailsReference
Indoor Air Quality Dataset with Activities of Daily Living in Low to Middle-income CommunitiesCO2, VOC, PM1, PM2.5, PM10, NO2, C2H5OH, CO, temperature, RH, activity annotations (speech-to-text)~89,100,000 samples (~13,646 h)Binary validity flags, gaps ≤ 15 min interpolated via nearest-neighbor; gaps > 15 min filled with zeros; values rounded to 4 decimals; mean missing data: 11.82% (σ = 26.4%)IoT sensing using ESP32-based devices; multi-modal sensing; 30 indoor locations across 4 Indian regions; 1–6 sensors per site; strategically placed at 1.0–1.5 m height (breathing zone); duration: 6 months; WiFi-based upload to cloud[45,46]
Indoor Air Pollutants Using Low-Cost SensorsPM2.5 (µg/m3), NO2, NH3, CO (ppm), O3 (ppb), temperature (°C), RH (%), pressure (hPa)173,468 recordsML-based calibration applied to low-cost sensor outputs to improve low-cost sensor accuracyGP2Y1010AU0F (PM2.5), MiCS-6814 (NO2, NH3, CO), MQ131 (O3), and BME280 (temperature, RH, pressure); continuous indoor monitoring in Pune, India, over approximately 20 months[49]
Extended Low-Cost IoT System DatasetPM2.5 (µg/m3), NO2, NH3, CO and CO2 (ppm), O3 (ppb), temperature (°C), RH (%), pressure (hPa)139,448 recordsML-based calibration applied to low-cost sensor outputs; RMSE reduction of 55.42% reported for target system predictionsGP2Y1010AU0F (PM2.5), MiCS-6814 (NO2, NH3, CO), MQ131 (O3), CCS811 (CO2), and BME280 (temperature, RH, pressure); continuous indoor monitoring in Pune, India, over approximately 13 months[50]
IoT Indoor Air Quality DatasetPM2.5 (µg/m3), PM10 (µg/m3), CO2 (ppm), TVOC (ppb), CO (ppm), temperature (°C), RH (%), light intensity (lux), motion (boolean), occupancy (count), ventilation status (Open/Closed)97,458 records (18 February 2024–22 January 2025)Measurements are recorded at 5-min intervals; multi-class classification (good, moderate, and poor); no missing dataUnspecified IAQ sensors; data from residential apartments (bedrooms, living rooms, and kitchens); data from 0.9–1.5 m height; varied household conditions: (cooking periods, occupancy levels, ventilation states)[54]
GAMS Indoor Air Quality DatasetPM2.5 (µg/m3), PM10 (µg/m3), CO2 (ppm), VOC (mg/m3), temperature (°C), RH (%)135,100 records (as of 7 January 2026)Measurements are recorded at 1-min intervals using sensors with known accuracy (e.g., ±0.5 °C for temperature, ±40 ppm for CO2); it presents missing data and temporal gaps due to sensor failuresUnspecified IAQ sensors; data collected in Shanghai, Jingan district. China[56]
School IAQ Dataset—Milan, ItalyPM2.5 (µg/m3), PM10 (µg/m3), CO (ppm), CO2 (ppm), O3 (µg/m3, outdoor only), temperature (°C), RH (%), indoor pressure (hPa)627 records (daily aggregated), from November 2023 to June 2024Data are recorded at a 1-day interval per location; no explicit quality metrics or validation flagsUnspecified IAQ sensors; data collected from 3 school locations in Milan, Italy; 1.2–1.5 m height[59]
Multi-Sensor Classroom IAQ DatasetPM1 (µg/m3), PM2.5 (µg/m3), PM10 (µg/m3), CO2 (ppm), VOC (µg/m3), temperature (°C), RH (%), dew point (°C), globe temperature (°C), air pressure (Pa), air velocity (m/s), occupancy, activity, ventilation11,086 records (November 2021–June 2022)Data are recorded at 1-min interval; 33 individual measurement sessions; sensor variability: all sensors combined: (37.35 ppm mean σ), max observed discrepancy (80 ppm)Unspecified IAQ sensors; devices were placed at different positions within each room; data were measured from primary schools and university classrooms in Barcelona, Spain[60]
Table 5. Typical accuracy ranges and ML calibration applicability for common IAQ sensors.
Table 5. Typical accuracy ranges and ML calibration applicability for common IAQ sensors.
Sensor Type/ParameterTypical Measurement PrincipleReported Accuracy/Error RangeML Calibration SuitabilityReference
CO2NDIRGood stability, low cross-sensitivity vs. chemiresistive; specific ppm error not reportedHigh: LSTM for temporal drift compensation; GPR for multi-feature regression[78]
PM2.5/PM10Optical particle counter (laser scattering)Calibration can improve RMSE up to 64%, MNB up to 70%; validated R2 = 0.79, RMSE = 5.8 µg/m3High: LSTM for RH/temperature nonlinear compensation; RF for log-linear calibration[33,75,76]
VOC/TVOCMOS chemiresistiveCross-sensitivity to RH/temperature; drift requires ML compensationMedium-High: RF/SVM/XGBoost for compound detection; LSTM for sequence-based drift correction[25]
NO2Electrochemical/MOxCalibration R2 = 0.890 (MLR), R2 = 0.697 (RF), R2 = 0.809 (ANN)Medium: ANN/RF outperform linear baselines; requires environmental covariates[36]
COElectrochemical (amperometric)Calibration R2 = 0.918 (MLR), R2 = 0.912 (RF), R2 = 0.924 (ANN)Medium: Ensemble methods improve robustness to interference[36]
Temperature/RHThermistor/Capacitive MEMSHigh accuracy, low cost; used as covariates for gas-sensor compensation; R2 = 0.94 (temperature), R2 = 0.94 (RH)High: Standard inputs for calibration models (LSTM, RF, GPR)[35]
Note GPR—Gaussian process regression.
Table 6. The correlation between the noise profile of sensors and the ML algorithms.
Table 6. The correlation between the noise profile of sensors and the ML algorithms.
Sensor Profile
(Uncertainty/Drift)
Typical Parameters/TechnologyRecommended
Algorithms
Noise Compensation MechanismReference
High (>15% RMSE, rapid drift, cross-sensitivity to T/RH)VOC/TVOC (MOx), NO2/O3 (electrochemical), PM (low-cost OPC)LSTM/GRU, GB, RFDecision aggregation (RF/GB) for outlier immunity; temporal windows (LSTM) for filtering structured noise; nonlinear compensation of temperature/RH interactions[81]
Medium (5–15% RMSE, slow drift, relative stability)CO2 (NDIR), temperature, RH (calibrated MEMS)Elastic Net, RF, OLSApproximately Gaussian residuals; regularization for multicollinearity; stable linear correlations[82]
Low (<5% RMSE, reference or post-hoc calibrated)CO2/PM (gravimetric/NDIR reference instruments)Simplified regression, physico-statistical modelsHigh precision; complexity shifts toward physical interpretation, energy optimization, or inter-site validation[83]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Rosca, C.-M.; Stancu, A. Machine Learning Applications with Sensors for Indoor Air Quality Research. Sensors 2026, 26, 2909. https://doi.org/10.3390/s26092909

AMA Style

Rosca C-M, Stancu A. Machine Learning Applications with Sensors for Indoor Air Quality Research. Sensors. 2026; 26(9):2909. https://doi.org/10.3390/s26092909

Chicago/Turabian Style

Rosca, Cosmina-Mihaela, and Adrian Stancu. 2026. "Machine Learning Applications with Sensors for Indoor Air Quality Research" Sensors 26, no. 9: 2909. https://doi.org/10.3390/s26092909

APA Style

Rosca, C.-M., & Stancu, A. (2026). Machine Learning Applications with Sensors for Indoor Air Quality Research. Sensors, 26(9), 2909. https://doi.org/10.3390/s26092909

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop