1 Introduction

The World Health Organization (WHO) has studied the harmful effects of the polluted air on the human health, showing the need of monitoring different types of pollutants, including pollutants like PM2.5 particles in the cities of developed and developing countries [1]. It is because there are evidences that these particles have a high association with cancer, heart diseases, lung diseases, and low tract respiratory infections, increasing the morbidity and mortality of the population in a considerable way. Therefore, to measure or estimate the PM2.5 in order to determine the values of the air quality, everywhere in an effective way, is very important in order to establish preventive measures and reduce the risk on the health of the population.

There are three types of models, which are widely used, for predicting the quality of the air: Probabilistic, autoregressive and hybrids [2]. Probabilistic models use different techniques to assess the relationship between the air quality and the meteorological factors [3]. These are usually cheap computational models, such as Hidden Markov Models (HMM), which allow to do the accuracy statistic prediction with relatively less detailed data in relation to the prognostic in many areas [2,3,4]. However, these techniques have problems when the sampling data are limited, and the model may not work as expected which limits their ability of predicting future events. The nonlinear relationship between PM2.5 and meteorological data pose a problem of nonlinear regression between predictors, so models of artificial neural networks (ANN) are used, which have the ability to detect underlying nonlinear relationships between the responses and the predictors. These can be trained using some algorithms and require much less informatics resources [4,5,6,7,8]. The Autoregressive models have been widely used to predict the air quality, but with a variable precision due to their capacity of application to nonlinear processes and their dependence of the quality of the input data [9, 10]. The support vector machines (SVM) are designed to solve nonlinear classification problems; but because of its ability to generalize, it has shown its application in regression problems and time series forecasting. The SVM makes use of a kernel function, attributing its great capacity for generalization, even when the training set is small, i.e., where both the generalization and the training process of the machine do not necessarily depend on the attributed number; allowing an excellent performance in high dimensional problems [11]. Referring to hybrid models as ANFIS [12], they have better performance, because they have the capacity to predict the maximum PM2.5 concentrations, that are considered a critical factor in the prediction system of air pollution [8]; and they also give adequate solutions to nonlinear problems, ambiguity, and randomness of the data. Other reported studies for the prediction of meteorological variables and contaminants have, in most of them, limitations in predictions respect to time and generality. Also, they do not focus on the estimation of variables in specific geographic locations and cities with a limited number of measurement stations and/or limited variables measurements, as is the case in Medellín city [13,14,15,16,17,18,19], which is the principal contribution of this work.

In this study, a comparison among three ANFIS approaches, and two SVM approaches to estimate the PM2.5 was applied together with a relevant analysis based on Rough Set Feature Selection. This aimed at reducing the number of features obtained from the fused measures of near monitoring stations, in order to provide an objective, and an accurate mechanism for more reliable estimation of the PM2.5 concentration on a specific geographical location. Thus, this was obtained from meteorological data and air quality variables in order to give the community an adequate information about the air quality to make decisions on the environmental exposure.

2 Materials and Methods

2.1 Database

The air quality network of “Valle de Aburrá” (AMVA) has 22 measuring places of air quality and meteorology that are fixed. These places are distributed in their different municipalities and the jurisdiction of the Metropolitan area. Three stations were selected taken the completeness and their locations as the criteria, as shown in Fig. 1. They are described as follows: (i) “Urbana Museo de Antioquia” (MED-MAINT) station, with the following coordinates: an altitude of 1488 [MASL], a latitude of 6º15′08.48″ North, and a length of 75º34′07.37″ West. (ii) “Fondo Urbano Universidad Nacional de Colombia Sede Medellín – Núcleo el Volador” (MED-UNNV) station, with the following coordinates: an altitude of 1506 [MASL], a latitude of 6º15′34.39″ North, and a length of 75º34′32.46″ West. (iii) “Suburbana UNE – Casa Yalta, Loma Los Balsos” (MED-UNEP) station, with the following coordinates: an altitude of 1848 [MASL], a latitude of 6º11′11.07″ North, and a length of 75º33′26.55″ West. These stations have measures of particles smaller than 2.5 micrometers (PM2.5), automatic monitors of Ozone (O3), and meteorological stations that generate data of temperature, humidity, wind speed, wind direction, and radiation.

Fig. 1.
figure 1

Geographical location of the Medellín stations

2.2 Theoretical Background

Adaptive Neural Fuzzy Inference System (ANFIS).

This method needs Fuzzy Logic to change the given inputs into wanted outputs through highly interconnected Neural Network processing elements and information connections, which are weighted to locate and assign inputs into an output. To ease the use of this technique, two fuzzy IF-THEN rules based on a first order Sugeno model [20] are implemented. \( Rule \left( 1 \right):IF\, x \,is \,A_{1} \,AND\, y \,is\, B_{1} , \,THEN\,f_{1} = p_{1} x + q_{1} y + r_{1} \) and \( Rule \left( 2 \right):IF\, x\, is \,A_{2} AND y \,is\, B_{2} , \,THEN\,f_{2} = p_{2} x + q_{2} y + r_{2} \). Where, x and y are inputs, \( A_{i } \) and \( B_{i } \) are fuzzy sets, \( f_{i} \) are outputs within the fuzzy region specified by the fuzzy rule, and \( p_{i} , q_{i} , r_{i} \) are design parameters which are adjusted during the training process. The layer 1 is a mapping input variable to corresponding fuzzy membership \( O_{i } = \mu A_{i } (x) \). In the layer 2, \( \varPi \) is an AND operator to fuzzify the inputs i.e. \( w_{i} = \mu A_{i } \left( x \right)* \mu A_{2} \left( y \right) i = 1, 2, 3, \ldots ,N \). Layer 3 has N-nodes that indicate normalization to the firing strengths from the previous layer. In the fourth layer, the nodes \( i \) are adaptive and the output of each node is the product of the normalized firing strength with a first order polynomial (for a first order Sugeno model) \( O_{i } = w_{i } f_{i } = w_{i} \left( {px + qy + r} \right) i = 1, 2, 3, \ldots ,N \). Finally, the overall output f of the model is given by one single fixed i.e. \( f = \mathop \sum \limits_{i} \bar{w}f_{i} \) (Fig. 2).

