In genetic algorithm implementation, I have chromosomes in the form of if else rule set. Eg. if A, then B.
For calculating fitness of each chromosome, I use support-confidence framework.
confidence = |A and B|/|A| . where |A| is no. of training sets matched with if condition only (if A) .
But what if |A| is zero. How can we solve such problem ?