EXAMPLE 2: Goldberg's deceptive function; BN K2 algorithm with BIC metric Proportional selection
0001 % EXAMPLE 2: Goldberg's deceptive function; BN K2 algorithm with BIC metric 0002 % Proportional selection 0003 PopSize = 500; n = 60; cache = [0,0,0,0,0]; Card = 2*ones(1,n); 0004 F = 'evalfuncdec3'; 0005 edaparams{1} = {'replacement_method','elitism',{10,'fitness_ordering'}}; 0006 edaparams{2} = {'selection_method','prop_selection',[]}; 0007 BN_params(1:6) = {'k2',10,0.05,'pearson','bic','no'}; 0008 edaparams{3} = {'learning_method','LearnBN',BN_params}; 0009 [AllStat,Cache]=RunEDA(PopSize,n,F,Card,cache,edaparams) 0010