Versions in this module Expand all Collapse all v0 v0.0.1 Jan 24, 2017 Changes in this version + var RootCmd = &cobra.Command + func ConstructConditionalSupportCountTables(bases ConditionalPatternBases) map[int]SupportCountTable + func Execute() + func OrderItems(d DataSet, h HeadTable) + type ConditionalFPTree struct + Prefix ConditionalItem + Tree FPTree + func ConstructConditionalFPTrees(bs ConditionalPatternBases, ht ConditionalHeadTables) (res []ConditionalFPTree) + func (c *ConditionalFPTree) MineFrequentPatterns() []Pattern + type ConditionalHeadTable struct + Prefix ConditionalItem + func ConstructConditionalHeadTables(bs ConditionalPatternBases, minSup int) []ConditionalHeadTable + type ConditionalHeadTables []ConditionalHeadTable + func ConstructImprovedConditionalHeadTables(bs ConditionalPatternBases, scts SupportCountTable, minSup int) ConditionalHeadTables + func (ht ConditionalHeadTables) Get(item int) *ConditionalHeadTable + func (ht ConditionalHeadTables) GetIndex(item int) int + type ConditionalItem struct + Count int + Item int + type ConditionalPatternBase struct + Bases [][]ConditionalItem + Prefix ConditionalItem + type ConditionalPatternBases []ConditionalPatternBase + func MineConditionalPatternBases(t FPTree, ht HeadTable) ConditionalPatternBases + func OrderConditionalPatternBases(bs ConditionalPatternBases, ht ConditionalHeadTables) ConditionalPatternBases + type DataSet []Items + type FPTree struct + Root *FPTreeNode + func NewFPTree(ordered DataSet, ht *HeadTable) FPTree + type FPTreeNode struct + Children []*FPTreeNode + Count int + Item int + Link *FPTreeNode + Parent *FPTreeNode + func (f *FPTreeNode) MinePatterns(p ConditionalItem) []Pattern + func (f *FPTreeNode) OnlyOneBranch() bool + func (f *FPTreeNode) String() string + type HeadTable []HeadTableRow + func NewHeadTable(db DataSet, minSup int) HeadTable + func (p HeadTable) Get(id int) HeadTableRow + func (p HeadTable) GetPosition(id int) int + func (p HeadTable) Len() int + func (p HeadTable) Less(i, j int) bool + func (p HeadTable) SetLink(id int, link *FPTreeNode) + func (p HeadTable) Swap(i, j int) + type HeadTableRow struct + Count int + Item int + Link *FPTreeNode + type Items []int + func (s Items) Len() int + func (s Items) Swap(i, j int) + type OrderItemsByHeaderTableWrapper struct + H HeadTable + func (s OrderItemsByHeaderTableWrapper) Less(i, j int) bool + type OrderableItems []ConditionalItem + func (p OrderableItems) Len() int + func (p OrderableItems) Swap(i, j int) + type OrderableItemsWrapper struct + HT ConditionalHeadTable + func (p OrderableItemsWrapper) Less(i, j int) bool + type Pattern struct + Count int + Pattern Items + func Mine(db DataSet, minSup int) []Pattern + func MineAllPatterns(fpt FPTree, patterns []Pattern, minSup int, h HeadTable) []Pattern + func MineAllPatternsImproved(fpt FPTree, patterns []Pattern, minSup int, h HeadTable, ...) []Pattern + func MineImproved(db DataSet, minSup int) []Pattern + type SupportCountTable map[int]map[int]int + func ConstructSupportCountTable(items []Items) SupportCountTable + func (s SupportCountTable) Get(i, j int) int