Versions in this module Expand all Collapse all v1 v1.9.11 Mar 16, 2022 Changes in this version + type Apriori struct + func NewApriori(transactions [][]string) *Apriori + func (a *Apriori) Calculate(options Options) []RelationRecord + type Options struct + MaxLength int + MinConfidence float64 + MinLift float64 + MinSupport float64 + func NewOptions(minSupport float64, minConfidence float64, minLift float64, maxLength int) Options + type OrderedStatistic struct + func (os OrderedStatistic) GetAdd() []string + func (os OrderedStatistic) GetBase() []string + func (os OrderedStatistic) GetConfidence() float64 + func (os OrderedStatistic) GetLift() float64 + type RelationRecord struct + func (r RelationRecord) GetOrderedStatistic() []OrderedStatistic + func (r RelationRecord) GetSupportRecord() SupportRecord + type SupportRecord struct + func (sr SupportRecord) GetItems() []string + func (sr SupportRecord) GetSupport() float64