
GA(Fitness, θ, n, rco, rmu)
A f ti th t d th (fit ) i h th i
ness:
unc
on
a
pro
uces
e score
ness
g
ven a
ypo
es
s
θ: The desired fitness value (i.e., a threshold specifying the termination condition)
n: The number of hypotheses in the population
co: The percentage of the population influenced by the crossover operator at each step
rmu: The percentage of the population influenced by the mutation operator at each step
Initialize the population:
←
n
Evaluate the initial population. For each h∈H: compute Fitness(h)
hile (max
Fitness(h) <
do
Hnext ← ∅
Reproduction (Replication). Probabilistically select (1-rco).nhypotheses of
.
The probability of selecting hypothesis hifrom His:
=n
j
i
i
)Fitness(h
)Fitness(h
)P(h
1
5
Học Máy – IT 4862