<?xml version="1.0" encoding="utf8"?>
 <!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN" "http://jats.nlm.nih.gov/publishing/1.0/JATS-journalpublishing1.dtd"> <article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="1.0" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">IJNN</journal-id>
      <journal-title-group>
        <journal-title>International Journal of Neuroinformatics</journal-title>
      </journal-title-group>
      <issn pub-type="epub">0000-0000</issn>
      <issn pub-type="ppub">0000-0000</issn>
      <publisher>
        <publisher-name>Open Access Pub</publisher-name>
        <publisher-loc>United States</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">ijnn-20-3262</article-id>
      <article-categories>
        <subj-group>
          <subject>research-article</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>RESinvANFIS v1.0 - A Versatile MATLAB Tool for Inverting Geoelectrical Resistivity Sounding Data using Neuro Fuzzy Technique</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>A.</surname>
            <given-names>Stanley Raj</given-names>
          </name>
          <xref ref-type="aff" rid="idm1850752316">1</xref>
          <xref ref-type="aff" rid="idm1850754044">*</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>D.</surname>
            <given-names>Hudson Oliver</given-names>
          </name>
          <xref ref-type="aff" rid="idm1850754476">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Y.</surname>
            <given-names>Srinivas</given-names>
          </name>
          <xref ref-type="aff" rid="idm1850754548">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>J.P.</surname>
            <given-names>Angelena</given-names>
          </name>
          <xref ref-type="aff" rid="idm1850752316">1</xref>
        </contrib>
      </contrib-group>
      <aff id="idm1850752316">
        <label>1</label>
        <addr-line>Department of Physics, Loyola College, Nungambakkam, Chennai 600 034, India</addr-line>
      </aff>
      <aff id="idm1850754476">
        <label>2</label>
        <addr-line>Department of Physics, Scott Christian College, Nagercoil, India </addr-line>
      </aff>
      <aff id="idm1850754548">
        <label>3</label>
        <addr-line>Centre for GeoTechnology, Manonmaniam Sundaranar University, Tirunelveli, Tamil Nadu-627012, India.</addr-line>
      </aff>
      <aff id="idm1850754044">
        <label>*</label>
        <addr-line>Corresponding author</addr-line>
      </aff>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Loai</surname>
            <given-names>Aljerf</given-names>
          </name>
          <xref ref-type="aff" rid="idm1850596788">1</xref>
        </contrib>
      </contrib-group>
      <aff id="idm1850596788">
        <label>1</label>
        <addr-line>Department of Life Sciences, Faculty of Dentistry, University of Damascus, Syria.</addr-line>
      </aff>
      <author-notes>
        <corresp>Correspondence: A. Stanley Raj, Department of Physics, Loyola College, Nungambakkam, Chennai 600034, India. Tel: +91 99401 20058. Fax: +91 44 26840262. Email: <email>stanleyraj_84@yahoo.co.in</email></corresp>
        <fn fn-type="conflict" id="idm1842027500">
          <p>The authors have no conflicts of interest to declare. </p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub" iso-8601-date="2020-04-13">
        <day>13</day>
        <month>04</month>
        <year>2020</year>
      </pub-date>
      <volume>1</volume>
      <issue>1</issue>
      <fpage>1</fpage>
      <lpage>12</lpage>
      <history>
        <date date-type="received">
          <day>11</day>
          <month>03</month>
          <year>2020</year>
        </date>
        <date date-type="accepted">
          <day>11</day>
          <month>04</month>
          <year>2020</year>
        </date>
        <date date-type="online">
          <day>13</day>
          <month>04</month>
          <year>2020</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© </copyright-statement>
        <copyright-year>2020</copyright-year>
        <copyright-holder>A. Stanley Raj, et al.</copyright-holder>
        <license xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
          <license-p>This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
        </license>
      </permissions>
      <self-uri xlink:href="http://openaccesspub.org/ijnn/article/1325">This article is available from http://openaccesspub.org/ijnn/article/1325</self-uri>
      <abstract>
        <p>Geoelectrical resistivity data is used for estimating the subsurface features of earth. It is very difficult to estimate the depth and true resistivity analytically, therefore many mathematical models approximates the result. The approximation relies on many parameters as the heterogenous model of earth is difficult to map. Conventional interpretation algorithm mostly uses the forward modelling technique which is limited for different lithologies. Here we presented ResinvANFIS v1.0 software platform to invert any type (A, Q, K, H or any mixed data types) of resistivity data having AB/2 and apparent resistivity data as input. This kind of generalised platform has not been done elsewhere to invert data directly using soft computing approach.</p>
      </abstract>
      <kwd-group>
        <kwd>ANFIS tool</kwd>
        <kwd>Resistivity Inversion</kwd>
        <kwd>Vertical Electrical Sounding</kwd>
      </kwd-group>
      <counts>
        <fig-count count="7"/>
        <table-count count="1"/>
        <page-count count="12"/>
      </counts>
    </article-meta>
  </front>
  <body>
    <sec id="idm1850601684" sec-type="intro">
      <title>Introduction</title>
      <sec id="idm1850602116">
        <title>Motivation and Significance</title>
        <p>Many conventional methods were adopted to invert geoelectrical resistivity data. A tool with soft computing approach is new in the field of inverting resistivity data. Previous researchers’ works on soft computing research acclaims the ‘conventional/traditional’ approach on inversion. For example, the system and architecture of soft computing were designed on the basis of previously learned examples. Training is a major part that is the primary requirement for any artificial intelligent technique. Researchers studied the artificial intelligent techniques to predict lost circulation <xref ref-type="bibr" rid="ridm1843230828">1</xref><xref ref-type="bibr" rid="ridm1843065820">11</xref>. Additionally, with lack of training datasets will result in inaccuracy of bringing out good optimisation. Training datasets will precise the result invariably. This needs extra time to spend for training. Field datasets with much complex geological settings will definitely make the problem more ill-posed. Ten datasets of two square kilometre radius would not be a good optional for training and testing for eleventh dataset. The reliability and performance lies in the training datasets and the way of training. This research work prevails in modifying the training database in such a way that generating the synthetic datasets of its own.</p>
        <p>Few researchers applied neuro fuzzy algorithm to interpret geoelectrical resistivity data <xref ref-type="bibr" rid="ridm1843050588">12</xref><xref ref-type="bibr" rid="ridm1843061820">13</xref><xref ref-type="bibr" rid="ridm1843059804">14</xref>. This software provides the platform of neurofuzzy inversion technique for inverting geoelectrical data. It is a novel method in the sense that applying the generalised approach for any kind of field datasets. This software will work for any field data collected around the world with any kind of geological settings. It is not so in the conventional artificial intelligent techniques where it needs more training datasets to enhance the performance. This proved to be the versatile algorithm. Over fitting problem has been avoided by automatic adjustment of training parameters with respect to the output error percent. To restrict the output to minimum error percent the system will adjust the parameters in the mean time while training.  This proposed technique proved to be helpful for researchers relying on 1D vertical electrical sounding (Wenner/ Schlumberger methods) data. The intention of this development of software is to promote the soft computing inversion techniques which are more applicable and reliable in the field of earth sciences. The non-availability of any soft computing based software for inverting geoelectrical data in the market as ‘generalisation’ is difficult to build upon. This has been overcome in this algorithm. The overall impact of this software is it will generate a new platform in soft computing experts to move on generalisation to unveil the heterogeneity of earth’s subsurface. Disparities between conventional and soft computing inversion, is now descending to the level of competing, each other in terms of attaining uniqueness. The experimental evidences have been presented for validating the algorithm.</p>
      </sec>
    </sec>
    <sec id="idm1850603268" sec-type="methods">
      <title>Methodology</title>
      <sec id="idm1850602980">
        <title>Vertical Electrical Sounding (VES)</title>
        <p>The electrical resistivity survey involved vertical electrical sounding (VES) is based on measuring the potentials between one pair of electrodes while transmitting a direct current between another pair of electrodes. Depth of current penetration is proportional to the spacing between the electrodes in homogenous ground, and varying the electrode separation provides information about the stratification of the ground. Vertical electrical soundings are applied to a horizontally or approximately horizontally layered earth. Geological targets may be, e.g., sedimentary rocks of different lithologies, layered aquifers of different properties, sedimentary rocks overlaid igneous rocks, or the weathering zones of igneous rock in the most favourable case, the number of layers, their thickness and resistivity are outcome of a VES survey.</p>
        <p>The Vertical Electrical Sounding (VES) is a very appropriate method to explore layered underground. By performing a VES, a linear electrode array is laid out in the field injecting a direct or a slow alternating current into the underground. In the center, the voltage response is measured simultaneously between two electrodes. Increasing depths are realized by enlargement of the current electrode from small distances in the beginning to larger at end.</p>
      </sec>
      <sec id="idm1850603700">
        <title>Electrode Configuration</title>
        <sec id="idm1850601468">
          <title>Wenner Configuration</title>
          <p>It is most commonly used electrode system. In the Wenner spread the electrodes are uniformly spaced in a line. It is the simplest and most asymmetrical arrangement. It, or modification of it, has been used widely in UK, USA, Canada and few other countries. For depth exploration using the Wenner spread, the exploration are mapping, the spacing remains constant and all four electrodes are moved electrodes are expanded about a fixed centre, increasing the spacing in steps. In mapping the apparent resistivity for each array position is plotted against the centre of the spread. The Wenner array on particular demands less instrument sensitivity, and reduction of data is marginally easier. The equation for calculating geometric factor Kequals to <bold>2</bold><bold>π</bold><bold>a</bold></p>
        </sec>
        <sec id="idm1850601252">
          <title>Schlumberger Configuration </title>
          <p>                This differs from the Wenner configuration in placing the two current electrodes with a much larger interval than that between the two inner potential electrodes.
