<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JSIP</journal-id><journal-title-group><journal-title>Journal of Signal and Information Processing</journal-title></journal-title-group><issn pub-type="epub">2159-4465</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jsip.2016.74018</article-id><article-id pub-id-type="publisher-id">JSIP-71143</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Non-Parametric Local Maxima and Minima Finder with Filtering Techniques for Bioprocess
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>K.</surname><given-names>K. L. B. Adikaram</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>M.</surname><given-names>A. Hussein</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>M.</surname><given-names>M. Effenberger</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>T.</surname><given-names>Becker</given-names></name><xref ref-type="aff" rid="aff4"><sup>4</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Computer Unit, Faculty of Agriculture, University of Ruhuna, Mapalana, Kamburupitiy, Sri Lanka</addr-line></aff><aff id="aff4"><addr-line>Lehrstuhl für Brau-und Getr&amp;amp;auml;nketechnologie, Technische Universit&amp;amp;auml;t München, Freising, Germany</addr-line></aff><aff id="aff3"><addr-line>Bavarian State Research Center for Agriculture, Institute for Agricultural Engineering and Animal Husbandry, Freising, Germany</addr-line></aff><aff id="aff2"><addr-line>Group Bio-Process Analysis Technology, Technische Universit&amp;amp;auml;t München, Freising, Germany</addr-line></aff><pub-date pub-type="epub"><day>11</day><month>10</month><year>2016</year></pub-date><volume>07</volume><issue>04</issue><fpage>192</fpage><lpage>213</lpage><history><date date-type="received"><day>July</day>	<month>21,</month>	<year>2016</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>October</month>	<year>8,</year>	</date><date date-type="accepted"><day>October</day>	<month>11,</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Typically extrema filtration techniques are based on non-parametric properties such as magnitude of prominences and the widths at half prominence, which cannot be used with data that possess a dynamic nature. In this work, an extrema identification that is totally independent of derivative-based approaches and independent of quantitative attributes is introduced. For three consecutive positive terms arranged in a line, the ratio (R) of the sum of the maximum and minimum to the sum of the three terms is always 2/n, where n is the number of terms and 2/3 ≤ R ≤ 1 when n = 3. R &gt; 2/3 implies that one term is away from the other two terms. Applying suitable modifications for the above stated hypothesis, the method was developed and the method is capable of identifying peaks and valleys in any signal. Furthermore, three techniques were developed for filtering non-dominating, sharp, gradual, low and high extrema. Especially, all the developed methods are non-parametric and suitable for analyzing processes that have dynamic nature such as biogas data. The methods were evaluated using automatically collected biogas data. Results showed that the extrema identification method was capable of identifying local extrema with 0% error. Furthermore, the non-parametric filtering techniques were able to distinguish dominating, flat, sharp, high, and low extrema in the biogas data with high robustness.
 
