Professional Documents
Culture Documents
Relationship Co-efficient (Apple, Orange) No. of baskets in which Apple and Orange appear together
No. of times other items appear together with item 2 in all baskets
Apple U Orange
1
1
0
1
1
1
1
appear together
ith item 2 in all baskets
Basket Apple Orange Grapes StrawberryPlums Green AppBanana
1 1 1 1 0 1 1 1
2 0 1 0 1 0 1 1
3 0 0 0 0 0 1 1
4 1 0 0 1 1 0 0
5 1 0 0 0 1 1 1
6 0 1 1 0 0 0 1
7 0 1 1 0 0 0 1
Relationship Coefficient
Apple Orange Grapes Strawberry Plums Green Apple
Apple 0 0.1 0.1 0.1 0.3 0.2
Orange 0.083333333 0 0.25 0.083333333 0.083333333 0.166666667
Grapes 0.111111111 0.333333333 0 0 0.111111111 0.111111111
Strawberry 0.2 0.2 0 0 0.2 0.2
Plums 0.3 0.1 0.1 0.1 0 0.2
Green Apple 0.166666667 0.166666667 0.083333333 0.083333333 0.166666667 0
Banana 0.125 0.25 0.1875 0.0625 0.125 0.25
Banana
2
4
3
1
2
4
0
Banana
0.2
0.333333333
0.333333333
0.2
0.2
0.333333333
0