Fig. 2.
figure 2

ANFIS architecture

Support Vector Machines.

The support vector machines (SVMs) were proposed by [21], to solve a nonlinear problem, an input variable that corresponds to predictor variable is non-linearly mapped into a high-dimension feature space [22], and the SVR function is formulated as \( y = \omega \phi \left( x \right) + b \). Where \( \phi \) (x) is called the feature, which is nonlinear mapped from the input space x. The coefficients w and b are estimated by minimizing:

$$ R\left( c \right) = c\frac{1}{N}\mathop \sum \limits_{i = 1}^{N} L_{\varepsilon } \left( {d_{i} , y_{i} } \right) + \frac{1}{2}\left\| \omega \right\|^{2} $$
$$ L_{\varepsilon } \left( {d , y} \right) = \left\{ {\begin{array}{*{20}l} {\left| {d - y} \right| - \varepsilon } \hfill & {\left| {d - y} \right| \ge \varepsilon } \hfill \\ 0 \hfill & {Others} \hfill \\ \end{array} } \right. $$

Where both c and \( \varepsilon \) are prescribed parameters. The first term \( L_{\varepsilon } \left( {d , y} \right) \) is called the \( \varepsilon \) -intensive loss function. Here, \( k \left( {\tilde{x},\bar{x}} \right) \) is called the kernel function. The value of the kernel is equal to the inner product of two vectors \( \tilde{x} \) and \( \bar{x} \) in the feature space \( \phi \) ( \( \tilde{x} \) ) and \( \phi \) ( \( \bar{x} \) ), such that \( k \left( {\tilde{x},\bar{x}} \right) = \phi \left( {\tilde{x}} \right)*\phi (\bar{x}) \). Any function satisfying Mercer’s condition can be used as the kernel function.

Proposed Procedure.

Figure 3 shows the proposed procedure to estimate the PM2.5 in specific geographical location. First, we eliminate the samples with outliers, and then the database was normalized between 0 and 1. Then, the data of the selected stations were fused. Next, the relevance analysis was carried out using Rough Set- Neighbor (RS-N), Rough Set - Entropy (RS-E), Fuzzy Rough Set - Neighbor (FRS-N), and Fuzzy Rough Set – Entropy (FRS-E). These techniques are widely explained in [23]. Each of the parameters (inclusion and neighbor) of the algorithms was adjusted heuristic, taking values between 0.05 and 1 with increments of 0.05. Next, the results obtained were computed according to common relevance of the data given by the four selection methods, obtaining a reduct, which was used for training 5 regression approaches. Three system based on ANFIS were trained; each used different algorithms (Grid Partition-GP, Fuzzy C-means-FC [21] and Subtractive Clustering-SC [24, 25]) for establishing the initial FIS. Their parameters were adjusted in order to maximize accuracy. The same way, two SVR systems with two different kernels (polynomial kernel -KP and Gaussian kernel-KG) were trained, and their parameters C and gamma were adjusted for maximizing the accuracy. Finally, all approaches were validated using a 30-fold cross-validation procedure (70/30 split).

Fig. 3.
figure 3

Proposed procedure

3 Results and Discussion

Figure 4 shows the results obtained of the relevance analysis carried out applying 4 selection algorithms (RS-N, FRS–N, RS-E and FRS–E) obtaining as relevant variables: wind speed, wind direction, and humidity to estimate the PM2.5.

Fig. 4.
figure 4

Global relevance analysis

Table 1 shows the accuracy of the different techniques on the estimation of PM2.5 concentration in each station. The notation ANFIS-SC, ANFIS-GP, ANFIS-FC, SVR-KP, SVR-KG means Adaptive neural fuzzy inference system- subtractive clustering, Adaptive neural fuzzy inference system-Grid Partition, Adaptive neural fuzzy inference system-Fuzzy C means, Support vector machines-Kernel Polynomial, Support vector machines-Kernel Gaussian, respectively. The best results were obtained with ANFIS-FC and SVR-KP 93.4% for each. However, the difference among the systems can be considered as minimal 3%. The worst results were obtain by SVR-KG 87.5%.

Table 1. PM2.5 estimation -ANFIS and SVR

4 Conclusions

In this study, meteorological and pollutant variables obtained from three nearby measurement stations were fused, and a relevance analysis using techniques based on RS for selecting was carried out. This allowed to obtain objectives, and accurate mechanisms to estimate the PM2.5. Besides, five regression systems were compared, where the results were similar. The best results were obtained using the three ANFIS and one SVM systems, which have demonstrated the capability of the variables selected together with data fusion of nearby stations to estimate the PM2.5 in specific geographical location, which demonstrated the effectiveness of our proposed procedure. However, the adjustment of parameters of the regression systems can be optimized using metaheuristic algortithms in order to obtain major results in terms of accuracy. In addition, this study should be extended using other database from other geographical locations in order to increase its generality.