</p></abstract><kwd-group><kwd>Extrema Point</kwd><kwd> First Derivative</kwd><kwd> Peak Finder</kwd><kwd> Peaks and Valleys</kwd><kwd> Maxima and  Minima</kwd><kwd> Second Derivative</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In process control, the method of determining peaks and valleys of a signal, also known as identification of local maxima and minima, is crucial for describing and capturing certain signal properties. Identification of local maxima and minima is particularly useful in signal processing, consequently useful in inline/online process control and optimization. Thereby, for reliable feature extraction it is necessary to remove redundant maxima and minima in a processed signal. The issue has been extensively investigated in literature [<xref ref-type="bibr" rid="scirp.71143-ref1">1</xref>] - [<xref ref-type="bibr" rid="scirp.71143-ref4">4</xref>] , at which different techniques were reported. Magnitude-based methods and gradient-based methods are the most common two of such techniques. In magnitude based methods, the n<sup>th</sup> term of a series is x<sub>n</sub>; x<sub>n</sub> is considered as a peak (maximum) when x<sub>n</sub><sub>−</sub><sub>1</sub> &lt; x<sub>n</sub> &gt; x<sub>n</sub><sub>+1</sub>. In the same time, x<sub>n</sub> is considered as a valley (minimum) when x<sub>n</sub><sub>−</sub><sub>1</sub> &gt; x<sub>n</sub> &lt; x<sub>n</sub><sub>+</sub><sub>1</sub>. In gradient-based methods, extremum can be located by considering slope (gradient) of a certain point and acts as the most popular method [<xref ref-type="bibr" rid="scirp.71143-ref1">1</xref>] . When the slope is zero (first derivative is zero) at a certain point, the point can be described as a peak, valley or a saddle point. However, additional calculations are necessary to distinguish whether it is a peak, valley or saddle point. This encounter is solved by analysing the sign of the second derivative at the points of zero slopes [<xref ref-type="bibr" rid="scirp.71143-ref1">1</xref>] . The most popular methods of such are Newton Raphson method [<xref ref-type="bibr" rid="scirp.71143-ref2">2</xref>] and Taylor series-based derivatives [<xref ref-type="bibr" rid="scirp.71143-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.71143-ref4">4</xref>] which evaluate the derivatives numerically for a given data set.</p><p>Once the extrema points are identified, a filtration step is unavoidable to identify the dominant or relevant extrema. Magnitude of prominences and the widths at half prominence are two properties of signals that are commonly used to filter extrema [<xref ref-type="bibr" rid="scirp.71143-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.71143-ref6">6</xref>] . Furthermore, baseline correction is another technique used for finding out accurate maxima and minima [<xref ref-type="bibr" rid="scirp.71143-ref7">7</xref>] - [<xref ref-type="bibr" rid="scirp.71143-ref9">9</xref>] . In addition, there are numbers of methods for filtering unnecessary extrema based on template matching or masks [<xref ref-type="bibr" rid="scirp.71143-ref10">10</xref>] , such as Kalman filters [<xref ref-type="bibr" rid="scirp.71143-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.71143-ref12">12</xref>] and non-linear filters [<xref ref-type="bibr" rid="scirp.71143-ref13">13</xref>] . Nevertheless, all aforementioned approaches are parametric methods [<xref ref-type="bibr" rid="scirp.71143-ref14">14</xref>] , which question their robustness.</p><p>One of the main classifications existing in data analysis techniques is whether the method is parametric or non-parametric in its nature [<xref ref-type="bibr" rid="scirp.71143-ref15">15</xref>] . As mentioned above, most popular extrema filtering methods suffer from parametric concerns. Particularly, parametric methods use domain dependent value as detection criteria such as average, standard deviation, prominences of an extrema, and the widths at half prominence of an extrema. These criteria are based on domain dependent parameters and are therefore valid only for the considered data model or considered conditions in the domain. Thus, majorly parametric methods’ accuracy inherits the variables’ ranges and the conditions of the domain [<xref ref-type="bibr" rid="scirp.71143-ref16">16</xref>] . In reality, data capturing, especially within dynamic systems, such as biogas plants, is produced with various alterations. When the model or data range alters, whilst using parametric methods, it is necessary to recalibrate parameters or develop new models for monitoring, controlling, and data analysis, which is not of preference at process line.</p>Non-Parametric Methods<p>Non-parametric methods, also known as distribution-free methods, depend on fewer number of underlying assumptions [<xref ref-type="bibr" rid="scirp.71143-ref15">15</xref>] [<xref ref-type="bibr" rid="scirp.71143-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.71143-ref18">18</xref>] , which progress them more as robust methods [<xref ref-type="bibr" rid="scirp.71143-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.71143-ref19">19</xref>] . In this research a new non-parametric technique for extrema identification and filtration are developed. The proposed technique determines maxima and minima based on the relation of sum of terms in an arithmetic series. The same relation was used as a non-parametric method (MMS: a method based on maximum, minimum, and sum) for finding outliers in linear relation [<xref ref-type="bibr" rid="scirp.71143-ref20">20</xref>] and non-parametric linear fit identification method [<xref ref-type="bibr" rid="scirp.71143-ref21">21</xref>] .</p><p>In some situations outliers, peaks and valleys are the same, when a sudden extremum (variation) occurs, additionally extrema can be formed due to gradual increment and gradual decrement. The extrema generated in such situations do not behave as outliers and cannot be identified using the aforementioned outlier detection method based on maximum, minimum, and data series sum (MMS) [<xref ref-type="bibr" rid="scirp.71143-ref20">20</xref>] . Furthermore, MMS can only be used for identifying outliers in liner regression and is not suitable for finding outliers in non-linear series [<xref ref-type="bibr" rid="scirp.71143-ref20">20</xref>] . This work focuses on modifying the methods of MMS for locating extrema in non-linear data series.</p><p>The proposed extrema identification method does not involve first or second derivative, but rather compares, within a considered window, two ratios in relation with maximum, minimum, middle point, and the sum of data points. Furthermore, three extrema filtration methods were introduced in this work, which are capable of filtering extrema independent of the prominences or width of an extremum. All the methods introduced in this work are developed for harsh conditions involved in dynamic processes, especially biogas process data, thus handling: non-linear datasets and based upon non-parametric methods.</p></sec><sec id="s2"><title>2. Materials and Methods</title><p>As mentioned before, the outlier detection method, also by the same authors [<xref ref-type="bibr" rid="scirp.71143-ref20">20</xref>] , will be modified to locate extrema in non-linear series. The method is based upon the theory of the sum of terms of an arithmetic progression. Having two major relations by means of MMS<sub>max</sub> and MMS<sub>min</sub> and are expressed in Equation (1) and Equation (2). The ratio 2/n is used as the detection criteria, where n is the number of terms in the series.</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x2.png" xlink:type="simple"/></inline-formula>, and (1)</p><disp-formula id="scirp.71143-formula99"><label>, (2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x3.png"  xlink:type="simple"/></disp-formula><p>where a<sub>min</sub> is the minimum element of the series, a<sub>max</sub> is the maximum element of the series, n is the number of terms in the series, and S<sub>n</sub> is the sum of terms in the series.</p><p>The complete expression for outlier detection is given by Equation (3). If any series expected to follow y = c form and contains data that do not agree with y = c form then:</p><disp-formula id="scirp.71143-formula100"><label>, (3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x4.png"  xlink:type="simple"/></disp-formula><p>where w is the weight.</p><p>The method MMS expressed in Equation (3) can be applied on a window with any number of data points. However, when a window has only three data points it becomes a special situation, since the method generates an extremum when points are not in agreement with a linear fit, thus, if there is an extrema, always the middle point would be the extrema. When the numbers of data points are three (n = 3) and w = 0, Equation (3) a special treatment is suggested:</p><disp-formula id="scirp.71143-formula101"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x5.png"  xlink:type="simple"/></disp-formula><p>Equation (4) is a simplified version of Equation (3) for handling three data points, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x6.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x7.png" xlink:type="simple"/></inline-formula>. According to Equation (4),</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x8.png" xlink:type="simple"/></inline-formula>implies that the maximum of the three points is always considerably apart from the other two points. In the same manner, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x9.png" xlink:type="simple"/></inline-formula>implies that the minimum of the three points is always considerably apart from the other two points. Plots (a), (b), and (c) of <xref ref-type="fig" rid="fig1">Figure 1</xref> show situations that of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x10.png" xlink:type="simple"/></inline-formula>, where maximum is the peak. Plots (e), (f), and (g) in <xref ref-type="fig" rid="fig1">Figure 1</xref> show situations that of</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x11.png" xlink:type="simple"/></inline-formula>, where the minimum is the valley. However, Equation (4) does not always successfully identify extrema, in other words if the identified point is the first or last point of a window, theoretically it cannot be considered as an extrema. Plots (d)</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Plots (a), (b), (c), and (d) show different types of peaks and plots (e), (f), (g), and (h) show different types of valleys. For n = 3, value 2/n is 0.67. In all peaks except plot (d) MMS<sub>max</sub> &gt; 2/3 and in all valleys except plot (h) MMS<sub>min</sub> &lt; 2/3. “&#252;” corresponds to correct detections of extrema when MMS and 2/n are used and “&#251;” corresponds to wrong detections of extrema when MMS and 2/n are used. Therefore, consideration of MMS and 2/n is not a good method for identifying extrema. However, in the concept of outlier detection all the detections are correct</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x12.png"/></fig><p>and (h) of <xref ref-type="fig" rid="fig1">Figure 1</xref> show situations where neither a maximum nor a minimum represents an extremum. <xref ref-type="fig" rid="fig1">Figure 1</xref>(d) shows a peak that of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x13.png" xlink:type="simple"/></inline-formula> (identification of a valley), this is a contradicting situation. Also, <xref ref-type="fig" rid="fig1">Figure 1</xref>(h) shows another failing situation, where the plot shows a valley that of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x14.png" xlink:type="simple"/></inline-formula> (identification of a peak). This occurs because in both considered situations, the point has the highest deviation is the first point and not the middle point. Therefore, Equation (4) is not capable of identifying extrema in such cases, thus handling these situations is required.</p><p>To address the aforementioned drawback, the MMS method was modified by considering the middle point of the window. To have an exact middle point in a data window the number of considered data points (n) must be odd. When n = 3 and a<sub>mid</sub> is the middle point of the window, substituting a<sub>max</sub> from Equation (1) by a<sub>mi</sub><sub>d</sub> retrieves:</p><disp-formula id="scirp.71143-formula102"><label>. (5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x15.png"  xlink:type="simple"/></disp-formula><p>Also, by replacing a<sub>min</sub> of Equation (2) by amid gives,</p><disp-formula id="scirp.71143-formula103"><label>. (6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x16.png"  xlink:type="simple"/></disp-formula><p>Consider the situation,</p><disp-formula id="scirp.71143-formula104"><label>. (7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x17.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x18.png" xlink:type="simple"/></inline-formula>,</p><disp-formula id="scirp.71143-formula105"><label>. (8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x19.png"  xlink:type="simple"/></disp-formula><p>Therefore, Equation (7) denotes the situation of a maximum at the middle point. Thus Equation (7) is a condition, independent of the value of MMS that can be used for identifying a peak.</p><p>Consider the situation:</p><disp-formula id="scirp.71143-formula106"><label>. (9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x20.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x21.png" xlink:type="simple"/></inline-formula>,</p><disp-formula id="scirp.71143-formula107"><label>. (10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x22.png"  xlink:type="simple"/></disp-formula><p>Then Equation (9) denotes the situation of a minimum at the middle point. Thus, Equation (9) is a condition, independent of the value of MMS that can be used for identifying a valley.</p><p>Therefore, when a window satisfies Equation (7) it implies that the middle point is a maximum and once a window satisfies Equation (9) it alternatively implies that the middle point is a minimum. Advancing the three point window by one data point makes it possible to locate all the extrema in a signal (<xref ref-type="fig" rid="fig2">Figure 2</xref>). <xref ref-type="table" rid="table1">Table 1</xref> shows sample calculations of extrema detection procedure according to Equation (7) and Equation (9). The first eight value sets shown in <xref ref-type="table" rid="table1">Table 1</xref> are the values in relation with the plots shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. Examples a, b, c, and d in <xref ref-type="table" rid="table1">Table 1</xref> show calculation in relation with peak identification. In all these examples <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x23.png" xlink:type="simple"/></inline-formula> (Equation (7)) and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x24.png" xlink:type="simple"/></inline-formula> (Equation (9)). Examples e, f, g, and h in <xref ref-type="table" rid="table1">Table 1</xref> show calculation in relation with valley identification. In all these examples <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x25.png" xlink:type="simple"/></inline-formula> (Equation (7)) and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x26.png" xlink:type="simple"/></inline-formula> (Equation (9)). The last two examples (i and</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Extrema detection process of proposed extrema identification method named as MMS max-min finder</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x27.png"/></fig><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Sample calculations of peak and valley detection process based new method (MMS max- min finder) for window size of three data points</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Plot</th><th align="center" valign="middle" >Data set</th><th align="center" valign="middle" >MMS<sub>max</sub> (&gt;0.67)</th><th align="center" valign="middle" >MMS<sub>max</sub><sub>/</sub><sub>mid</sub></th><th align="center" valign="middle" >MMS<sub>min</sub> (&gt;0.67)</th><th align="center" valign="middle" >MMS<sub>min</sub><sub>/</sub><sub>mid</sub></th><th align="center" valign="middle" >Peak or Valley</th><th align="center" valign="middle" >MMS<sub>max</sub> = MMS<sub>max</sub><sub>/</sub><sub>mid</sub></th><th align="center" valign="middle" >MMS<sub>min</sub> = MMS<sub>min</sub><sub>/</sub><sub>mid</sub></th></tr></thead><tr><td align="center" valign="middle" >(a)</td><td align="center" valign="middle" >0, 100, 0</td><td align="center" valign="middle" >1 (Y)</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0.5 (N)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >Peak</td><td align="center" valign="middle" >Y</td><td align="center" valign="middle" >N</td></tr><tr><td align="center" valign="middle" >(b)</td><td align="center" valign="middle" >0, 1.001, 0</td><td align="center" valign="middle" >1 (Y)</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0.5 (N)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >Peak</td><td align="center" valign="middle" >Y</td><td align="center" valign="middle" >N</td></tr><tr><td align="center" valign="middle" >(c)</td><td align="center" valign="middle" >0, 100, 40</td><td align="center" valign="middle" >0.714 (Y)</td><td align="center" valign="middle" >0.714</td><td align="center" valign="middle" >0.625 (N)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >Peak</td><td align="center" valign="middle" >Y</td><td align="center" valign="middle" >N</td></tr><tr><td align="center" valign="middle" >(d)</td><td align="center" valign="middle" >0, 100, 90</td><td align="center" valign="middle" >0.526 (N)</td><td align="center" valign="middle" >0.526</td><td align="center" valign="middle" >0.909 (Y)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >Peak</td><td align="center" valign="middle" >Y</td><td align="center" valign="middle" >N</td></tr><tr><td align="center" valign="middle" >(e)</td><td align="center" valign="middle" >100, −20, 100</td><td align="center" valign="middle" >0.5 (N)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1 (Y)</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >Valley</td><td align="center" valign="middle" >N</td><td align="center" valign="middle" >Y</td></tr><tr><td align="center" valign="middle" >(f)</td><td align="center" valign="middle" >−2, −2.2, −2</td><td align="center" valign="middle" >0.5 (N)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1 (Y)</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >Valley</td><td align="center" valign="middle" >N</td><td align="center" valign="middle" >Y</td></tr><tr><td align="center" valign="middle" >(g)</td><td align="center" valign="middle" >100, 0, 70</td><td align="center" valign="middle" >0.588 (N)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.769 (Y)</td><td align="center" valign="middle" >0.769</td><td align="center" valign="middle" >Valley</td><td align="center" valign="middle" >N</td><td align="center" valign="middle" >Y</td></tr><tr><td align="center" valign="middle" >(h)</td><td align="center" valign="middle" >100, 0, 25</td><td align="center" valign="middle" >0.8 (Y)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.571 (N)</td><td align="center" valign="middle" >0.571</td><td align="center" valign="middle" >Valley</td><td align="center" valign="middle" >N</td><td align="center" valign="middle" >Y</td></tr><tr><td align="center" valign="middle" >(i)</td><td align="center" valign="middle" >0, 100, 50</td><td align="center" valign="middle" >0.667 (N)</td><td align="center" valign="middle" >0.667</td><td align="center" valign="middle" >0.667 (N)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >Peak</td><td align="center" valign="middle" >Y</td><td align="center" valign="middle" >N</td></tr><tr><td align="center" valign="middle" >(k)</td><td align="center" valign="middle" >0, −100, −50</td><td align="center" valign="middle" >0.667 (N)</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.667 (N)</td><td align="center" valign="middle" >0.667</td><td align="center" valign="middle" >Valley</td><td align="center" valign="middle" >N</td><td align="center" valign="middle" >Y</td></tr></tbody></table></table-wrap><p>k) show very special situations, where MMS<sub>max</sub>, MMS<sub>min</sub>, and 2/n are equal. In such situations Equation (4) is undefined. However, even then extrema identification is possible with Equation (7) and Equation (9). Since the proposed extrema detection method is based on the maximum, minimum, and sum of the series, the method was named as “MMS max-min finder”.</p><sec id="s2_1"><title>2.1. Identifying Dominating Extrema (Primary Filtering of Peaks and Valleys)</title><p>As above-mentioned, Equation (7) and Equation (9) are independent of the number of data points and thus valid for the situations where n is greater than three (n &gt; 3). However to have an exact middle point, n must be an odd number. When the numbers of data points are higher than three, there can be several peaks and several valleys. However, there is a situation that the highest peak (dominating peak) or lowest valley (dominating valley) coincides with the middle point of an advancing window. <xref ref-type="fig" rid="fig3">Figure 3</xref> shows an example of detecting dominating peaks in a window with odd number of data points (n = 7). When the number of data points per window increases, it allows for the possibility of more than one extremum in the considered window.</p><p>The plot in <xref ref-type="fig" rid="fig3">Figure 3</xref> consists of seven data points and contains three peaks named A, B, and C. The peak A is the middle point of window W<sub>n</sub> while peak B is the dominating peak. Because of that point A is not recognise as a peak in window W<sub>n</sub>. After advancing W<sub>n</sub> by two data points, W<sub>n</sub><sub>+2</sub> appears. In the window W<sub>n</sub><sub>+2</sub> the point B is the highest as well as the middle point and the point B is recognized as a peak. Advancing W<sub>n</sub><sub>+2</sub> by two data points W<sub>n</sub><sub>+4</sub> appears, where C becomes the middle point and due to the influence of point B it will not be recognized as a peak. This illustrates that the dominating extrema in a window remains undetected until the middle point of the window coincide with it whilst preventing identification of other small peaks and valleys.</p><p>The usage of windows with higher odd number of data points (e.g.: 5, 7, …) makes it possible to filter minor peaks and valleys. In contrast, if the methods in relation with height or width are used, the values are domain dependent and relative. Changing window size (W) is an absolute parameter and can be applied in any condition, especially the situations that the domain conditions are unknown. However, this technique is not capable of filtering absolute small extrema, because the comparison is based on the existing extrema in the considered window. Furthermore, this technique is useful as a filter for removing relative small variations. Since the technique is based on the size of the window, the technique was named as “MMS-Window based filter” or (MMS-WBF).</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Application of “MMS max-min finder” with window size of seven for locating maximum point. In the window W<sub>n</sub> the middle point is “A” and due to existence of point “B” in the considered window, point “A” is not identified as the maximum point. Also, in the W<sub>n</sub><sub>+4</sub> (the window found after advancing by four data points) the point “C” is not identified as an extrema, due to existence of point “B” in the considered the window. In the W<sub>n</sub><sub>+2</sub> the point “B” is the maximum as well as middle point and there is no point larger than point “B” in the considered window. Thus, point “B” is identified as the dominating maximum</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x28.png"/></fig></sec><sec id="s2_2"><title>2.2. Sharp and Gradual (Flat) Extrema Filtering</title><p>Extrema with starting and end points which are agreeing with y = c and having the middle point as the extremum can be considered as a symmetric extrema case. Plots (a) and (b) of <xref ref-type="fig" rid="fig4">Figure 4</xref> show such symmetric extrema, which can be considered as the simplest symmetric form. Extrema shown in plots (c) and (d) of <xref ref-type="fig" rid="fig4">Figure 4</xref> also fulfil the requirements of a perfect symmetric extrema. All the following equations in this section are based on the perfect extrema.</p><p>Consider a perfect maxima situation as shown in plot (c) of <xref ref-type="fig" rid="fig4">Figure 4</xref>. Here, all points are equal to a<sub>min</sub> (a<sub>min</sub> = c) except a<sub>max</sub>. Consider any perfect maximum situation with n points, then n − 1 points are equal to a<sub>min</sub>, and a<sub>max</sub> ≠ c. The sum of the terms of such a series can be expressed as:</p><disp-formula id="scirp.71143-formula108"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x29.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula109"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x30.png"  xlink:type="simple"/></disp-formula><p>Consider a perfect minimum situation as shown in plot (d) of <xref ref-type="fig" rid="fig4">Figure 4</xref>. Here, all points of the series are equal to a<sub>max</sub> and a<sub>max</sub> = c except a<sub>min</sub>. Consider any perfect maxima situation with n points. Then n − 1 points are equal to a<sub>max</sub>, and a<sub>min</sub> ≠ c. The sum of the terms of such a series can be expressed as:</p><disp-formula id="scirp.71143-formula110"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x31.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula111"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x32.png"  xlink:type="simple"/></disp-formula><p>If<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x33.png" xlink:type="simple"/></inline-formula>, then from (1) and (2),</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x34.png" xlink:type="simple"/></inline-formula>.</p><p>When the maximum is detected as the peak, substituting in Equation (11) retrieves:</p><p><img data-original="http://html.scirp.org/file/2-3400471x35.png" /><img data-original="http://html.scirp.org/file/2-3400471x36.png" /><img data-original="http://html.scirp.org/file/2-3400471x37.png" /></p><fig-group id="fig4"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Perfect extrema. A perfect extrema is defined as an extrema that is symmetric extrema. Thus, in a perfect extrema both the starting and end points follow the y = c form. Plots (a) and (b) show the simplest perfect extrema and plots (c) and (d) show perfect extrema that have more points that agree with y = c form.</title></caption><fig id ="fig4_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x38.png"/></fig></fig-group><disp-formula id="scirp.71143-formula112"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x39.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula113"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x40.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula114"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x41.png"  xlink:type="simple"/></disp-formula><p>In the same manner, if MMS<sub>min</sub>/MMS<sub>max</sub> = R<sub>mM</sub>, then from Equations (1), (2), and (12), the minimum is detected as the valley,</p><disp-formula id="scirp.71143-formula115"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x42.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula116"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x43.png"  xlink:type="simple"/></disp-formula><p>The relations of Equation (15) and Equation (16) are crucial findings, which can be used to identify perfect extrema. When the extrema is not perfect, value of Equation (15) and Equation (16) is less than n − 1. Therefore, Equation (15) and Equation (16) can be used to identify perfect and non-perfect extrema. Also, perfect extrema are sudden (sharp) extrema and non-perfect extrema can be considered as gradual extrema. Thereby, using Equation (15) and Equation (16) it is possible to filter sharp and gradual extrema.</p><p>After identifying a peak, by examining the ratio MMS<sub>max</sub>/MMS<sub>min</sub> it is possible to determine degree of confidence of other points, the same applies for identifying a valley. Assume t<sub>Mm_mM</sub> is the threshold value for determining sharp and gradual maxima, then t<sub>Mm_mM</sub> can be expressed as a<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x44.png" xlink:type="simple"/></inline-formula>, where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x45.png" xlink:type="simple"/></inline-formula>. If k is expressed as a function of n (e.g.:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x46.png" xlink:type="simple"/></inline-formula>), then t<sub>Mm_mM</sub> is a function of n. By setting the same threshold value (t<sub>Mm_mM</sub>) for MMS<sub>max</sub>/MMS<sub>min</sub> and MMS<sub>min</sub>/MMS<sub>max</sub>, sudden and gradual maxima can be determined. The determination criteria (t<sub>Mm_mM</sub>) of ratios MMS<sub>max</sub>/MMS<sub>min</sub> and MMS<sub>min</sub>/MMS<sub>max</sub> are non-parametric and depend only on the number of data points in the considered window. Since the method is also based on the maximum, the minimum, and the sum, the method was named as MMS-SG filter.</p><p><xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref> show examples in relation with Equation (15) and Equation (16), respectively. In plots (a) and (b) of <xref ref-type="fig" rid="fig5">Figure 5</xref>, the ratio MMS<sub>max</sub>/MMS<sub>min</sub> = 6, which is exactly equal to n − 1. This proves the correctness of Equation (15). In the same time, in plots (a) and (b) of <xref ref-type="fig" rid="fig6">Figure 6</xref>, the ratio MMS<sub>min</sub>/MMS<sub>max</sub> = 6 and proves the correctness of Equation (16). All these plots exhibit either sudden peak or sudden valley. The corresponding ratios in relation with the plot (c) of <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref> are not equal to n − 1. However, the corresponding ratios are not very small. Therefore, these extrema can be considered as nearly sharp extrema. Nevertheless, corresponding ratios in relation with, plots (d) of <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref> are very small and these extrema can be considered as gradual extrema.</p></sec><sec id="s2_3"><title>2.3. High and Low Extrema Filtering</title><p>MMS-WBF and MMS-SG introduced in this work are capable identifying dominating, sharp and gradual extrema. However, these techniques are incapable of distinguishing the extrema with very small amplitude as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>(b) and <xref ref-type="fig" rid="fig1">Figure 1</xref>(f).</p><p>The valley shown in <xref ref-type="fig" rid="fig7">Figure 7</xref> is a general situation of a perfect valley. When a valley has a very small crater, a<sub>min</sub> ≈ a<sub>max</sub>.</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Plots (a), (b), (c), and (d) show four different types of peaks with window size seven (n = 7) where 2/n = 0.286. Ratios MMS<sub>max</sub>/MMS<sub>min</sub> and MMS<sub>min</sub>/MMS<sub>max</sub> are stated along with each plot. Peaks in plots (a) and (b) are perfect peaks and the ratio MMS<sub>m</sub><sub>ax</sub>/MMS<sub>min</sub> = 6 (i.e. n − 1). Though, the dominating peak in plot (c) is not a perfect peak, ratio MMS<sub>max</sub>/MMS<sub>min</sub> is consideribly high. The peak in plot (d) is a gradually developed peak and also not a perfect peak and the ratio MMS<sub>max</sub>/MMS<sub>min</sub> is very small. Therefore, consideration of ratio MMS<sub>max</sub>/MMS<sub>min</sub> is a good criterion to distinguish sudden and gradual peaks</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x47.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Plots (a), (b), (c), and (d) show four different types of valleys with window size seven (n = 7) where 2/n = 0.286. Ratios MMS<sub>max</sub>/MMS<sub>min</sub> and MMS<sub>min</sub>/MMS<sub>max</sub> are stated along with each plot. Valleys in plots (a) and (b) are perfect valleys and the ratio MMS<sub>min</sub>/MMS<sub>max</sub> = 6 (i.e. n − 1). Though, the valley in plot (c) is not a perfect valley, ratio MMS<sub>min</sub>/MMS<sub>max</sub> is considerably high. The valley in plot (d) is a gradually developed valley and also not a perfect valley and the ratio MMS<sub>min</sub>/MMS<sub>max</sub> is very small. Therefore, consideration of ratio MMS<sub>min</sub>/MMS<sub>max</sub> is a good criterion for distinguishing between sudden and gradual (flat) valleys</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x48.png"/></fig><p>Then, Equation (13) can be expressed as:</p><p><img data-original="http://html.scirp.org/file/2-3400471x49.png" /><img data-original="http://html.scirp.org/file/2-3400471x50.png" /><img data-original="http://html.scirp.org/file/2-3400471x51.png" /> (17)</p><fig-group id="fig7"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Two possible ways of existence of extremum for a data point; as a peak or as valley. Assume, except the extremum, all the other points are satisfying the y = c relation (perfect extrema). Then, extremum is the peak and all other points are equal to the minimum. In the same manner, when the extremum is a valley, valley is the minimum and all other points are equal to the maximum. If a peak is small it reaches to the minimum and when the valley is small it reaches to the maximum. This is the hypothesis for distinguishing small and high extrema.</title></caption><fig id ="fig7_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x52.png"/></fig></fig-group><p>If<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x53.png" xlink:type="simple"/></inline-formula>, it implies that the a<sub>min</sub> is very close to the other points (low crater), consequently <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x54.png" xlink:type="simple"/></inline-formula> implies that the a<sub>min</sub> is apart from the other points (high crater).</p><p>In Equation (17), when the term a<sub>min</sub> is zero, the ratio R<sub>LH_</sub><sub>min</sub> also becomes zero despite of the influence of magnitude valley. Also, due to the influence of negative values S<sub>n</sub> can be zero and R<sub>LH</sub><sub>_min</sub> becomes invalid. Both these situations inhibit the determination of the real condition of the valley. To overcome the effect of negative values, the minimum value was deducted from all the terms of the data points in the window as expressed in Equation (18).</p><disp-formula id="scirp.71143-formula117"><label>(18)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x55.png"  xlink:type="simple"/></disp-formula><p>Even now it is possible to have a situation of a<sub>min</sub> = 0. To overcome this situation a constant k, which is greater than zero, was added to each value. This transformation is applied in “Min-Max normalization” process [<xref ref-type="bibr" rid="scirp.71143-ref22">22</xref>] [<xref ref-type="bibr" rid="scirp.71143-ref23">23</xref>] . When k = 1 thus Equation (18) becomes:</p><disp-formula id="scirp.71143-formula118"><label>(19)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x56.png"  xlink:type="simple"/></disp-formula><p>From Equation (17) and Equation (19),</p><disp-formula id="scirp.71143-formula119"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x57.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula120"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x58.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula121"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x59.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula122"><label>(20)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x60.png"  xlink:type="simple"/></disp-formula><p>Then R<sub>LH_</sub><sub>min</sub> expressed in Equation (20) can be considered as a robust method for filtering valleys with low crater.</p><p>The peak shown in <xref ref-type="fig" rid="fig7">Figure 7</xref> is a general situation of perfect peak. When a peak has a very small prominence, a<sub>max</sub> ≈ a<sub>min</sub>. Then Equation (11) can be expressed as:</p><disp-formula id="scirp.71143-formula123"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x61.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula124"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x62.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula125"><label>(21)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x63.png"  xlink:type="simple"/></disp-formula><p>According to Equation (17), the ratio R<sub>LH_</sub><sub>min</sub> has a well-defined upper limit (ceiling) and lower limit (floor) because<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x64.png" xlink:type="simple"/></inline-formula>. Nevertheless, in Equation (21), R<sub>LH_</sub><sub>max</sub> has no upper limit, and subjects only to a lower limit. Therefore, it is difficult to use R<sub>LH_</sub><sub>max</sub> as a global criteria as R<sub>LH_</sub><sub>min</sub>. The peak shown in <xref ref-type="fig" rid="fig7">Figure 7</xref> can be considered as the mirror image of a valley in <xref ref-type="fig" rid="fig7">Figure 7</xref>. Thus, it is possible to transform a peak to a valley, for that Equation (17) can be used for determining the peaks with high and low prominence using the same criteria Under the assumption that:</p><disp-formula id="scirp.71143-formula126"><label>(22)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x65.png"  xlink:type="simple"/></disp-formula><p>According to Equation (22), <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x66.png" xlink:type="simple"/></inline-formula>and</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x67.png" xlink:type="simple"/></inline-formula>. The expression in Equation (22) transforms the maximum value into the minimum, the minimum value into the maximum and intermediate values into their complements. If the R<sub>LH</sub><sub>_</sub><sub>max</sub> is the corresponding ratio in relation with high and low peaks identification, then, from Equation (21) and Equation (22), one can reach:</p><disp-formula id="scirp.71143-formula127"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x68.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula128"><label>(23)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x69.png"  xlink:type="simple"/></disp-formula><p>Even after the aforementioned transformation, it is still possible to have the influence of negative values. However, it can be resolved by using Equation (19). Then, from Equation (19),</p><disp-formula id="scirp.71143-formula129"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x70.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula130"><graphic  xlink:href="http://html.scirp.org/file/2-3400471x71.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71143-formula131"><label>(24)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-3400471x72.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x73.png" xlink:type="simple"/></inline-formula>implies that the a<sub>max</sub> is very close to other points (low prominence). Consequently <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x74.png" xlink:type="simple"/></inline-formula> implies that the a<sub>max</sub> is apart from the other points (high prominence).</p><p>Finally, using Equation (17) and Equation (24) it is possible to determine the high and low extrema by defining a threshold value t<sub>LH</sub> (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x75.png" xlink:type="simple"/></inline-formula>) for R<sub>LH</sub><sub>_</sub><sub>min</sub> and R<sub>LH_</sub><sub>max</sub>. Because the method is based on the maximum, minimum and the sum, the method was named as MMS-LH. <xref ref-type="fig" rid="fig8">Figure 8</xref> elaborates the functionality of MMS-LH as a filtering method.</p><p>The filtration of sudden, gradual, low, and high extrema are derived based on a data set which satisfies the y = c relation (perfect extrema). However, in reality it is impossible to always have perfect extrema. Therefore, by setting the threshold values in appropriate situations, it is possible to filter the extrema in non-perfect conditions.</p><p>Extrema identification is performed after comparing two ratios in relation with maximum, minimum, middle point and sum. The threshold criteria for MMS-WBF and MMS-SG are values that are based on the number of data points (n). The threshold criterion for MMS-LH is a value between 0 and 1. Thus, all the determination criteria are totally non-parametric. However, combination of these methods leads to harvest more robust and reliable output. <xref ref-type="fig" rid="fig9">Figure 9</xref> elaborates one possibility of combining all these methods for achieving reliable output.</p><p>All the algorithms were implemented using C++ in Net 2008 platform and tested with biogas data which were collected online form a biogas plant using NIR spectroscopy for a period of seven months with a frequency of twelve data points per day (i.e. every second hour). Among the different parameters, the H<sub>2</sub> content measured in ppm was selected, which has considerable amount of variations during the process. Data of each month was considered as a segment, where each segment consists of 350 - 400 data points. The proposed detection methods were applied on each segment with different criteria. Furthermore, another data set of around 4800 data points, concentrations of volatile fatty acid (VFA), was selected for checking segmenting capabilities of the method.</p><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> High and low extrema detection algorithm for “MMS-LH filter”. Compression of pre- defined threshold t for R<sub>LH_</sub><sub>max</sub> and R<sub>LH_</sub><sub>min</sub> allows distinguishing low and high extrema</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x76.png"/></fig><fig id="fig9"  position="float"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> One possible way of combining all the developed methods for harvesting quality output</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x77.png"/></fig></sec></sec><sec id="s3"><title>3. Results and Discussion</title><sec id="s3_1"><title>3.1. Identifying Extrema</title><p>Each plot (a) and (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>0 contains between 350 and 400 data points and shows the identified extrema using the proposed “MMS max-min finder”, which is based on Equation (7) and Equation (9). In both situations all the extrema were detected with a window size of three (W = 3), which is the smallest valid size of the window. Results show detection of all the extrema with 0% error. However, there is an interesting feature about detections, which can be sometimes defined as an incorrect detection as seen in Figures 10(c)-(f). Plot (c) and (d) of <xref ref-type="fig" rid="fig1">Figure 1</xref>0 show the case where two consecutive maxima with the same value and two consecutive minima with the same value, respectively. When W = 3, usually both the adjacent extrema of a certain extremum have opposite extremum type (e.g.: for a maximum, adjacent members are two minima). If one adjacent extremum is with the same type extremum (e.g.: for a maximum, one adjacent member is a maximum) implies that the intermediate points of relevant points have the same value ((d) of <xref ref-type="fig" rid="fig1">Figure 1</xref>0). Using the same criteria these detections can be excluded, if necessary.</p><fig id="fig10"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>0</label><caption><title> Two plots of H<sub>2</sub> content of biogas data in two different months are presented measured in ppm. All the maxima in both the data sets ((a) and (b)) were identified by the new method with the window side is three (W = 3). Plots (c), (d), (e), and (f) show identification of special situations as extrema, even though they are existing derivative methods not consider as extrema situations</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x78.png"/></fig><p>Plot (e) and (f) of <xref ref-type="fig" rid="fig1">Figure 1</xref>0 show other different situations, where it has consecutive minima and maxima of the same value. This also implies that the intermediate points have the same value ((f) of <xref ref-type="fig" rid="fig1">Figure 1</xref>0). If consecutive maxima have same values and the order of occurrence is maximum then minimum, it can be considered as a discrete saddle region in an increasing data segment ((e) of <xref ref-type="fig" rid="fig1">Figure 1</xref>0). In the same manner, if the two consecutive extrema have same value and the order of occurrence is minimum then maximum, it can be considered as a discrete saddle region in a decreasing data segment ((f) of <xref ref-type="fig" rid="fig1">Figure 1</xref>0). Using the same criteria these detections can be excluded, if necessary.</p></sec><sec id="s3_2"><title>3.2. Identifying Dominating Extrema (Primary Filtering of Peaks and Valleys)</title><p>The same two data sets shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0 were filtered using MMS-WBF (MMS Window based filtering) method for identifying the dominant extrema using a window size of 9 (W = 9). Results of the detection process are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>1 plots (a) and (b) demonstrate that the MMS-WBF was capable to identify 50% and 59% of all extrema as dominating extrema, respectively. However, out of the identified extrema in plots (a) and (b), there are 0.12% and 0.09% of small peaks which are identified as dominating extrema. These extrema cannot be visually justified as dominating extrema. Nevertheless, numerically they are the dominating extrema in the considered window size. One possible option is to increase the window size, thus covering more data which enhances the capability of removing more non-dominating extrema. However, when W &gt; 3, all</p><fig id="fig11"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>1</label><caption><title> Plots (a) and (b) show the same data as plots (a) and (b) in <xref ref-type="fig" rid="fig1">Figure 1</xref>0, filtered with MMS-WBF with a window size of nine data points (W = 9). MMS-WBF was capable of identifying 53% and 58% of all extrema as dominating extrema. However, MMS-WBF identified 0.12% and 0.09% of extrema in plots (a) and (b) as dominating extrema, which cannot be visually justified as dominating extrema. Though those are cannot be justifies as dominating extrema, mathematically they are the dominating extrema in the considered window size. One possible option is to increase the window size, thus the window would cover more data points. This will remove more non-dominating extrema once a significant dominating extremum exists</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x79.png"/></fig><p>the candidate points have not been checked. This is a disadvantage of increasing the window size for filtering non-dominating extrema. In plot (d) of <xref ref-type="fig" rid="fig1">Figure 1</xref>1, at the end of the data set shows such an unidentified dominating peak due to W &gt; 3 situation.</p><p>The combination of MMS max-min finder and MMS-WBF can be used in online data checking. For that, first the window size (W) has to be defined, and then the window accumulates the data, after which the desired detection technique is applied and eventually the extrema are located. Subsequently, window is advanced by one data point and awaits the next data point. After the next point is captured, the extrema- check is performed again. This process is propagated throughout the process for locating extrema in an online environment.</p></sec><sec id="s3_3"><title>3.3. Sharp and Gradual (Flat) Extrema Filtering</title><p><xref ref-type="fig" rid="fig1">Figure 1</xref>2 shows the results in relation with sharp and gradual extrema detection performed based upon R<sub>Mm</sub> and R<sub>mM</sub> as defined in Equation (15) and Equation (16), respectively. Value of t<sub>Mm_mM</sub> for R<sub>Mm</sub> and R<sub>mM</sub> was set as 1 (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-3400471x80.png" xlink:type="simple"/></inline-formula>). Plot (a) and (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>2 show the filtering of extrema, first with MMS-WBF for W = 3 and then with MMS-SG filter. Plot (c) and (d) of <xref ref-type="fig" rid="fig1">Figure 1</xref>2 shows the filtering of extrema with MMS-WBF in the case of a window size of 9 (W = 9) and then with MMS-SG filter. When compared, plots (a) and (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>2 show 78% and 77% less number of all extrema than number of extrema shown in plots (a) and (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>0. When the W is small (W = 3) filter excludes some extrema seems to be very high (V<sub>1</sub>, P<sub>1</sub>, P<sub>2</sub>, and P<sub>3</sub> shown in plots (a) and (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>2), which can be considered as wrong detection. However, according to Equation (11) and Equation (13), rejections of those points are mathematically correct. This happens due to usage of small window size for extrema detection. Thus, one solution for overcoming this situation is to use lager window size.</p><p>Plots (c) and (d) in <xref ref-type="fig" rid="fig1">Figure 1</xref>2 show identification of V<sub>1</sub>, P<sub>1</sub>, P<sub>2</sub>, and P<sub>3</sub> after increasing the window size to nine (W = 9). After applying large W (W = 9) almost all the flat extrema have been rejected. Even after increasing the W still extrema such as P<sub>4</sub> are remaining, because W is not big enough to reject such points (i.e. in the selected window size, the extremum point is located significantly away from other points). In general, plots (c) and (d) of <xref ref-type="fig" rid="fig1">Figure 1</xref>2 show 0.46% and 0.75% fewer extrema in comparison with plots (a) and (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>2 and all the detections and rejections are agreed with the developed method. Therefore, the ratios MMS<sub>max</sub>/MMS<sub>min</sub> and MMS<sub>min</sub>/MMS<sub>max</sub> can be considered as filtering criteria and a reliable technique for filtering sharp and gradual (flat) extrema.</p></sec><sec id="s3_4"><title>3.4. High and Low Extrema Filtering</title><p>As per the results shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0 and <xref ref-type="fig" rid="fig1">Figure 1</xref>2 it is very clear that the “primary filtering” and consideration of MMS<sub>max</sub>/MMS<sub>min</sub> and MMS<sub>min</sub>/MMS<sub>max</sub> are not capable of filtering extrema based on magnitude of their prominence or crater. The results shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>3 are the results in relation with the method MMS-LH, which is intensively developed focusing on filtering extrema with low prominence or crater.</p><fig id="fig12"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>2</label><caption><title> Filtering of sudden and gradually developed (flat) extrema using MMS-SG technique. Data in plots (a) and (b) were first checked for extrema with a window of size three with MMS-WBF. Data in plots (c) and (d) were first checked for extrema with a window of size nine with MMS-WBF. Then ratios MMS<sub>max</sub>/MMS<sub>min</sub> and MMS<sub>min</sub>/MMS<sub>max</sub> considered and all the plots were checked for sudden and gradually developed extrema with threshold value t<sub>Mm_mM</sub> = 1. When the window size is small, extrema such as V<sub>1</sub>, P<sub>1</sub>, P<sub>2</sub>, and P<sub>3</sub> remain undetected. However, increasing the window size let those points to be detected (plots (c) and (d)). Even after increasing the window size, points that have very small extrema such as P<sub>4</sub> will de detect as an extrema</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x81.png"/></fig><p>Before applying MMS-LH, data points (plots (a) and (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>3) were first checked for extrema with a window size three with MMS-WBF and data in plots (c) and (d) of <xref ref-type="fig" rid="fig1">Figure 1</xref>3 were first checked for extrema with a window size nine with MMS-WBF. Point V<sub>1</sub> in <xref ref-type="fig" rid="fig1">Figure 1</xref>3(a), which seems to be a valley with high crater, yet remains as unidentified. To be qualified as an extrema with higher prominence or crater, first, the extremum must be a perfect extremum. However, with W = 3, V<sub>1</sub> is not a perfect extremum. Therefore, the rejection is logical as well as mathematically correct. Nevertheless, in <xref ref-type="fig" rid="fig1">Figure 1</xref>3(c), point V<sub>1</sub> is identified as a valley, because the large window size (W = 9) makes V<sub>1</sub> a nearly perfect extremum. Therefore, using W &gt; 3 with appropriate filter criteria the method can be used for filtering extrema with low and</p><fig id="fig13"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>3</label><caption><title> Filtering of low and high extrema using MMS-LH filtering technique. Data in plots (a) and (b) were first checked for extrema with a window of size three with MMS-WBF. Data in plots (c) and (d) were first checked for extrema with a window of size nine with MMS-WBF. Then R<sub>LH</sub><sub>_max</sub> and R<sub>LH_</sub><sub>min</sub> were considered and all the plots were checked for low and high extrema with threshold value t<sub>LH</sub> = 0.05. When the window size is small, extrema such as V<sub>1</sub> remain undetected. The reason is for such detection is that the one point (point C) is located very close to the extremum (extremum is not a perfect extremum). However, increasing the window size (W = 9) makes V<sub>1</sub> a nearly perfect extremum and detected in plot (c)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x82.png"/></fig><p>high prominence or crater.</p></sec><sec id="s3_5"><title>3.5. Drawbacks of Using Large Window Size for Extrema Filtering</title><p>In <xref ref-type="fig" rid="fig1">Figure 1</xref>0, <xref ref-type="fig" rid="fig1">Figure 1</xref>2, and <xref ref-type="fig" rid="fig1">Figure 1</xref>3 plots with lager window size, (W − 1)/2 points from the beginning as well as from the end will not be checked, where W is the window size. If there are matching extrema existing in these regions, they also remain as unidentified (<xref ref-type="fig" rid="fig1">Figure 1</xref>2 and <xref ref-type="fig" rid="fig1">Figure 1</xref>3). This is disadvantageous when using large window size, on the other hand if there are enough data points available, the issue is resolved. However, this is a problem for small data sets. Checking unchecked areas with a smaller window is one possibility for resolving this issue. However, results from two different window sizes will lead to violate the homogeneity of the results. The second method is to start the window before a certain number of data points (w/2). Then part of the window is laid on a non-data region. Using a suitable padding, this part can be filled. For example, the entire data in non-data region in the start can be padded with starting value. Also, at the end suitable padding technique can be used to fill the part of the window in the non-data region.</p></sec><sec id="s3_6"><title>3.6. Possibility of Use as a Data Segmentation Technique</title><p>Usually, dominating peaks and the valleys can be considered as turning points of a certain property of a signal, if those dominating extrema are not outliers. Thus, dominating peaks and valleys are good points for segmenting a signal as well as identifying general trends. <xref ref-type="fig" rid="fig1">Figure 1</xref>4 shows an attempt to accomplish such a segmenting approach using the developed method. <xref ref-type="fig" rid="fig1">Figure 1</xref>4 contains a data set with around 4600 data points and only the MMS-WBF (dominating extrema identification technique) technique was applied as the filtering technique. For testing segmenting capabilities of the method, considerably large W was used (W = 155 in plot (a) and W = 255 in plot (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>4). In both situations segmentation and general trend identification shows highly promising capabilities. Existences of more than one adjacent similar types of extrema violate the trend identification and segmentation (i.e. existence of maximum after a maximum instead of minimum). Circled areas in plot (a) of <xref ref-type="fig" rid="fig1">Figure 1</xref>4 show two such occurrences. However, removing unnecessary adjacent peaks or valleys while keeping singular important peaks or valleys, is one solution for overcoming this problem. Thereby it is necessary to develop a methodology for removing less important extrema. Increasing the W is another way of overcoming the said drawback. Plot (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>4 shows situation of increased W and detection with less adjacent same type of</p><fig id="fig14"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>4</label><caption><title> Usage of “MMSmax-min finder” as a segmentation technique and trend identification technique. Plot (a) and (b) use window size 155 and 255, respectively. When the window side is low (W = 155) segmentation and trend identification is distracted due to occurrence of adjacent same type extrema. In plot (a) such two occurrences were circled. Increasing the window size produces better segmentation as shown in plot (b). However, this leads to ignore some trends as circled in plot (b)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-3400471x83.png"/></fig><p>extrema than plot (a) of <xref ref-type="fig" rid="fig1">Figure 1</xref>4. However, this technique lead to ignorance of some features in the signal as circled in plot (b) of <xref ref-type="fig" rid="fig1">Figure 1</xref>4. Therefore, determining of proper W is an essential factor for better identification of segments as well as trends. Nevertheless, the method can be used for at least fast segmentation and trend identification method.</p></sec></sec><sec id="s4"><title>4. Conclusion</title><p>The introduced extrema finding method named as “MMS Max-Min finder” and three different extrema filtering methods named as MMS-Window Based Filter (MMS- WBF), MMS sharp and gradual extrema filter (MMS-SG), and MMS low high extrema filter (MMS-LH) are non-parametric. Therefore, filtering can be done without considering domain dependent parameters such as height and width of an extremum. Results prove that the detection is capable of identifying all the extrema with 0% error. When the window size is nine (W = 9) MMS-WBF reported 0.12% and 0.09% wrong detections. However, a combination of MMS-WBF and MMS-LH filter with window size nine (W = 9) was capable of eliminating the error. Despite of the dynamic nature of the data, the results were consistent and robust for the same detection criteria. Thus, using proper window size, it is possible to achieve robust and consistent outcome with dynamic data such as biogas data. Furthermore, MMS-WBF shows promising outcome in the direction of segmenting and trend identification of signals. Hence, MMS-WBF can be enhanced as a segmenting and trend identification technique.</p></sec><sec id="s5"><title>Acknowledgements</title><p>This work was supported by the German Research Foundation (DFG) and the Technical University of Munich (TUM) in the framework of the Open Access Publishing Program. Also, we are grateful to the German Academic Exchange Service (Deutscher Akademischer Austauschdienst, DAAD) for providing a scholarship to KKLB Adikaram during the research period.</p></sec><sec id="s6"><title>Cite this paper</title><p>Adikaram, K.K.L.B., Hussein, M.A., Effenberger, M. and Becker, T. (2016) Non-Parametric Local Maxima and Minima Finder with Filtering Techniques for Bioprocess. Journal of Signal and Information Processing, 7, 192-213. http://dx.doi.org/10.4236/jsip.2016.74018</p></sec></body><back><ref-list><title>References</title><ref id="scirp.71143-ref1"><label>1</label><mixed-citation publication-type="book" xlink:type="simple">Mavron, V.C. and Phillips, T.N. (2007) Maxima and Minima. In: Mavron, V.C. and Phillips, T.N., Eds., Elements of Mathematics for Economics and Finance, Springer, London, 137-158.</mixed-citation></ref><ref id="scirp.71143-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Sande, H.V., Henrotte, F. and Hameyer, K. (2004) The Newton-Raphson Method for Solving Non-Linear and Anisotropic Time-Harmonic Problems. The International Journal for Computation and Mathematics in Electrical and Electronic Engineering, 23, 950-958.  
http://dx.doi.org/10.1108/03321640410553373</mixed-citation></ref><ref id="scirp.71143-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Chioua, M., Srinivasan, B., Guay, M. and Perrier, M. (2007) Dependence of the Error in the Optimal Solution of Perturbation-Based Extremum Seeking Methods on the Excitation Frequency. The Canadian Journal of Chemical Engineering, 85, 447-453.  
http://dx.doi.org/10.1002/cjce.5450850407</mixed-citation></ref><ref id="scirp.71143-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Khan, I.R. and Ohba, R. (1999) Closed-Form Expressions for the Finite Difference Approximations of First and Higher Derivatives Based on Taylor Series. Journal of Computational and Applied Mathematics, 107, 179-193.  
http://dx.doi.org/10.1016/S0377-0427(99)00088-6</mixed-citation></ref><ref id="scirp.71143-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Gilgen, H. (2006) Univariate Time Series in Geosciences: Theory and Examples. Springer, Berlin.</mixed-citation></ref><ref id="scirp.71143-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Zou, H.-F., Zhang, Y.-K. and Lu, P.-C. (1991) The Prediction of the Peak Width at Half Height in HPLC. Chinese Journal of Chemistry, 9, 237-244.  
http://dx.doi.org/10.1002/cjoc.19910090307</mixed-citation></ref><ref id="scirp.71143-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Antoniadis, A., Bigot, J. and Lambert-Lacroix, S. (2010) Peaks Detection and Alignment for Mass Spectrometry Data. Journal de la Société Fran?aise de Statistique, 151, 17-37. </mixed-citation></ref><ref id="scirp.71143-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Jeffries, N. (2005) Algorithms for Alignment of Mass Spectrometry Proteomic Data. Bioinformatics, 21, 3066-3073. http://dx.doi.org/10.1093/bioinformatics/bti482</mixed-citation></ref><ref id="scirp.71143-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Sauve, A.C. and Speed, T.P. (2004) Normalization, Baseline Correction and Alignment of High-Throughput Mass Spectrometry Data. Proceedings Gensips.</mixed-citation></ref><ref id="scirp.71143-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Mtetwa, N. and Smith, L.S. (2006) Smoothing and Thresholding in Neuronal Spike Detection. Neurocomputing, 69, 1366-1370. http://dx.doi.org/10.1016/j.neucom.2005.12.108</mixed-citation></ref><ref id="scirp.71143-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Tzallas, A.T., Oikonomou, V.P. and Fotiadis, D. (2006) Epileptic Spike Detection Using a Kalman Filter Based Approach. IEEE Engineering in Medicine and Biology Society Conference, 1, 501-504. http://dx.doi.org/10.1109/iembs.2006.260780</mixed-citation></ref><ref id="scirp.71143-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Gelb, A. (1974) Applied Optimal Estimation. MIT Press, Boston.</mixed-citation></ref><ref id="scirp.71143-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Shim, B., Min, H. and Yoon, S. (2009) Nonlinear Preprocessing Method for Detecting Peaks from Gas Chromatograms. BMC Bioinformatics, 10, 378.  
http://dx.doi.org/10.1186/1471-2105-10-378</mixed-citation></ref><ref id="scirp.71143-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Scholkmann, F., Boss, J. and Wolf, M. (2012) An Efficient Algorithm for Automatic Peak Detection in Noisy Periodic and Quasi-Periodic Signals. Algorithms, 5, 588-603.  
http://dx.doi.org/10.3390/a5040588</mixed-citation></ref><ref id="scirp.71143-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Gy?rfi, L., Kohler, M., Krzyzak, A. and Walk, H. (2006) A Distribution-Free Theory of Nonparametric Regression. Springer, New York. </mixed-citation></ref><ref id="scirp.71143-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Roberts, S.J. (1997) Parametric and Non-Parametric Unsupervised Cluster Analysis. Pattern Recognition, 30, 261-272. http://dx.doi.org/10.1016/S0031-3203(96)00079-9</mixed-citation></ref><ref id="scirp.71143-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Wasserman, L. (2006) All of Nonparametric Statistics. Springer, New York.</mixed-citation></ref><ref id="scirp.71143-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Kothari, C.R. (2004) Research Methodology: Methods and Techniques. New Age International (P) Limited, Delhi.</mixed-citation></ref><ref id="scirp.71143-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Li, J., Ray, S. and Lindsay, B.G. (2007) A Nonparametric Statistical Approach to Clustering via Mode Identification. Journal of Machine Learning Research, 8, 1687-1723.</mixed-citation></ref><ref id="scirp.71143-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Adikaram, K.K.L.B., Hussein, M.A., Effenberger, M. and Becker, T. (2014) Outlier Detection Method in Linear Regression Based on Sum of Arithmetic Progression. The Scientific World Journal, 2014, Article ID: 821623. http://dx.doi.org/10.1155/2014/821623</mixed-citation></ref><ref id="scirp.71143-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Adikaram, K.K.L.B., Hussein, M.A., Effenberger, M. and Becker, T. (2015) Universal Linear Fit Identification: A Method Independent of Data, Outliers and Noise Distribution Model and Free of Missing or Removed Data Imputation. PLoS ONE, 10, e0141486.  
http://dx.doi.org/10.1371/journal.pone.0141486</mixed-citation></ref><ref id="scirp.71143-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Han, J., Kamber, M. and Pei, J. (2006) Data Mining, Southeast Asia Edition: Concepts and Techniques. Elsevier Science, Amsterdam.</mixed-citation></ref><ref id="scirp.71143-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Shalabi, L.A., Shaaban, Z. and Kasasbeh, B. (2006) Data Mining: A Preprocessing Engine. Journal of Computer Science, 2, 735-739. http://dx.doi.org/10.3844/jcssp.2006.735.739</mixed-citation></ref></ref-list></back></article>