Ryuk17 / MachineLearning

Implement Machine learning algorithm by myself using Python 3.6
Apache License 2.0
103 stars 32 forks source link

A question about eclat algorithm? #3

Closed dsj96 closed 3 years ago

dsj96 commented 4 years ago

When I run the ECLAT_TEST.py file, I want to konw waht's the mining of "1" in the result Association Rules: (frozenset(['bread']), frozenset(['milk']), 1) (frozenset(['milk', 'bread']), frozenset(['eggs']), 1) ... I would be very grateful if I could get your reply.

Ryuk17 commented 4 years ago

The output is a tuple, (X, Y, confidence), the confidence is calculated at https://github.com/Ryuk17/MachineLearning/blob/e3a75d787078da2a03ca1b824a0c319e3020a4cd/AssociationAnalysis.py#L520