Introduction

In the developing countries such as Iran, there is a need of efficient water supply especially in view of scarce water resources and water pollution problems. These water resources should be utilized optimally by appropriate planning, development management sufficient decision-making information (Mohsen-Bandpei and Yousefi 2013). It is clear that the problem of water resources pollution is one of the most important challenges to be encountered in the close future, particularly in arid and semiarid areas, such as Iran (Celik et al. 1996; Kolpin et al. 1998; Dixon 2005; Ouyang et al. 2013). According to Kördel et al. (2013) since the soundness of policy decisions in groundwater management almost directly depends on the reliability of the water resource management monitoring programs, therefore an accurate and routine assessment of the groundwater quality (as an essential component of groundwater environment evaluation), and also accurate prediction of the groundwater level and, is necessary to establishing optimal strategies for regional water resource management (Zhang et al. 2009; Li et al. 2012; Singh et al. 2014). Therefore, to access this important purpose, namely to make the best and optimal use of the available water, it is necessary to extent a comprehensive index that is representative of the overall water quality (Chang and Chang 2006). First time, the water quality index (WQI) was developed by the national sanitation foundation (NSF) as a standard index for assessment of the water quality and also as a technique of rating water quality (Ott 1978; Al-hadithi 2012; Gharibi et al. 2012). WQI has sufficient efficiency to assess any changes in groundwater quality. The development of WQI for groundwater quality assessment is described in the several studies (Nasiri et al. 2007; Gharibi et al. 2012). Moreover, groundwater quality index (GWQI) was used for evaluating groundwater quality in different studies (Gholami et al. 2015). GWQI was first introduced by Ribeiro et al. (2002), since the needed quantitative parameters are available. In order to eliminate the problem of the number of parameters and related limitations in water quality assessment, Ocampo-Duque et al. (2007) developed the fuzzy water quality index (FWQ). In recent years, artificial intelligence (AI) computational methods, such as the neuro-fuzzy systems have been increasingly applied to environmental issues (Chau 2006; Gharibi et al. 2012). The neuro-fuzzy systems are the result of the combination of neural networks and fuzzy logic (Zadeh 1965; Pramanik and Panda 2009). Adaptive neuro-fuzzy inference system (ANFIS) as a multilayer feed-forward network is capable of combining the benefits of both these fields and also uses Gaussian functions for fuzzy sets, linear functions for the rule outputs and Surgeon’s inference mechanism and mainly has been used for mapping input–output relationship based on available data sets (Chang and Chang 2006; Nourani et al. 2011; Subbaraj and Kannapiran 2010; Ullah and Choudhury 2013).

