NNTagging Reference Library

NNApriori Class Reference

NNApriori Class Reference

Inherits from
Declared in NNApriori.h

Tasks

Class Methods

frequentItemsetsForTagSets:minFreq:

+ (NSArray *)frequentItemsetsForTagSets:(NSArray *)tagsets minFreq:(NSUInteger)minFreq
Discussion

Converts tag sets to sets of tag names, then calls the real method

Declared In
NNApriori.h

frequentItemsetsForTagnameSets:minFreq:

+ (NSArray *)frequentItemsetsForTagnameSets:(NSArray *)tagnameSets minFreq:(NSUInteger)minFreq
Discussion

Returns an array of itemsets that occur in the given transactions with at least the specified frequency

Declared In
NNApriori.h

associationRulesForTagSets:minFreq:minConfidence:

+ (NSArray *)associationRulesForTagSets:(NSArray *)tagsets minFreq:(NSUInteger)minFreq minConfidence:(CGFloat)minConfidence
Discussion

Generates the array of association rules that satisfy the given confidence level for the specified array of transactions (tagsets) of tags, considering all itemsets with at least the given frequency

Declared In
NNApriori.h

associationRulesForTagnameSets:minFreq:minConfidence:

+ (NSArray *)associationRulesForTagnameSets:(NSArray *)tagsets minFreq:(NSUInteger)minFreq minConfidence:(CGFloat)minConfidence
Discussion

Generates the array of association rules that satisfy the given confidence level for the specified array of transactions (tagsets) of tag names, considering all itemsets with at least the given frequency

Declared In
NNApriori.h

Last updated: 2010-5-13