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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FUZZY EVOLUTIONARY SYSTEMS<br />

295<br />

How do we decide which fuzzy rule belongs <strong>to</strong> rule set S and which does<br />

not?<br />

In the initial population, this decision is based on a 50 per cent chance. In other<br />

words, each fuzzy rule has a 0.5 probability <strong>of</strong> receiving value 1 in each<br />

chromosome represented in the initial population.<br />

A basic genetic algorithm for selecting fuzzy IF-THEN rules includes the<br />

following steps (Ishibuchi et al., 1995):<br />

Step 1:<br />

Step 2:<br />

Randomly generate an initial population <strong>of</strong> chromosomes. The population<br />

size may be relatively small, say 10 or 20 chromosomes. Each gene<br />

in a chromosome corresponds <strong>to</strong> a particular fuzzy IF-THEN rule in the<br />

rule set defined by S ALL . The genes corresponding <strong>to</strong> dummy rules receive<br />

values 0, and all other genes are randomly assigned either 1 or 1.<br />

Calculate the performance, or fitness, <strong>of</strong> each individual chromosome<br />

in the current population.<br />

The problem <strong>of</strong> selecting fuzzy rules has two objectives: <strong>to</strong> maximise<br />

the accuracy <strong>of</strong> the pattern classification and <strong>to</strong> minimise the size <strong>of</strong> a<br />

rule set. The fitness function has <strong>to</strong> accommodate both these objectives.<br />

This can be achieved by introducing two respective weights, w P<br />

and w N , in the fitness function:<br />

P s<br />

N S<br />

f ðSÞ ¼w P w N ;<br />

P ALL N ALL<br />

ð8:31Þ<br />

where P s is the number <strong>of</strong> patterns classified successfully, P ALL is the<br />

<strong>to</strong>tal number <strong>of</strong> patterns presented <strong>to</strong> the classification system, N S and<br />

N ALL are the numbers <strong>of</strong> fuzzy IF-THEN rules in set S and set S ALL ,<br />

respectively.<br />

The classification accuracy is more important than the size <strong>of</strong> a rule<br />

set. This can be reflected by assigning the weights such that,<br />

0 < w N 4 w P<br />

Typical values for w N and w P are 1 and 10, respectively. Thus, we obtain:<br />

f ðSÞ ¼10 P s<br />

P ALL<br />

N S<br />

N ALL<br />

ð8:32Þ<br />

Step 3:<br />

Step 4:<br />

Step 5:<br />

Select a pair <strong>of</strong> chromosomes for mating. Parent chromosomes are<br />

selected with a probability associated with their fitness; a better fit<br />

chromosome has a higher probability <strong>of</strong> being selected.<br />

Create a pair <strong>of</strong> <strong>of</strong>fspring chromosomes by applying a standard crossover<br />

opera<strong>to</strong>r. Parent chromosomes are crossed at the randomly<br />

selected crossover point.<br />

Perform mutation on each gene <strong>of</strong> the created <strong>of</strong>fspring. The mutation<br />

probability is normally kept quite low, say 0.01. The mutation is done<br />

by multiplying the gene value by 1.

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

Saved successfully!

Ooh no, something went wrong!