Skip to content

Commit 2457a53

Browse files
committed
update readme
1 parent 787ff84 commit 2457a53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ itemSetList = [['eggs', 'bacon', 'soup'],
2727
['eggs', 'bacon', 'apple'],
2828
['soup', 'bacon', 'banana']]
2929
freqItemSet, rules = fpgrowth(itemSetList, minSupRatio=0.5, minConf=0.5)
30+
print(freqItemSet)
3031
print(rules)
3132
# [[{'beer'}, {'rice'}, 0.6666666666666666], [{'rice'}, {'beer'}, 1.0]]
3233
# rules[0] --> rules[1], confidence = rules[2]
@@ -48,5 +49,5 @@ python fpgrowth.py -f dataset.csv
4849
Run program with dataset and min support and min confidence
4950

5051
```
51-
python fpgrowth.py -f dataset.csv -s 0.33 -c 0.77
52+
python fpgrowth.py -f tesco2.csv -s 0.5 -c 0.5
5253
```

0 commit comments

Comments
 (0)