25.01.2015 Views

Download Full Issue in PDF - Academy Publisher

Download Full Issue in PDF - Academy Publisher

Download Full Issue in PDF - Academy Publisher

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

1590 JOURNAL OF COMPUTERS, VOL. 8, NO. 6, JUNE 2013<br />

B. The Design of Membership Degree BP Neural<br />

Network<br />

The paper adopted a three layers BP network to build<br />

the membership degree BP network for water quality<br />

assessment. In the structure, the network has one <strong>in</strong>put<br />

layer one output layer and one hidden layer. The output<br />

layer can expressed water quality classification by one<br />

neuron, actual test<strong>in</strong>g parameters are six, so <strong>in</strong>put layer<br />

has six neurons, hidden layer has three neurons [9].<br />

In order to make the assessment more objective and<br />

certa<strong>in</strong>, this paper puts the membership degree of fuzzy<br />

mathematics <strong>in</strong>to BP network. The membership degree<br />

BP network model is built on comb<strong>in</strong><strong>in</strong>g the fuzzy system<br />

and neural network <strong>in</strong> series. In the series connection,<br />

output of neural network is <strong>in</strong>put of the fuzzy system.<br />

Membership degree can be computed, then the exact and<br />

concrete water quality classification can be put out. The<br />

membership degree BP network for water quality<br />

assessment is shown as fig. 2.<br />

In the formula, abstand , for the classification of<br />

neighbor<strong>in</strong>g two water quality samples, the membership<br />

degree to every standard water quality classification of<br />

test sample can be computed by the formula (17).<br />

IV. THE PRINCIPLE OF BACK PROPAGATION NEURAL<br />

NETWORK MODEL<br />

A.. The Model of BP Neural Network Algorithm<br />

Accord<strong>in</strong>g to the po<strong>in</strong>t of mathematics, BP algorithm is<br />

a generalized function convergence numeric method, and<br />

it has tra<strong>in</strong><strong>in</strong>g and test<strong>in</strong>g processes. The whole tra<strong>in</strong><strong>in</strong>g<br />

process <strong>in</strong>cludes forward and back propagation. After<br />

be<strong>in</strong>g built, the BP network model is tested by other<br />

samples to testify the effectiveness and validity of the<br />

model. The results show that the BP network model and<br />

its algorithm are effective. The algorithm of BP neural<br />

network is shown as <strong>in</strong> fig.3.<br />

Figure 2. The framework of BP neural network comb<strong>in</strong><strong>in</strong>g<br />

membership degree<br />

Accord<strong>in</strong>g to fuzzy mathematics theory, the standard<br />

water quality classification 1-5 as co doma<strong>in</strong> can be<br />

def<strong>in</strong>ed. For n assessment parameters of some standard<br />

water quality classification, we suppose that the<br />

membership degree to itself is zero, so a fuzzy subset E<br />

can be gotten. We suppose that the membership degree to<br />

other is zero, subset F can also be gotten. In here, the<br />

membership degree to standard water quality<br />

classification for n assessment parameters of other water<br />

quality samples must belong to[0,1] , and build<strong>in</strong>g fuzzy<br />

subset A . Therefore, the problem of assess<strong>in</strong>g water<br />

quality sample transforms <strong>in</strong>to comput<strong>in</strong>g the<br />

membership degree to two neighbor<strong>in</strong>g standard water<br />

quality classification. In this paper, the membership<br />

function is built as follow<strong>in</strong>g formula.<br />

⎧1<br />

x = a<br />

⎪<br />

ux ( ) = ⎨1 − f( x)<br />

a< x<<br />

b<br />

⎪<br />

⎩0<br />

x = b<br />

(17)<br />

Figure 3. The algorithm process of BP neural network<br />

B. The Tra<strong>in</strong><strong>in</strong>g of BP Neural Network<br />

The whole network tra<strong>in</strong><strong>in</strong>g process <strong>in</strong>cludes forward<br />

propagation and error back-propagation, the tra<strong>in</strong><strong>in</strong>g<br />

process are shown as followed.<br />

1) Assignment the weighs w_<br />

xh , w_<br />

hy between<br />

nodes and need threshold u_<br />

h, u_<br />

y , the assigned<br />

values are Nonzero Random <strong>in</strong>itial valuebetween (-1,1).<br />

2) Inputt<strong>in</strong>g <strong>in</strong>put vector X of one tra<strong>in</strong><strong>in</strong>g sample and<br />

target output vector T .<br />

3) Comput<strong>in</strong>g output vector Y .<br />

Comput<strong>in</strong>g output vector H of hidden layers:<br />

© 2013 ACADEMY PUBLISHER

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

Saved successfully!

Ooh no, something went wrong!