26.12.2013 Views

AI - a Guide to Intelligent Systems.pdf - Member of EEPIS

AI - a Guide to Intelligent Systems.pdf - Member of EEPIS

AI - a Guide to Intelligent Systems.pdf - Member of EEPIS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

280<br />

HYBRID INTELLIGENT SYSTEMS<br />

How does an ANFIS learn?<br />

An ANFIS uses a hybrid learning algorithm that combines the least-squares<br />

estima<strong>to</strong>r and the gradient descent method (Jang, 1993). First, initial activation<br />

functions are assigned <strong>to</strong> each membership neuron. The function centres <strong>of</strong> the<br />

neurons connected <strong>to</strong> input x i are set so that the domain <strong>of</strong> x i is divided equally,<br />

and the widths and slopes are set <strong>to</strong> allow sufficient overlapping <strong>of</strong> the respective<br />

functions.<br />

In the ANFIS training algorithm, each epoch is composed from a forward pass<br />

and a backward pass. In the forward pass, a training set <strong>of</strong> input patterns (an<br />

input vec<strong>to</strong>r) is presented <strong>to</strong> the ANFIS, neuron outputs are calculated on the<br />

layer-by-layer basis, and rule consequent parameters are identified by the leastsquares<br />

estima<strong>to</strong>r. In the Sugeno-style fuzzy inference, an output, y, is a linear<br />

function. Thus, given the values <strong>of</strong> the membership parameters and a training<br />

set <strong>of</strong> P input-output patterns, we can form P linear equations in terms <strong>of</strong> the<br />

consequent parameters as:<br />

8<br />

y d ð1Þ ¼ 1 ð1Þf 1 ð1Þþ 2 ð1Þf 2 ð1Þþ...þ n ð1Þf n ð1Þ<br />

y d ð2Þ ¼ 1 ð2Þf 1 ð2Þþ 2 ð2Þf 2 ð2Þþ...þ n ð2Þf n ð2Þ<br />

><<br />

.<br />

y d ðpÞ ¼ 1 ðpÞf 1 ðpÞþ 2 ðpÞf 2 ðpÞþ...þ n ðpÞf n ðpÞ<br />

.<br />

.<br />

>:<br />

y d ðPÞ ¼ 1 ðPÞf 1 ðPÞþ 2 ðPÞf 2 ðPÞþ...þ n ðPÞf n ðPÞ<br />

ð8:14Þ<br />

or<br />

8<br />

y d ð1Þ ¼ 1 ð1Þ½ k 10 þ k 11 x 1 ð1Þþk 12 x 2 ð1Þþ...þ k 1m x m ð1ÞŠ<br />

þ 2 ð1Þ½ k 20 þ k 21 x 1 ð1Þþk 22 x 2 ð1Þþ...þ k 2m x m ð1ÞŠ þ ...<br />

þ n ð1Þ½ k n0 þ k n1 x 1 ð1Þþk n2 x 2 ð1Þþ...þ k nm x m ð1ÞŠ<br />

y d ð2Þ ¼ 1 ð2Þ½ k 10 þ k 11 x 1 ð2Þþk 12 x 2 ð2Þþ...þ k 1m x m ð2ÞŠ<br />

þ 2 ð2Þ½ k 20 þ k 21 x 1 ð2Þþk 22 x 2 ð2Þþ...þ k 2m x m ð2ÞŠ þ ...<br />

þ n ð2Þ½ k n0 þ k n1 x 1 ð2Þþk n2 x 2 ð2Þþ...þ k nm x m ð2ÞŠ<br />

><<br />

.<br />

y d ðpÞ ¼ 1 ðpÞ½ k 10 þ k 11 x 1 ðpÞþk 12 x 2 ðpÞþ...þ k 1m x m ðpÞŠ<br />

þ 2 ðpÞ½ k 20 þ k 21 x 1 ðpÞþk 22 x 2 ðpÞþ...þ k 2m x m ðpÞŠ þ ...<br />

þ n ðpÞ½ k n0 þ k n1 x 1 ðpÞþk n2 x 2 ðpÞþ...þ k nm x m ðpÞŠ<br />

.<br />

y d ðPÞ ¼ 1 ðPÞ½ k 10 þ k 11 x 1 ðPÞþk 12 x 2 ðPÞþ...þ k 1m x m ðPÞŠ<br />

þ 2 ðPÞ½ k 20 þ k 21 x 1 ðPÞþk 22 x 2 ðPÞþ...þ k 2m x m ðPÞŠ þ ...<br />

>:<br />

þ n ðPÞ½ k n0 þ k n1 x 1 ðPÞþk n2 x 2 ðPÞþ...þ k nm x m ðPÞŠ<br />

ð8:15Þ

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!