TkbGBMLMoErrorSize {FKBL} | R Documentation |
This is the implementation of multiobjective, Error Size Algorith genetic method. It is a multiobjective version of the Error Size algorithm. Instead of a single fitness function, there are two. The fitness functions take in consideration the train error and the number of rules (size). The first fitness function would be higher as there are fewer wrong infered cases (error) in training. The second function would be higher as there are fewer rules in the knowledge base. As it is multiobjective it returns a set of knowledge bases. Described in chapter 5, pages 127-130 at Ishibuchi et al.\
TkbGBMLMoErrorSize(kB, gen=100, cross=0.5, muta=0.01, train, k=0.01, popu=20)
Takes knowledge base, the number of generations, the crossing and mutation probability, the train data, the size weight and the initial population.
kB |
The knowledge base to tweak. |
gen |
The number of generations. |
cross |
The cross probability up to 1. |
muta |
The mutation probability up to 1. |
train |
The train dataset. |
k |
The weight of the size in the algorithm. |
popu |
The initial population of the algorithm. |
Returns the set of not dominated knowledge bases.
data(kB) data(trainA) TkbGBMLMoErrorSize(kB, 50, 0.8,0.01, trainA,0.01, 20)