Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            var analyzableSets = GetTestItemSets();

            var apriori = new Apriori <string>(analyzableSets, SupportThreshold, ConfidenceThreshold);

            var associativeRules = apriori.GetAssociativeRules();

            foreach (var rule in associativeRules)
            {
                Console.WriteLine(rule.ToString());
            }

            Console.ReadKey();
        }