Question
An FMCG Company training set has 100 records for T (tooth paste) & 400 records for competitor C. P, Q, R denote subsets of attribute values in records which consumers use for decision-making.
Using FOIL Gain metric, find out which rule would company be interested in for predictive modeling.
Solution
==================================================================================================
We are learning rules for the class T. Thus, tuples of class T will be our positive tuples and rest will be negative tuples.
The formula for FOIL Gain is:
Conclusion
The Company would be most interested in R3 as it has the highest FOIL Gain. As expected, the FOIL Gain favors the rule that have high accuracy and covers many positive tuples.