In Schlumberger configuration the current electrodes are denoted by A and B while the potential electrodes are denoted by M and N. The interval between M and N may be denoted by b while interval AB/2 is denoted by s. The current electrodes AB may be placed as inner electrodes, and the two potential electrodes M and N as outer electrodes. This arrangement has the advantage that in depth sounding, long current carrying cables may be avoided. </p>
          <p>For this array, the geometric factor (K) is:</p>
          <p>
            <bold>K=</bold>
            <bold>π</bold>
            <bold>(</bold>
            <bold>AB</bold>
            <sup>2</sup>
            <bold> - MN</bold>
            <sup>
              <bold>2)</bold>
            </sup>
            <bold>/2MN</bold>
          </p>
          <p>In a survey with varying electrode spacing, field operations with the Schlumberger array are faster, because all four electrodes of the Wenner array are moved between successive observations, but with the Schlumberger array, only the outer ones need to be moved. The Schlumberger array is also said to be superior in distinguishing lateral from vertical variations in resistivity. So the survey was carried out in our study area with Schlumberger Configuration.</p>
          <p>Due to different geological settings the software uses multilayer model to evaluate the thickness and true resistivity. As the variations in resistivity with respect to the geology is much larger to estimate it. Thus the soft computing algorithm is designed to estimate the thickness and true resistivity with maximum number of iterations to optimize the result.</p>
        </sec>
      </sec>
      <sec id="idm1850567556">
        <title>Instrumentation</title>
        <p>Electrical resistivity methods are successful in delineating lateral and vertical variation of subsurface geology. Detailed survey has been carried out with DC Resistivity meter IGIS DDR3. This is very compact and highly reliable equipment, which is used for resistivity measurement. This DDR3 resistivity meter poses two main units such as Current unit and potential unit. This unit measures the potential difference across the potential electrodes as also the resistance values provide direct display over digital panel metre. The purpose of current unit is to send the current in a constant manner to the subsurface and the potential unit provides the accurate measurement of potential variations and displays it.</p>
        <p>The current and potential electrodes which are made up of conducting metals such as iron, copper, steel etc., are connected to the DDR3 resistivity meter through well insulated cables wounded on the winch.</p>
      </sec>
      <sec id="idm1850569356">
        <title>Software Functionalities</title>
        <sec id="idm1850567772">
          <title>Software Description</title>
          <p><xref ref-type="fig" rid="idm1850439972">Figure 1</xref> shows the flowchart for 1D VES inversion software-backend algorithm. Once the suitable third-party software programs are downloaded and installed, the process involves three steps. Step (1) the user have to define the parameters (viz., no. of epochs, permissible error). Step (2) the user have to give the data using the ‘import data’ push button (where the user can upload AB/2 and apparent resistivity values). If the user requires modifying the data, it can be accessed through ‘edit data’ push button. Step (3) which applies the inversion algorithm to model the data which is of generalised version that it will be applicable for any kind of data. </p>
          <fig id="idm1850439972">
            <label>Figure 1.</label>
            <caption>
              <title> Flow chart showing the RESinvANFIS workflow algorithm</title>
            </caption>
            <graphic xlink:href="images/image1.jpg" mime-subtype="jpg"/>
          </fig>
        </sec>
      </sec>
      <sec id="idm1850566044">
        <title>Software Functionalities, Work Flow and Example Model</title>
        <p>RESinvANFIS was created under the Graphical User Interface (GUI) of MATLAB environment. The package has been developed using the deploy tool of MATLAB and work as a stand alone application in windows. It is written primarily in MATLAB platform and the entire program is executed through series of automated instructions that will proceeds the inversion algorithm without any interruption. The MATLAB platform was chosen for applying the soft computing inversion algorithm efficiently. <xref ref-type="table" rid="idm1850444148">Table 1</xref></p>
        <fig id="idm1850445084">
          <label>Figure (A) Symmetrical electrode arrangement of Wenner array, (B) Schlumberger array 17.</label>
          <caption>
            <title/>
          </caption>
          <graphic xlink:href="images/image2.jpg" mime-subtype="jpg"/>
        </fig>
        <table-wrap id="idm1850444148">
          <label>Table 1.</label>
          <caption>
            <title> Resistivity variations for different geological formations</title>
          </caption>
          <table rules="all" frame="box">
            <tbody>
              <tr>
                <th>
                  <bold>S.NO</bold>
                </th>
                <td>
                  <bold>MATERIALS</bold>
                </td>
                <td>
                  <bold>RESISTIVITY(Ω-M)</bold>
                </td>
              </tr>
              <tr>
                <td>1.</td>
                <td colspan="2">
                  <bold>Igneous and Metamorphic Rocks</bold>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td>Granite</td>
                <td> 5×10<sup>3</sup>-10<sup>6</sup></td>
              </tr>
              <tr>
                <td> </td>
                <td>Basalt</td>
                <td>10<sup>3</sup>-10<sup>6</sup></td>
              </tr>
              <tr>
                <td> </td>
                <td>Marble</td>
                <td>10<sup>2</sup>-2.5×10<sup>8</sup></td>
              </tr>
              <tr>
                <td> </td>
                <td>Quartzite</td>
                <td>10<sup>2</sup>-2.5×10<sup>8</sup></td>
              </tr>
              <tr>
                <td> </td>
                <td>Slate</td>
                <td>6×10<sup>2</sup>-4×10<sup>7</sup></td>
              </tr>
              <tr>
                <td>2.</td>
                <td colspan="2">
                  <bold>Sedimentary Rocks</bold>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td> Sandstone</td>
                <td> 8-4×10<sup>3</sup></td>
              </tr>
              <tr>
                <td> </td>
                <td>Shale</td>
                <td>20-2×10<sup>3</sup></td>
              </tr>
              <tr>
                <td> </td>
                <td>Limestone</td>
                <td>50-4×10<sup>2</sup></td>
              </tr>
              <tr>
                <td>3.</td>
                <td colspan="2">
                  <bold>Soils and waters</bold>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td>Clay</td>
                <td>1-100</td>
              </tr>
              <tr>
                <td> </td>
                <td> Alluvium</td>
                <td>10-800</td>
              </tr>
              <tr>
                <td> </td>
                <td>Groundwater (Fresh)</td>
                <td>10-100</td>
              </tr>
              <tr>
                <td> </td>
                <td>Sea water</td>
                <td>0.2</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>RESinvANFIS is a standalone application that provides the output subsurface layer model (e.g. True resistivity and Thickness).   <xref ref-type="fig" rid="idm1850439972">Figure 1</xref> shows the ANFIS algorithm used for geoelectrical resistivity inversion. </p>
        <p>The software module runs in MATLAB 2012 or newer version installation. If MATLAB software is not available then install MCR (Matlab run time environment) installer to run the software for the system without MATLAB. </p>
      </sec>
      <sec id="idm1850531156">
        <title>Theory</title>
        <p>The basic structure of the fuzzy inference system maps input characteristics to input membership functions, input membership functions to rules, rules to a set of output characteristics, output characteristics to output membership functions, and the output membership functions to a single-valued output or a decision associated with the output. An example structure of the ANFIS with rule evaluation is shown in <xref ref-type="fig" rid="idm1850405508">Figure 2</xref>. The architecture shows the adaptive node (square) and fixed node (round).</p>
        <fig id="idm1850405508">
          <label>Figure 2.</label>
          <caption>
            <title> An example structure of the ANFIS with rule evaluation </title>
          </caption>
          <graphic xlink:href="images/image3.jpeg" mime-subtype="jpeg"/>
        </fig>
        <p>The selection of the FIS is the major concern when designing an ANFIS to model a specific target system. In the current study, the Sugeno type FIS model is chosen, since the consequent part of this FIS is a linear equation, and the parameters can be estimated by a hybrid error evaluation method. A typical fuzzy logic system with neural network structure consists of four major components: fuzzification interface, fuzzy rule base, fuzzy inference engine and defuzzification interface. The fuzzification interface (fuzzifier) converts numerical input data into suitable linguistic terms, which may be viewed as labels of the fuzzy sets. A fuzzy rule represents a fuzzy relation between two fuzzy sets. It takes the form such as “If X is A then Y is B”. Each fuzzy set is characterized by appropriate membership functions that map each element to a membership value between 0 and 1. A fuzzy rule base contains a set of fuzzy rules, where each rule may have multiple inputs and multiple outputs. Fuzzy inference can be realized by using a series of fuzzy operations. The defuzzification interface (defuzzifier) combines and converts linguistic conclusions (fuzzy membership functions) into crisp numerical outputs. The crisp output is generally obtained using different defuzzification strategies. It amalgamates two procedures, the logic decision and defuzzification procedures into one composite          procedure <xref ref-type="bibr" rid="ridm1843079708">7</xref>. The neuro-fuzzy model originally presented by Sugeno and Yasukawa in 1993 <xref ref-type="bibr" rid="ridm1843052892">16</xref>. The flow chart of the program is shown in <xref ref-type="fig" rid="idm1850439972">Figure 1</xref>.</p>
        <p><italic>Rule 1:</italic> If <italic>x</italic> is A<sub>1</sub> and <italic>y</italic> is B<sub>1</sub>, then f<sub>1</sub>=<italic>p</italic><sub>1</sub><italic>x</italic> + <italic>q</italic><sub>1</sub><italic>y</italic> +<italic>r</italic><sub>1</sub></p>
        <p><italic>Rule 2:</italic> If <italic>x</italic> is A<sub>2</sub> and <italic>y</italic> is B<sub>2</sub>, then f<sub>2</sub>=<italic>p</italic><sub>2</sub><italic>x</italic>+<italic>q</italic><sub>2</sub><italic>y</italic>+<italic>r</italic><sub>2</sub></p>
        <p>Initially, the data have been subjected to clustering analysis where subtractive clustering technique has been used before applying ANFIS algorithm. The resultant membership functions have been mapped to raise certain degree of membership grade between the input and output, and serves to raise the firing strengths for each membership function. Each function has a significant feature on rule framing and consequent parameters. </p>
        <p>After importing AB/2 and apparent resistivity data, it is subjected to subtractive clustering algorithm (“<italic>genfis2” command used in MATLAB software</italic>). The cluster centers formed have been assigned a particular membership function (here “<italic>gaussmf</italic><italic>”- Gaussian membership function”</italic> command is used in MATLAB software). Each membership function corresponds to each rule. After framing the rules, the ANFIS network has been initialized with hybrid learning algorithm with least square estimation and gradient descent method. The synthetic dataset has been obtained after the training, and this dataset has been subjected to slope variation method where the true resistivity and depth information are obtained. At this stage the primary training stops, and the output parameters i.e., synthetic datasets with corresponding true resistivity and depth are ready for training with ANFIS major class training as input and output parameters respectively. The output multilayer model has been compressed by linear regression so as to obtain a crisp compressed layer model.</p>
        <p>ANFIS system consists of 5 layers; layer symbolized by the box is a layer that is adaptive  and symbolized by the circle is fixed (<xref ref-type="fig" rid="idm1850405508">Figure 2</xref>). Output of each layer is symbolized by <italic>O </italic><sub><italic>1,i</italic></sub> with <italic>i</italic> is a sequence of nodes and <italic>1</italic> is the sequence showing the lining. Here is an explanation for each layer <xref ref-type="bibr" rid="ridm1843095308">6</xref>, namely:</p>
        <p>
          <italic>Layer 1</italic>
        </p>
        <p>Serves to raise the degree of membership and the membership used here is Gaussian membership function.  </p>
        <p><italic>O</italic><sub><italic>1,i</italic></sub><italic>= </italic><italic>μ</italic><sub><italic>A</italic></sub><italic>(x)</italic>,<italic>i</italic>= 1,2 ….(1)</p>
        <p>and</p>
        <p><italic>O</italic><sub><italic>1,i</italic></sub><italic>= </italic><italic>μ</italic><sub><italic>B</italic></sub><italic>(y)</italic>,<italic>i</italic>= 1,2..  ….(2)</p>
        <p><sub> </sub>with <italic>x</italic> is the AB/2 values and <italic>y</italic> is the apparent resistivity values chosen as the input for the <italic>i</italic>-th node for primary class training, whereas for the major class training, AB/2 and apparent resistivity values of synthetic data have been chosen as input and the corresponding true resistivity and depth values have been chosen as output values for the<italic>i</italic>-th node</p>
        <fig id="idm1850346228">
          <graphic xlink:href="images/image4.png" mime-subtype="png"/>
        </fig>
        <p>By { σand c} are the parameters of membership function or called as a parameter premise. σ signifies the cluster bandwidth, and c represents the cluster center.</p>
        <p>
          <italic>Layer 2</italic>
        </p>
        <p>Serves to evoke <italic>firing-strength</italic> by multiplying each input signal.</p>
        <p><italic>O</italic><sub><italic>2,i</italic></sub><italic> = </italic><italic>w</italic><sub><italic>i</italic></sub><italic> = </italic><italic>μ</italic><sub><italic>A</italic></sub><italic>(x) </italic>x <italic>μ</italic><sub><italic>B</italic></sub><italic>(y),    </italic><italic>i</italic><italic> =</italic>1, 2<italic>. </italic><italic> ….</italic>(3)</p>
        <p>
          <italic>Layer 3</italic>
        </p>
        <p>Normalizes the <italic>firing strength</italic></p>
        <fig id="idm1850338452">
          <graphic xlink:href="images/image5.png" mime-subtype="png"/>
        </fig>
        <p>
          <italic>Layer 4</italic>
        </p>
        <p>Calculates the output based on the parameters of the rule <italic>consequent</italic> {<italic>p</italic><sub><italic>i</italic></sub><italic> ,</italic><italic> q</italic><sub><italic>i </italic></sub><italic>and </italic><italic>r</italic><sub><italic>i</italic></sub>}</p>
        <fig id="idm1850295708">
          <graphic xlink:href="images/image6.png" mime-subtype="png"/>
        </fig>
        <p>
          <italic>Layer 5</italic>
        </p>
        <p>Counts the ANFIS output signal by summing all incoming signals will produce</p>
        <fig id="idm1850294340">
          <graphic xlink:href="images/image7.png" mime-subtype="png"/>
        </fig>
        <p>An adaptive network is a multilayer feedforward network in which each node performs a particular function (<italic>node function)</italic> on incoming signals as well as a set of parameters pertaining to this node. The formulas for the node functions may vary from node to node, and the choice of each node function depends on the overall input-output function which the adaptive network is required to carry out. Note that the links in an adaptive network only indicate the flow direction of signals between nodes; no weights are associated with the       links <xref ref-type="bibr" rid="ridm1843079708">7</xref>.</p>
        <p>The parameter set of an adaptive network is the union of the parameter sets of each adaptive node. In order to achieve a desired input-output mapping, these parameters are updated according to the given training data. A hybrid method consists of two phases <xref ref-type="bibr" rid="ridm1843101140">5</xref>: </p>
        <p>1. Gradient descent which computes error signals recursively from the output layer backward to the input nodes, and </p>
        <p>2. Least squares method, which finds a feasible set of consequent parameters <xref ref-type="bibr" rid="ridm1843338692">4</xref><xref ref-type="bibr" rid="ridm1843082804">9</xref>. This sequential method of LSE is more efficient for systems with changing characteristics. It can be calculated iteratively using the sequential formulas widely adopted in the literature <xref ref-type="bibr" rid="ridm1843233060">2</xref><xref ref-type="bibr" rid="ridm1843095308">6</xref><xref ref-type="bibr" rid="ridm1843077836">8</xref><xref ref-type="bibr" rid="ridm1843055700">15</xref>.</p>
      </sec>
      <sec id="idm1850487524">
        <title>Software Validation</title>
        <p>Data 1 collected from published work of Banerjee et al. in 2011 <xref ref-type="bibr" rid="ridm1843241276">3</xref> of Jaduguda (Jharkhand, India). The sounding data was inverted using the proposed automatic inversion and the results are shown below.</p>
        <p><xref ref-type="fig" rid="idm1850321196">Figure 3</xref> shows the main panel for inverting the geoelectrical sounding data. On inverting the data it produces multilayer model with subsurface regressed layer model (<xref ref-type="fig" rid="idm1850317740">Figure 4</xref> (a) and <xref ref-type="fig" rid="idm1850317740">Figure 4</xref> (b) respectively). <xref ref-type="fig" rid="idm1850317740">Figure 4</xref> (c) and (d) shows the number of rules and membership functions involved while training the data. <xref ref-type="fig" rid="idm1850317740">Figure 4</xref> (e) shows the appropriate litholog section of the corresponding data. Data 2 obtained form the Kanyakumari district (77 30' 50.29" E, 8 6' 31.79" N). </p>
        <p><xref ref-type="fig" rid="idm1850319468">Figure 5</xref> shows the main panel after inversion. On inverting the data it produces multilayer model with subsurface regressed layer model (<xref ref-type="fig" rid="idm1850316732">Figure 6</xref> (a) and <xref ref-type="fig" rid="idm1850316732">Figure 6</xref> (b) respectively). <xref ref-type="fig" rid="idm1850316732">Figure 6</xref> (c) and (d) shows the number of rules and membership functions involved while training the data. <xref ref-type="fig" rid="idm1850316732">Figure 6</xref> (e) shows the appropriate litholog section of the corresponding data. <xref ref-type="fig" rid="idm1850315940">Figure 7</xref> shows the actual litholog section for the collected data which correlates with the interpreted results.</p>
        <fig id="idm1850321196">
          <label>Figure 3.</label>
          <caption>
            <title> Main panel for inverting the geoelectrical sounding data </title>
          </caption>
          <graphic xlink:href="images/image8.jpg" mime-subtype="jpg"/>
        </fig>
        <fig id="idm1850317740">
          <label>Figure 4.</label>
          <caption>
            <title> RESinvANFIS inversion results for geolectrical data obtained from Data 1 </title>
          </caption>
          <graphic xlink:href="images/image9.jpg" mime-subtype="jpg"/>
        </fig>
        <fig id="idm1850319468">
          <label>Figure 5.</label>
          <caption>
            <title> Main panel for geoelectrical inversion of Data 2 </title>
          </caption>
          <graphic xlink:href="images/image10.jpg" mime-subtype="jpg"/>
        </fig>
        <fig id="idm1850316732">
          <label>Figure 6.</label>
          <caption>
            <title> RESinvANFIS geoelectrical data inversion results for data 2 </title>
          </caption>
          <graphic xlink:href="images/image11.jpg" mime-subtype="jpg"/>
        </fig>
        <fig id="idm1850315940">
          <label>Figure 7.</label>
          <caption>
            <title> Litholog section for validating </title>
          </caption>
          <graphic xlink:href="images/image12.jpg" mime-subtype="jpg"/>
        </fig>
      </sec>
      <sec id="idm1850461212">
        <title>Impacts and Uses</title>
        <p>RESinvANFIS provides excellent platform for geophysical researchers who got involved in interpreting data with soft computing approach. With this new algorithm, anyone can invert the geoelectrical sounding data. The modelling methodology will improve the pursuit of existing conventional interpretations algorithm that will rapidly allow the researchers to rely on soft computing methods in order to promote more number of research works which are helpful to the scientific societies. Below mentioned are some of the avenues of research that will benefit from RESinvANFIS. The software can be downloaded from the github repository (<ext-link xlink:href="https://github.com/stanleyraj/RESinvANFIS-v-1.0" ext-link-type="uri">https://github.com/stanleyraj/RESinvANFIS-v-1.0</ext-link>)</p>
        <p>In recent years, ANFIS modelling technique has been successfully employed to model complex systems, where classical methods e.g. mathematical and                model-free methods are inapplicable due to lack of sufficient information <xref ref-type="bibr" rid="ridm1843069780">10</xref>. </p>
        <p>ANFISis much more complex than the fuzzy inference systems discussed so far, and is not available for all of the fuzzy inference system options. Specifically, ANFIS only supports Sugeno-type systems, and these must have the following properties (MATLAB, 2008):</p>
        <p>Have a single output, obtained using defuzzification methods (weighted average method used here). All output membership functions must be of the same type and either be linear or constant.</p>
        <p>Have no rule sharing. Different rules cannot share the same output membership function, namely the number of output membership functions must be equal to the number of rules.</p>
        <p>Have unity weight for each rule.</p>
        <p>An error occurs if  FIS structure does not comply with these constraints.</p>
        <p>Moreover, ANFIS cannot accept all the customization options that basic fuzzy inference allows. That is, one cannot create their own membership or defuzzification functions in the ANFIS architecture, unless one can use the available membership and defuzzification functions.</p>
      </sec>
      <sec id="idm1850461860">
        <title>Future Trends and Conclusions</title>
        <p>The main areas of ANFIS technique have been covered in the previous sections. The major impact of applying these logics in geophysical, geological and reservoir engineering applications will produce a promising and more reliable output. Finally, quantification and reduction of uncertainty and the confidence interval are possible by more comprehensive use of fuzzy logic and neural networks.  The true benefit of soft computing algorithm is to use the intelligent techniques in combination (hybrid) rather than isolation, has not been demonstrated to a full extent. This research addresses the particular areas for future research: hybrid systems and their application.</p>
      </sec>
      <sec id="idm1850458332">
        <title>Hybrid Systems</title>
        <p>Many hybrid systems can be built on the combining platform of neural networks, fuzzy logic and neuro fuzzy networks. For example, fuzzy logic can be used to combine results from several neural networks; Although some hybrid systems have been built, this present work has attained promising results when combining the fuzzy logic and neural networks. The field validation proves that this algorithm can have the bright future for estimating many non-linear problems.</p>
      </sec>
      <sec id="idm1850460276">
        <title>Acknowledgements</title>
        <p> We thank Manonmaniam Sundaranar University for carrying out the research by providing enough software package and environment necessary for developing the software. Also, the author is willing to thank the management of Loyola College to publish this article. Moreover the improvement comes from the criticism of notable professors Dr. KK Sharma, Dr. N. Sundararajan and friends Dr. Joe Vivek and Dr. Saravanan. Thanks for them too.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ridm1843230828">
        <label>1.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Agin</surname>
            <given-names>F</given-names>
          </name>
          <name>
            <surname>Khosravanian</surname>
            <given-names>R</given-names>
          </name>
          <name>
            <surname>Karimifard</surname>
            <given-names>M</given-names>
          </name>
          <name>
            <surname>Jahanshahi</surname>
            <given-names>A</given-names>
          </name>
          <article-title>Application of adaptive neuro-fuzzy inference system and data mining approach to predict lost circulation using DOE technique (Case study: Maroon oilfield)</article-title>
          <date>
            <year>2018</year>
          </date>
          <publisher-name>Petroleum</publisher-name>
        </mixed-citation>
      </ref>
      <ref id="ridm1843233060">
        <label>2.</label>
        <mixed-citation xlink:type="simple" publication-type="book">
          <name>
            <surname>K</surname>
            <given-names>J Astrom</given-names>
          </name>
          <name>
            <surname>Wittenmark</surname>
            <given-names>B</given-names>
          </name>
          <date>
            <year>1984</year>
          </date>
          <chapter-title>Computer controller systems: Theory and Design</chapter-title>
          <publisher-name>Prentice- hall</publisher-name>
          <publisher-loc>China</publisher-loc>
        </mixed-citation>
      </ref>
      <ref id="ridm1843241276">
        <label>3.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>K</surname>
            <given-names>S Banerjee</given-names>
          </name>
          <name>
            <surname>S</surname>
            <given-names>P</given-names>
          </name>
          <name>
            <surname>A</surname>
            <given-names>K Sarangi</given-names>
          </name>
          <name>
            <surname>Sengupta</surname>
            <given-names>D</given-names>
          </name>
          <article-title>Delineation of subsurface structures using resistivity, VLF and radiometric measurements around a U- tailings pond and its hydrological implication</article-title>
          <source>Physics and Chemistry of Earth</source>
          <volume>36</volume>
          <issue>16</issue>
          <fpage>1345</fpage>
          <lpage>1352</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843338692">
        <label>4.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Bjorck</surname>
            <given-names>A</given-names>
          </name>
          <article-title>Numerical methods for least squares problems,SIAM</article-title>
          <date>
            <year>1996</year>
          </date>
          <publisher-loc>Philadelphia</publisher-loc>
        </mixed-citation>
      </ref>
      <ref id="ridm1843101140">
        <label>5.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Cojbasic</surname>
            <given-names>Z</given-names>
          </name>
          <name>
            <surname>Stephan</surname>
            <given-names>V</given-names>
          </name>
          <name>
            <surname>H</surname>
            <given-names>M Gross</given-names>
          </name>
          <name>
            <surname>Wernstedt</surname>
            <given-names>J</given-names>
          </name>
          <date>
            <year>2003</year>
          </date>
          <source>Mech. Eng. Series</source>
          <volume>1</volume>
          <fpage>1393</fpage>
          <lpage>1406</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843095308">
        <label>6.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>G</surname>
            <given-names>C</given-names>
          </name>
          <name>
            <surname>K</surname>
            <given-names>S Sin</given-names>
          </name>
          <article-title>Adaptive filtering prediction and control. Englewoods cliffs, NJ:</article-title>
          <date>
            <year>1984</year>
          </date>
          <publisher-name>Prentice hall</publisher-name>
        </mixed-citation>
      </ref>
      <ref id="ridm1843079708">
        <label>7.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Jang</surname>
            <given-names>J S R</given-names>
          </name>
          <article-title>Adaptive-network based fuzzy inference system.IEEE</article-title>
          <date>
            <year>1993</year>
          </date>
          <source>Trans. Systems, Man and Cybernetics</source>
          <volume>23</volume>
          <fpage>665</fpage>
          <lpage>685</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843077836">
        <label>8.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Ljung</surname>
            <given-names>L</given-names>
          </name>
          <article-title>System identification: Theory for the user. Englewoods cliffs</article-title>
          <date>
            <year>1987</year>
          </date>
          <fpage>NJ:PrenticeHall.</fpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843082804">
        <label>9.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Madsen</surname>
            <given-names>K</given-names>
          </name>
          <name>
            <surname>Nielsen</surname>
            <given-names>N B</given-names>
          </name>
          <name>
            <surname>Tingleff</surname>
            <given-names>O</given-names>
          </name>
          <article-title>Methods for non-linear least squares problems.Technical Report Informatics</article-title>
          <date>
            <year>2004</year>
          </date>
          <institution>and Mathematical Modelling,Technical University of Denmark</institution>
        </mixed-citation>
      </ref>
      <ref id="ridm1843069780">
        <label>10.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Priyono</surname>
            <given-names>A</given-names>
          </name>
          <name>
            <surname>Ridwan</surname>
            <given-names>M</given-names>
          </name>
          <name>
            <surname>A</surname>
            <given-names>J</given-names>
          </name>
          <name>
            <surname>Rahmat</surname>
            <given-names>RAOK</given-names>
          </name>
          <name>
            <surname>Hassan</surname>
            <given-names>A</given-names>
          </name>
          <name>
            <surname>MAM</surname>
            <given-names>Ali</given-names>
          </name>
          <article-title>Generation of fuzzy rules with subtractive clustering</article-title>
          <date>
            <year>2005</year>
          </date>
          <source>Jurnal Teknologi</source>
          <volume>43</volume>
          <fpage>143</fpage>
          <lpage>153</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843065820">
        <label>11.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Sabah</surname>
            <given-names>M</given-names>
          </name>
          <name>
            <surname>Talebkeikhah</surname>
            <given-names>M</given-names>
          </name>
          <name>
            <surname>Agin</surname>
            <given-names>F</given-names>
          </name>
          <name>
            <surname>Talebkeikhah</surname>
            <given-names>F</given-names>
          </name>
          <name>
            <surname>Hasheminasab</surname>
            <given-names>E</given-names>
          </name>
          <article-title>Application of decision tree, artificial neural networks, and adaptive neuro-fuzzy inference system on predicting lost circulation: A case study from Marun oil field</article-title>
          <date>
            <year>2019</year>
          </date>
          <source>Journal of Petroleum Science and Engineering</source>
          <volume>177</volume>
          <fpage>236</fpage>
          <lpage>249</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843050588">
        <label>12.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Srinivas</surname>
            <given-names>Y</given-names>
          </name>
          <name>
            <surname>Stanley</surname>
            <given-names>Raj A</given-names>
          </name>
          <name>
            <surname>Hudson</surname>
            <given-names>Oliver D</given-names>
          </name>
          <name>
            <surname>Muthuraj</surname>
            <given-names>D</given-names>
          </name>
          <name>
            <surname>Chandrasekar</surname>
            <given-names>N</given-names>
          </name>
          <article-title>A robust behaviour of Feed Forward Back propagation algorithm of Artificial Neural Networks in the application of vertical electrical sounding data inversion</article-title>
          <date>
            <year>2012</year>
          </date>
          <source>Geoscience Frontiers (Elsevier)</source>
          <volume>3</volume>
          <issue>5</issue>
          <fpage>729</fpage>
          <lpage>736</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843061820">
        <label>13.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Srinivas</surname>
            <given-names>Y</given-names>
          </name>
          <name>
            <surname>Stanley</surname>
            <given-names>Raj A</given-names>
          </name>
          <name>
            <surname>Hudson</surname>
            <given-names>Oliver D</given-names>
          </name>
          <name>
            <surname>Muthuraj</surname>
            <given-names>D</given-names>
          </name>
          <name>
            <surname>Chandrasekar</surname>
            <given-names>N</given-names>
          </name>
          <article-title>A novel and proficient algorithm for the inversion of geoelectrical resistivity data using Adaptive Neuro Fuzzy Inference System (ANFIS). International journal of recent scientific research 4(4)</article-title>
          <date>
            <year>2013</year>
          </date>
          <fpage>485</fpage>
          <lpage>489</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843059804">
        <label>14.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Raj</surname>
            <given-names>Stanley</given-names>
          </name>
          <name>
            <surname>Srinivas</surname>
            <given-names>A</given-names>
          </name>
          <name>
            <surname>Hudson</surname>
            <given-names>Oliver Y</given-names>
          </name>
          <name>
            <surname>D</surname>
            <given-names/>
          </name>
          <article-title>Muthuraj, D.2014. A novel and generalized approach in the inversion of geoelectrical resistivity data using</article-title>
          <source>Artificial Neural Networks (ANN) J. Earth Syst. Sci</source>
          <volume>123</volume>
          <issue>2</issue>
          <fpage>395</fpage>
          <lpage>411</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843055700">
        <label>15.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Strobach</surname>
            <given-names>P</given-names>
          </name>
          <article-title>Linear prediction theory: A mathematical basis for adaptive systems</article-title>
          <date>
            <year>1990</year>
          </date>
          <publisher-loc>New york:Spring-verlag</publisher-loc>
        </mixed-citation>
      </ref>
      <ref id="ridm1843052892">
        <label>16.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>Sugeno</surname>
            <given-names>M</given-names>
          </name>
          <name>
            <surname>Yasukawa</surname>
            <given-names>T</given-names>
          </name>
          <article-title>A fuzzy logic based approach to qualitative modelling</article-title>
          <date>
            <year>1993</year>
          </date>
          <source>IEEE Transactions on Fuzzy Systems</source>
          <volume>1</volume>
          <fpage>1</fpage>
          <lpage>2</lpage>
        </mixed-citation>
      </ref>
      <ref id="ridm1843026676">
        <label>17.</label>
        <mixed-citation xlink:type="simple" publication-type="journal">
          <name>
            <surname>W</surname>
            <given-names>M Telford</given-names>
          </name>
          <name>
            <surname>L</surname>
            <given-names>P Geldart</given-names>
          </name>
          <name>
            <surname>R</surname>
            <given-names>E Sheriff</given-names>
          </name>
          <name>
            <surname>D</surname>
            <given-names>A Keys</given-names>
          </name>
          <date>
            <year>1976</year>
          </date>
          <source>Applied Geophysics:CambridgeUniversity.Press</source>
          <volume>860</volume>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>
