-
-
Save amankharwal/7b03d10c028801c922ee6a74dd7759f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for item in association_results: | |
pair = item[0] | |
items = [x for x in pair] | |
print("Rule : ", items[0], " -> " + items[1]) | |
print("Support : ", str(item[1])) | |
print("Confidence : ",str(item[2][0][2])) | |
print("Lift : ", str(item[2][0][3])) | |
print("=============================") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment