matlab - Create chromosomes with list of rules in genetic algorithm -


i used weka data mining tool creating list of rules , want set rules chromosomes in genetic algorithm don't know how?

a sample of rules:

srv_serror_rate > 0.51 , dst_host_diff_srv_rate > 0.7 , same_srv_rate <= 0.25: satan 

you take liberty in genetics interpretation , use floats gene values. in case, have 1 gene representing minimum srv_serror_rate, 1 minimum dst_host_diff_srv_rate , 1 maximum same_srv_rate. genome (chromosome) sample rule above [0.51, 0.7, 0.25], , you'd have mapping between gene positions , role/function in evaluation function.

if want strict have have bitstrings encoding each of these values instead of floats, wouldn't bother.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -