Example #1
0
        protected Itemset[] ScanDbForFrequentItems()
        {
            var dbScanner = new TransactionDatabaseScanner(_db);

            var frequentItems = dbScanner.FindFrequentItems(_options.MinSupport);

            return(frequentItems.FrequentItemset.ToArray());
        }
Example #2
0
        private void ScanDbForFrequentItems()
        {
            var dbScanner = new TransactionDatabaseScanner(_db);

            _frequentItems = dbScanner.FindFrequentItems(_options.MinSupport);
        }