One of the most intelligent and soft computing tools based on fuzzy logic is CANFIS model that is based on fuzzy logic and hence as in many other analytical fields, application of this model for data processing has significantly been increased during the recent years in different fields with superior performances, so that examples of the use and application of this technique to almost every aspect of water analysis can be found in the literature. For instance, neuro-fuzzy has been used successfully for prediction of flow through rock-fill dams (Heydari and Talaee 2011), river flow (Nayak et al. 2004, 2005; Pramanik and Panda 2009; Kisi 2010), suspended sediment estimation (Kisi et al. 2008; Cobaner et al. 2009; Mirbagheri et al. 2010, groundwater vulnerability (Dixon 2005), groundwater quality problems (Lu and Lo 2002; Zhou et al. 2007; Hass et al. 2012; Rapantova et al. 2012; Jang and Chen 2015), daily evaporation (Dogan et al. 2010; Karimi-Googhari 2012) and rainfall–runoff modeling (Chang and Chen 2001; Gautam and Holz 2001; Xiong et al. 2001; Jacquin and Shamseldin 2006). However, little research has been undertaken to study the problem of groundwater quality using ANN and GIS. Today, Takagi–Sugeno fuzzy inference (TS) system is widely used for hydrological parameters simulation. Takagi–Sugeno fuzzy inference (TS) system was introduced for the first time by Takagi and Sugeno in 1985 and up to now, particularly in recent years, this method has been used widely in hydrological processes and has achieved to satisfactory performances and results (Vernieuwe et al. 2005; Hong and White 2009; Zhang et al. 2009). Jacquin and Shamseldin (2006) investigated the use of TS for rainfall–runoff modeling and their results showed that the superior performance of this method (TS) to the traditional methods (Ullah and Choudhury 2013). During the recent years, artificial neural network (ANN) as a dynamic estimator, has been used increasingly as well (Koike and Matsuda 2003; Samanta et al. 2004; Mahmoudabadi et al. 2009; Tahmasebi and Hezarkhani 2012; Gholami et al. 2016). Khatibi et al. (2011) compared performance of three artificial intelligence techniques for discharge routing; artificial neural network (ANN), adaptive nero-fuzzy inference system (ANFIS) and genetic programming (GP) and concluded that the performance of GP is better than the other two modeling approaches in most of the respects. Khadangi et al. (2009) compared ANFIS with radial basis function (RBF) models in daily stream flow forecasting and demonstrated that ANFIS give better results than RBF. Moreover, geographic information system (GIS) is a powerful tool for use in environmental problem solving and in conducting groundwater modeling such as mapping the groundwater quality parameters, interpretation of groundwater quality data, evaluation of the groundwater quality feasibility zones for irrigational purposes, creating groundwater contamination vulnerability maps as the most common application of this technique and so on (Saraf et al. 1994; Durbude and Vararrajan 2007; Karunanidhi et al. 2013; Bouzourra et al. 2014). Therefore, in order to develop a model using neuro-fuzzy techniques in a GIS to simulate water quality, it is very useful to combine the GIS technique with a neuro-fuzzy model that is very applicable and also has the potential for creating a successful modeling tool (Dixon 2004). Chang and Chang (2006) used ANFIS to build a prediction model for water level forecasting and reservoir management. Their results showed that the ANFIS can be applied successfully and provide high accuracy and reliability for reservoir water level forecasting. Zhang et al. (2009) implemented the Takagi–Sugeno fuzzy system (TS) and the simple average method (SAM) to combine forecasts of three individual models and the performance of modeling results was compared in five catchments of semiarid areas. They concluded that the TS combination model gives good predictions. In this study, we present a novel neuro-fuzzy approach, which combines two approaches, ANN and FL (Ross 2006; Tahmasebi and Hezarkhani 2012), namely coactive neuro-fuzzy inference system (CANFIS), to have a rapid and more accurate predictor in forecasting groundwater quality. To verify its applicability, the Mazandaran Plain, was chosen as the study area. The specific objective of this research was to develop a modeling approach that loosely couples neuro-fuzzy techniques and GIS to predict groundwater quality in Mazandaran Plain. The overall objective of this research is to examine the sensitivity of neuro-fuzzy models used for assessing groundwater quality in a spatial context by integrating GIS and neuro-fuzzy techniques. The result can be as a tool for planning in order to manage and reduce the risk of the groundwater pollution.

Materials and methods

Study area

The study plain is located at 50º30′ to 53º50′E longitude and 35º55′ to 36º45′N latitude in northern Iran (Fig. 1), which is located in the southern Caspian coasts (Mazandaran Province). Study area has an area about 10,000 km2. The Mazandaran coasts include plains made of alluvial sediments. Moreover, the changes in elevation and slope are inconsiderable on the Caspian coasts. Mazandaran Province is the second province in terms of rice production and is one of the main agricultural regions in Iran (Gholami and Khaleigh 2013). The mean annual precipitation for the west of study area is 1300 mm and decrease gradually toward of east to 600 mm. Most of the precipitation falls in the cloudy sea-sons. Based on the modified Demartan’s method, the area’s climate is humid and moderate. In water quality studies, we need an index for water quality assessment.

Fig. 1
figure 1

Location of the study area (a) and location of the study drinking wells (b) in the Mazandaran Plain

Determination of groundwater quality index

We selected eight parameters of water quality such as cation and anion (K+, Na+, Ca2+, Cl, Mg2+, SO4 2−), pH, total dissolved solids (TDS). Unfortunately, due to the lack of microbial pollution measurements in the study plain, we faced with a limitation in selecting the type of the groundwater quality index. In this study, at first about 200 drinking water wells identified in the Mazandaran Plain and then by examining the number of qualitative measurements, 85 drinking water wells related to Mazandaran Rural Water and Wastewater Company were selected. The selected wells have a high number of samples and regularly quality testing during the years 2008–2013. Figure 1 shows the location of understudy wells. In order to provide water quality index and also to check the status of groundwater quality drinking water wells, to determine the minimums, it must provide a standard index. National standards related to the quality parameters in drinking water are presented in Table 1.

Table 1 Potable water quality standards of Iran (mg/l) (Saeedi et al. 2010)

Horton (1965) developed a compound index of ten water quality variables and suggested that water quality parameters can be completed through the use of other parameters, and hence, has firstly used the concept of WQI then developed by Brown et al. (1970) and improved by Scottish Development Department (1975). In this study, to check groundwater quality, ground water quality index (GWQI) was intended. One of the main reasons for the use of the mentioned index is the ease of access to available qualitative data. Suitable indicators need to have bacterial tests and we do not have access to such a data. The overall groundwater quality index (GWQI) is calculated as (Eq. 1):

$${\text{GWQI}} = \sum\limits_{i = 1}^{8} {w_{i} .\frac{{C_{i} }}{{C_{si} }}} ,$$
(1)

where C i is parameter concentration in mg/L, C si is the national standard concentration of parameter for potable water, and W i is the relative weight of each chemical parameter. Each of these parameters has a different weight in terms of its contribution to groundwater quality.

The corresponding weight rates of the factors are then aggregated using some types of sum or mean (e.g., arithmetic, geometric), frequently including individual weighing factors (Horton 1965). Final GWQI index is calculated by aggregating all the normalized parameters. The extent of the parameters participation in the water quality determination defines the relative importance or the weights of parameters in the final GWQI. Table 2 shows the weights of participation of the parameters in the final GWQI. In this study, finally 85 GWQI indices were estimated for the studied drinking water wells in the Mazandaran Plain. Each of these indices represents a qualitative status of groundwater in the area and total indices indicate general states of groundwater quality in the area.

Table 2 The relative weight of participation of each parameter involved in the creation in the ground water quality index (GWQI) (Saeedi et al. 2010)

Groundwater quality simulation using fuzzy network-CANFIS

In this research, neuro-fuzzy hybrid model was used for groundwater quality modeling. Neural-fuzzy network is a feed-forward network that uses a neural network learning algorithm through back propagation during network training. Here we used from various input vectors and an output vector. In the designing of neuro-fuzzy hybrid model, the structure of optimized inputs was determined by a trial-and-error process. The difference between the rate of changes in the observed and simulated water quality indices is as the objective function and in case of equality of both quantity, the rate of instantaneous error (the total error) will be equal to zero according to Eq. (2):

$$J_{i} \left( n \right) \, = \, t_{i} \left( n \right) \, - \, a_{i} \left( n \right)$$
(2)

where J i (n) is the network moment error and represents the total error for the neuron i in output layer, t i (n) represents the desired target output of ith network in nth iteration and a i (n) represents the predicted from the system and is the actual output at each iteration. By estimation of the output error and application of the back-propagation process (to the system), the selected weight in model was modified. Weights correction was done using gradient descent method and according to Eq. (3):

$$W_{ij} \left( {n + 1} \right) = w_{ij} \left( n \right) + \eta \delta_{i} \left( n \right)x_{i} \left( n \right)$$
(3)

where W ij (n + 1) is the synaptic weight to ith neuron in the output layer from the jth neuron in the previous layer, w ij (n) is the rate of mentioned weight in nth iteration, n denotes the steps of the iteration, η is the extent of step size or the learning rate coefficient because controls the speed at which we do the error correction or decides for the rate at which the network learns (Loganathan and Girija 2013), δ i (n) is standard deviation of the modeling error (local error) and has been estimated from ji (n) in nth iteration, x i (n) is the regressor vector and δ i (n)x i (n) is the gradient vector of the performance surface at iteration (n) for the ith input node.

Coactive neuro-fuzzy inference system

Neuro-fuzzy inference systems were implemented to integrate the fuzzy inputs and CANFIS technique due to its applicability in solving very complex and poorly defined problems quickly (Singh et al. 2007). Neuro-fuzzy inference systems consist of four main components comprising: fuzzifier input, fuzzy knowledge base, inference engine and defuzzyfier output. At the beginning of processing, fuzzifier, as one of main components of the fuzzy inference system convert observed data to acceptable form of fuzzy membership functions (MFs) and then fuzzifier outputs are used as fuzzy inference productive inputs (Tay and Zhang 2000; Gharibi et al. 2012). The major components of CANFIS are (a) a fuzzy axon, which applies membership functions to the inputs and (b) a modular network that applies functional rules to the inputs (Heydari and Talaee 2011). The most common type of fuzzy inference system that has the ability to placement in an adaptive network is Sugeno fuzzy inference system and its output is based on a linear regression equation. In this study, we used the Gaussian, bell-shaped membership functions (due to smoothness and concise notation) and Sugeno fuzzy inference system. Membership function (MF), presents the fuzzy value of a fuzzy set. At first, it was determined the number of membership functions assigned to each input network in a process of trial-and-error and then in the output layer it was used from the momentum, the back propagation gradient descent (GD) method (as the most common neural network training algorithm) and the step function learning rate algorithms to achieve the best structure and to improve the performance of system (Pramanik and Panda 2009; Tahmasebi and Hezarkhani 2012). It is notable that in all cases, the transfer function in the output layer is linear. In the neuro-fuzzy networks, coactive neuro-fuzzy inference system (CANFIS) is used as a feed forward network structure. Fuzzy system is a system based on reasonable fuzzy if-then rules and logical fuzzy set operators (Fig. 2).

We used NeuroSolutions software for modeling of groundwater quality using neuro-fuzzy network. For training and then testing the performance of a network, it is very important to choose the number and type of input parameters to the model. For this reason, eight input patterns are given below (Eqs. 411):

$${\text{GWQI}} = f(T,G_{\text{wTable}} )$$
(4)
$${\text{GWQI}} = f(T,G_{\text{wTable}} ,L_{\text{C}} )$$
(5)
$${\text{GWQI}} = f(T,G_{\text{wTable}} ,L_{\text{C}} ,E)$$
(6)
$${\text{GWQI}} = f(T,G_{\text{wTable}} ,L_{\text{C}} ,E,P)$$
(7)
$${\text{GWQI}} = f(T,G_{\text{wTable}} ,L_{\text{C}} ,E,P,H)$$
(8)
$${\text{GWQI}} = f(G_{\text{wTable}} ,L_{\text{C}} ,E,P,H)$$
(9)
$${\text{GWQI}} = f(T,L_{\text{C}} ,E,P,H)$$
(10)
$${\text{GWQI}} = f(T,G_{\text{wTable}} ,E,P,H)$$
(11)

where GWQI is groundwater quality index, T is the transmissivity of aquifer formations (m2/day), G wTable is the mean water table depth (m), L C is the distance from the pollutant centers (m), E is the site elevation (m), H is the number of households in the area of a square kilometer and P is the population in a square kilometer. These eight input patterns with fixed network architecture were implemented to simulate groundwater quality and the results show that optimized structure of network inputs consists of three inputs included the mean water table depth, the transmissivity of aquifer formations and distance from the pollutant centers. Finally, we determined the optimized network structure by determining the optimal inputs, transfer function and learning technique and re-training of network. In this study, in the training phase, different transfer functions were used in order to identify the one which gives the best results (Heydari and Talaee 2011). Moreover, we used Quick-prop and Momentum of the network to determine the optimal structure of Step systems. Finally, the network efficiency was evaluated using the mean squared error (MSE) and the coefficient of determination (R 2). These performance evaluation criteria (the MSE and R 2) are given below (Eqs. 12, 13):

$${\text{MSE}} = \frac{{\sum (Q_{i} - \mathop {Q_{i} }\limits^{ \wedge } )}}{n}$$
(12)
$${\text{Rsqr}} = \left[ {\frac{{\sum\limits_{i = 1}^{n} {(Q_{i} - \overline{{Q_{i} }} ).(\hat{O}_{\text{i}} - \tilde{O}_{\text{i}} )} }}{{\sqrt {\sum\limits_{i = 1}^{n} {(Q_{i} - \overline{{Q_{i} }} )^{2} .\sum\limits_{i = 1}^{n} { (\hat{O}_{\text{i}} - \tilde{O}_{\text{i}} )^{2} } } } }}} \right]^{2} $$
(13)

where Q i is the actual value, \(\mathop {Q_{i} }\limits^{ \wedge }\) is the simulated value, \(\overline{{Q_{i} }}\) is the mean of the observed data, \(\tilde{Q}_{i}\) is the mean of the actual data, and \(n_{i}\) is the number of data points. Above-mentioned standard performance indices were used to compare the performance of the CANFIS model, as well as the training techniques.

Fig. 2
figure 2

CANFIS architecture

Fig. 3
figure 3

The flowchart of the methodology stages used for groundwater quality assessment based on Fuzzy Network-CANFIS and GIS

Integration of fuzzy network-CANFIS and geographic information system (GIS)

Neuro-fuzzy technique has a high potential in simulating quantitative values of hydrological parameters, but it cannot preset its results in the forms of map and geo-referenced data. In this study, we applied integration of neuro-fuzzy and GIS techniques for assessment of groundwater quality. We used neuro-fuzzy technique as a system to simulate groundwater quality and GIS used as pre-processor and post-processor system of data. At first, quantitative values of the network input parameters included the mean water table depth, the transmissivity of aquifer formations, distance from the pollutant centers, site elevation and the numbers of households were estimated using the secondary data of water resources, maps and digital layers in the GIS environment for the 85 studied drinking water wells. After the quantifying of the parameters, modeling process was performed to simulate the groundwater quality index. In this stage, network training, optimizing and then network test or validation were conducted. Finally, the validated neuro-fuzzy network was presented. Here, GIS will be used as a per-processor. The purpose of this study is use of fuzzy neural network to simulate groundwater quality for the areas where no data (as graphical geo-referenced). In training stage, we found that the optimized structure of fuzzy neural network for simulating groundwater quality needs to three inputs included the average depth of the water table, the transmissivity of the aquifer formations and the distance from the pollutant centers. Therefore, raster layers of the three input parameters were prepared and those were combined using overlay analysis with a pixel size 1 × 1 km (similar pixel size). Therefore, Mazandaran Plain was separated to over than 10,000 geo-referenced pixels in GIS. These pixels had values of network inputs or the groundwater quality parameters (water table depth, transmissivity of aquifer formation and the distance from contaminant centers). It is clear that the size of the cellular network can be considered smaller which leads to more accurate results on the inputs such as the distance from the pollutant centers, but a high number of input pixels accompany a limitation in simulation process. Moreover, we have not accessed the exact secondary data for two main inputs, namely, water table depth and transmissivity of aquifer formations. Pixels coordinate was inserted automatically in GIS environment. Afterwards, pixels data (networks inputs and coordinate) were exported from GIS and then these data were imported to NeuroSolutions software. Finally, we estimated the GWQI values of the all pixels using the validated fuzzy network and the optimal inputs. Here, the estimated GWQI values along with their coordinates were entered from the network environment into the GIS environment. In order words, GIS plays the role of the post-processor. Finally, the ground water quality (GWQI) map was generated using GWQI values (throughout geographic coordinate as an agent for distinguishing geographic coordinate) and GIS capabilities in the study area. The groundwater quality index (GWQI) values of 85 studied drinking water wells were overlapped on the simulated raster layer of the groundwater quality to evaluate and approve the accuracy of the results. In fact, we evaluated the results accuracy through comparison between the simulated GWQI and the actual GWQI in GIS. Finally, the layer of groundwater quality was presented as groundwater quality map after classification. In this study, we simulated groundwater quality using neuro-fuzzy network and GIS capabilities and the simulation was performed with precision and speeds up in large-scale and results were presented as the geo-referenced graphical (map).

Results

We estimated GWQI values of the studied drinking water wells based on the sampling of a 5-year period. GWQI values change from 0.05 to 0.35 in the studied plain. Quantitative amounts of the factors affecting groundwater quality included the average depth of water table, the transmissivity of aquifer formations, distance from the pollutant centers, site elevation and the number of households were estimated based on the secondary data, digital maps and field studies. Some examples of the estimated values are given in Table 3. After the quantitative estimation of groundwater quality indices and the factors affecting water quality for 85 studied wells, the process of entering data and using them in the neural fuzzy network was carried out. In the training phase, by changing the pattern of data entry and analysis the neuro-fuzzy network sensitivity to input data, it was concluded those three parameters: the mean water table, the aquifer formations transmissivity, and distance from the pollutant centers are the main factors affecting groundwater quality inputs (Gholami et al. 2015). Digital maps of these three factors were prepared in the GIS environment and are presented in Figs. 4, 5 and 6. According to the results, the mean water table depth changes from 1 to 30 m and the mean transmissivity of the aquifer formations changes from 75 to 3250 (m2/day) in the studied plain. The results of the performance evaluation of the neuro-fuzzy network in the simulation of groundwater quality in the training stage are presented in Table 4. In fact, Table 4 reflects the error in the training phase and according to that, good results were obtained in the training phase. The LinearTanhAxon optimal transfer function and the Levenberg–Marquardt (LM) optimal learning techniques (as the best algorithms for training the network and also as the modern second-order back-propagation algorithm) were used to train the network (Bishop 1995). Correlation between the observed and simulated values (R) in the training stage is equal to 0.9. Moreover, Table 5 shows the results of the evaluation of the neuro-fuzzy network efficiency in the simulation of groundwater quality in the test or validation stage. In the test stage, the simulated and actual GWQI values were compared and this comparison is presented in Fig. 8. The results show that the neuro-fuzzy network has acceptable accuracy in simulating of the groundwater quality index (R = 0.89). Such results are consistent with the results of other researchers (Samani et al. 2007). The aim of this study is to simulate groundwater quality in the places with no secondary data. Therefore, neuro-fuzzy network can be applied to evaluate groundwater quality with an acceptable accuracy. For this purpose, the raster layers of the groundwater quality factors or the neuro-fuzzy network inputs were prepared in GIS with the similar pixel sizes (1 × 1 m) and then were combined with each other. After combining these layers, a geo-referenced raster layer was generated that contains three input parameters associated with network. Data of the pixels with coordinates was entered from GIS to the neuro-fuzzy network. Then, it was used from the validated optimal neuro-fuzzy network to estimate GWQI index for all of the pixels. The neuro-fuzzy network estimated the GWQI value for each pixel and then the estimated values with coordinates (X, Y) were imported to ArcGIS environment. In this stage, GIS will be as the post-processor. Here, GIS capabilities were used for monitoring the results of the neuro-fuzzy network as the raster layer of groundwater quality and finally the results are presented in Fig. 9. As can be seen in this figure, in order to evaluate the results accuracy, the location of the 85 drinking water wells and their GWQI values were inserted on the layer or the groundwater quality map. Comparison between the observed and estimated GWQI values (groundwater quality classes in Fig. 10) shows the performance of the neuro-fuzzy network and also high performance of the approach of integrating the neuro-fuzzy network and GIS in groundwater quality modeling (Gangopadhyay et al. 1999; Krishna et al. 2008). The groundwater quality based on GWQI index is classified into three categories included very good quality (GWQI > 0.15), good quality (0.04 < GWQI < 0.15) and poor quality (GWQI < 0.04) (Saeedi et al. 2010). As can be seen in the resulting map, the presented methodology in this study could provide an acceptable simulation for the classification of groundwater quality and the current error in simulation, not enter any prejudice to the water quality classification accuracy of a plain or a watershed (Figs. 3, 7).

Table 3 Parameters affecting groundwater quality and GWQI indices in the some drinking water wells
Fig. 4
figure 4

The map of the mean transmissivity of aquifer formations in the study plain (m2/day)

Fig. 5
figure 5

The map of the mean water table depth in the study plain (m)

Fig. 6
figure 6

The map of distance from contaminant centers (villages, cities and industries) in the Mazandaran Plain (m)

Fig. 7
figure 7

Evaluation of CANFIS efficiency for groundwater quality simulation during training stage throughout comparison between the estimated and actual GWQI values (R 2 = 0.9)

Table 4 The results of neuro-fuzzy network training and optimization (training stage)
Table 5 The results of neuro-fuzzy testing for validating network
Fig. 8
figure 8

Evaluation of CANFIS efficiency for groundwater quality simulation during test stage (validation) throughout comparison between the estimated and actual GWQI values

Fig. 9
figure 9

Evaluation of CANFIS efficiency for groundwater quality simulation during test (validation) stage throughout comparison between the estimated and actual GWQI values (R 2 = 0.8)

Fig. 10
figure 10

The map of groundwater quality (GWQI index) is resulted from integration of neuro-fuzzy inference system and GIS capabilities. In this map, we evaluated the results accuracy using a comparison between the simulated GWQI values with the actual GWQI values

Discussion

Based on the various studies conducted on the superior performance of neuro-fuzzy network in modeling and prediction of time-series hydrologic problems and variables (Ullah and Choudhury 2013), it is clear that the capabilities of a CANFIS model depends on its structure and the nature of the problem that we have to solve, is different. By selecting the appropriate type and the number of MFs for each input and the use of appropriate and adaptive fuzzy neural network and its proper calibration, we can say that this technique is very effective and useful and can therefore be used as a comprehensive tool for groundwater quality assessment.

The results of this study show a high capability of the neuro-fuzzy network in simulation of groundwater quality. According to the results of the neuro-fuzzy network performance for different makeup and compared the results with observed data, it can be said that three factors included the mean water table, the aquifer formations transmissivity and distance from the pollutant centers are the most important factors affecting groundwater quality in the study plain. Neuro-fuzzy network modeling is an efficient tool, but an important point in this regard, is the application of its results. We used neuro-fuzzy network to simulate groundwater quality and also GIS was used to increase the accuracy and rapidness of modeling and monitoring of the results of the neuro-fuzzy network in large-scale. Previous researches results show the high performance of the neuro-fuzzy network with the structure of the Takagi–Sugeno–Kang (TSK) model in hydrologic simulations as well (Jang et al. 1997; Jacquin and Shamseldin 2006; Lohani et al. 2006; Talei et al. 2010; Heydari and Talaee 2011). In terrain and optimization stages, we found that TSK model is the best structure for neuro-fuzzy network in the groundwater quality simulation. The main focus of this study is the automatic connection of the neuro-fuzzy network with GIS in order to use the results for all users. Moreover, we selected the Levenberg–Marquardt learning technique as the best algorithms for training the network. In training stage, that the mean square error (MSE) and coefficient of determination (R 2) were estimated 0.01 and 0.9, respectively. After network training and optimization, the optimal neuro-fuzzy network structure was defined. In the testing stage, mean square error (MSE) and coefficient of determination (R 2) measures were 0.0004 and 0.8, respectively. Therefore, the results show that the neuro-fuzzy network can be used in the groundwater quality simulation with an acceptable accuracy. The base of this study is automatic relation between neuro-fuzzy network and GIS for simulating groundwater quality and mapping of the results. However, the results should have capability of overlay with other digital geo-referenced data. We can provide a high volume of input data in a short time using GIS and neuro-fuzzy network can simulate hydrologic parameters in a short time for the sites without the groundwater quality data. Finally, the integration of neuro-fuzzy network and GIS can present the simulated results in a manner of digital maps. Moreover, the groundwater quality map shows that the quality of groundwater is improper in terms of potable water quality standards of Iran in the most of the studied area. Therefore, it is necessary to plan to conserve and optimize usage of water resources. In modeling process, the main thing is the accuracy of input and output. Thus, integration of neuro-fuzzy network and geographic information system can be used for water quality simulation and the efficiency of this methodology is dependent on the accuracy of the input data and to select the appropriate input parameters for the network correctly.

Conclusion

This paper introduces an integrated CANFIS model for assessing groundwater quality. Input data of CANFIS network for groundwater modeling include the mean water table, the aquifer formations transmissivity and distance from the pollutant centers. The output of the CANFIS network was groundwater quality index. We evaluated the CANFIS performance by the statistical evolution criteria; which shows that this method significantly outperforms the assessing process and has a very good and acceptable performance for assessing groundwater quality. To sum up, the findings of this study indicated that groundwater quality assessed using the CANFIS model were in good agreement with experimental data, indicating CANFIS model gives the best results and hence, can be employed successfully in assessing groundwater quality. Thus, the results of this study confirm the general enhancement achieved by using neuro-fuzzy network in many other hydrological fields (Heydari and Talaee 2011; Wu et al. 2014). It is clear that we could select a smaller size of the pixels that causes the more exact input about distance from contaminant centers, but a high number of the input pixels impose a limitation for simulating in CANFIS model (ANN software). Also, we have not accessed the exact data for two main inputs, namely, water table depth and transmissivity of aquifer formation. According to the results, groundwater quality in the most of the study plain has a fairly low quality in terms of potable water standards. Hence, the move towards conservation and optimal utilization is necessary and the aquifers of the study area needs respective degree of quality improvement (Yousefi and Naeej 2008; Sharma and Patel 2010). It is important to note that according to the results obtained from this study, to access optimal conditions, study area needs frequent monitoring as well as appropriate management practices. As a consequence, the findings of this study clearly indicate the possibility for using CANFIS and GIS for highly successful assessment of groundwater quality. Also, artificial intelligence computational methods, such as CANFIS model can be applied successfully as a very useful and accurate tool for assessing groundwater quality, therefore suggested for assessing groundwater quality in similar problems.