Good evening to one and all reading this . Hope you all are having a great day .
Today we are gonna talk about something new and interesting - The Apriori Algorithm to see what's the popular delegation combinations to @brofi .
Association Rule Mining
Association Rule Mining is used when you want to find an association between different objects in a set.
Now you might have seen on Amazon -
"Frequently Bought Together" . Right?
This is done using algorithms which comes under Association Rule Mining .
One of the popular algorithm is - Apriori Algorithm .
Some of you might have heard about Apriori Algorithm but I guess most of you know about "Market Basket Analysis" .
It is this Market basket analysis which helps supermarket people place the items together ( Like bread , eggs and butter ) .
The Algorithm behind Market Basket Analysis is "Apriori Algorithm ".
Today we shall use this to see "Tokens Delegated together" instead of "Frequently bought together" .
Number of tokens that is currently delegated to @brofi
Right now there are 29 tokens delegated to @brofi . If you delegate tokens to @brofi , you get BRO as dividends everyday .
Now not all the users have delegated all the 29 tokens .
There are total of 374 unique delegators to @brofi . Some have delegated just 1 token ,some have delegated 2 and some more than 5-6 .
Now our aim is to figure out what's the popular delegated token ? Is it LEO ? Hive ?
Single token is easy to figure out right ? But what about popular combination of 2?
Is it LEO and HIVE ? Or LEO and POB ?
Let's figure it out .
Popular tokens which atleast 10% of all delegators have delegated .
So I have given the minimum threshold as 10% . So atleast 10% of 374 which is 37 users must have delegated for it to show up .
Combination of 1 ( Single token )
Slno | Percentage of users delegating the token | Token |
---|---|---|
1 | 58.021 | NEOXAG |
2 | 47.059 | PAL |
3 | 41.711 | STEM |
4 | 39.037 | CCC |
5 | 33.69 | CTP |
6 | 30.214 | LEO |
7 | 28.342 | CINE |
8 | 24.599 | WEED |
9 | 24.332 | HIVE |
10 | 19.519 | LOTUS |
11 | 17.112 | SPORTS |
12 | 15.241 | POB |
13 | 10.695 | FOODIE |
Note: I have removed the decimal point in percentage for simplicity.
Now what does this tell us ?
- There are 13 tokens out of 29 which 10% of the total users ( 374) have delegated
- Out of all the users who have delegated to @brofi , 58% have delegated NEOXAG .
So I hope you got an idea now ?
Now next Let's see -
Combination of 2
Now which are the popular combinations of 2 tokens ?
Sl No | Percentage of users delegation the combination of token | Token combination |
---|---|---|
1 | 37.701 | PAL , NEOXAG |
2 | 30.749 | CCC , NEOXAG |
3 | 29.947 | STEM , NEOXAG |
4 | 27.807 | CCC , PAL |
5 | 27.005 | CTP , NEOXAG |
6 | 25.668 | STEM , PAL |
7 | 22.995 | STEM , CCC |
8 | 22.727 | CTP , PAL |
9 | 21.123 | NEOXAG , CINE |
10 | 20.321 | CTP , STEM |
11 | 19.251 | CTP , CCC |
12 | 18.449 | WEED , NEOXAG |
13 | 18.449 | LEO , NEOXAG |
14 | 18.182 | LEO , PAL |
15 | 17.112 | PAL , CINE |
16 | 16.845 | WEED , PAL |
17 | 16.31 | LEO , STEM |
18 | 16.31 | LOTUS , NEOXAG |
19 | 16.043 | STEM , WEED |
20 | 15.775 | STEM , CINE |
21 | 14.706 | SPORTS , NEOXAG |
22 | 14.706 | LEO , CCC |
23 | 14.439 | CCC , WEED |
24 | 14.439 | HIVE , NEOXAG |
25 | 14.171 | LOTUS , CCC |
26 | 13.904 | LOTUS , PAL |
27 | 13.904 | CCC , CINE |
28 | 13.904 | LEO , CTP |
29 | 13.636 | SPORTS , PAL |
30 | 13.102 | CTP , CINE |
31 | 13.102 | CTP , WEED |
32 | 12.567 | NEOXAG , POB |
33 | 12.567 | LEO , CINE |
34 | 12.299 | LOTUS , STEM |
35 | 11.497 | LEO , WEED |
36 | 11.23 | SPORTS , CCC |
37 | 11.23 | SPORTS , STEM |
38 | 10.963 | LEO , HIVE |
39 | 10.963 | WEED , CINE |
40 | 10.428 | HIVE , PAL |
41 | 10.428 | LOTUS , CTP |
NEOXAG has once again occupied the top 3 position here with PAL , CCC and STEM .
What does this tell us ?
- The top pair PAL and NEOXAG has been delegated by 37% of the users .
- There are 41 token combination which atleast 10% users have delegated .
Combination of 3
Sl.No | Percentage of Users | Token combination |
---|---|---|
1 | 24.332 | PAL , CCC , NEOXAG |
2 | 21.658 | PAL , STEM , NEOXAG |
3 | 21.39 | PAL , CTP , NEOXAG |
4 | 18.984 | STEM , CCC , NEOXAG |
5 | 18.182 | STEM , CCC , PAL |
6 | 17.112 | CTP , CCC , NEOXAG |
7 | 17.112 | CTP , STEM , NEOXAG |
8 | 16.578 | PAL , NEOXAG , CINE |
9 | 15.775 | CTP , STEM , PAL |
10 | 15.508 | CTP , CCC , PAL |
11 | 14.973 | PAL , LEO , NEOXAG |
12 | 14.439 | CTP , STEM , CCC |
13 | 14.439 | PAL , WEED , NEOXAG |
14 | 13.636 | STEM , NEOXAG , CINE |
15 | 13.369 | LEO , STEM , NEOXAG |
16 | 13.102 | SPORTS , PAL , NEOXAG |
17 | 13.102 | WEED , STEM , NEOXAG |
18 | 13.102 | PAL , LOTUS , NEOXAG |
19 | 12.834 | CCC , NEOXAG , CINE |
20 | 12.567 | WEED , STEM , PAL |
21 | 12.567 | WEED , CCC , PAL |
22 | 12.299 | WEED , CCC , NEOXAG |
23 | 12.299 | LEO , CCC , PAL |
24 | 12.299 | LOTUS , CCC , NEOXAG |
25 | 12.299 | LEO , STEM , PAL |
26 | 12.032 | CTP , NEOXAG , CINE |
27 | 11.765 | STEM , PAL , CINE |
28 | 11.497 | LEO , CCC , NEOXAG |
29 | 11.497 | STEM , CCC , WEED |
30 | 11.497 | LEO , CTP , NEOXAG |
31 | 11.23 | CCC , PAL , CINE |
32 | 10.963 | CTP , STEM , WEED |
33 | 10.695 | WEED , CTP , NEOXAG |
34 | 10.695 | LOTUS , STEM , NEOXAG |
35 | 10.695 | LEO , STEM , CCC |
36 | 10.428 | SPORTS , CCC , NEOXAG |
37 | 10.428 | LEO , NEOXAG , CINE |
38 | 10.428 | LEO , CTP , PAL |
39 | 10.428 | SPORTS , STEM , NEOXAG |
40 | 10.428 | CTP , PAL , CINE |
41 | 10.428 | SPORTS , CCC , PAL |
42 | 10.428 | LOTUS , STEM , PAL |
43 | 10.16 | CTP , CCC , WEED |
44 | 10.16 | LEO , CTP , STEM |
45 | 10.16 | LOTUS , CCC , PAL |
46 | 10.16 | LOTUS , STEM , CCC |
47 | 10.16 | WEED , CTP , PAL |
48 | 10.16 | WEED , NEOXAG , CINE |
Nothing special here to be honest when compared to combination of 2 . Most of the combination of 2 resides here , that's what Apriori algorithm depends on .
Apriori Algorithm - "The itemsets inside the frequent itemsets are frequent"
Combination of 4
Sl No | Percentage of users | Token combination |
---|---|---|
1 | 15.508 | PAL , STEM , CCC , NEOXAG |
2 | 14.706 | PAL , CTP , CCC , NEOXAG |
3 | 14.706 | PAL , CTP , STEM , NEOXAG |
4 | 12.567 | CTP , STEM , CCC , NEOXAG |
5 | 11.765 | CTP , STEM , CCC , PAL |
6 | 11.23 | PAL , STEM , NEOXAG , CINE |
7 | 11.23 | PAL , LEO , STEM , NEOXAG |
8 | 11.23 | PAL , WEED , STEM , NEOXAG |
9 | 10.963 | PAL , CCC , NEOXAG , CINE |
10 | 10.963 | PAL , LEO , CCC , NEOXAG |
11 | 10.963 | PAL , WEED , CCC , NEOXAG |
12 | 10.428 | PAL , CTP , NEOXAG , CINE |
13 | 10.16 | LEO , PAL , CTP , NEOXAG |
Combination of 5
Sl No | Percentage of users | Token combination |
---|---|---|
1 | 10.963 | CCC , PAL , NEOXAG , CTP , STEM |
There is only 1 in combination of 5 .
What does it mean actually ?
Let me explain the steps -
- It searches for the users who have delegated 5 tokens atleast ( any 5 ).
- Then it searches for all combinations of 5 which has been delegated by atleast 10% of the total users.
- There is only 1 combination which has been delegated by over 10 % of users which is mentioned above.
you can see that neither LEO nor HIVE is in this .
What does it mean ? It means that 10% of users or more haven't delegated 5 tokens in which LEO and HIVE are a part .
What can you learn from this ?
Well you can see the popular tokens delegated to the @brofi and reflect on yourself .
Ask yourself these questions
- 58% have delegated NEOXAG to @brofi . Have I been curating NEOXAG myself manually? If not , is it sitting IDLE in my wallet , then I can delegated it to @brofi .
- What are the popular combination of 2 , 3 , 4 ,5 . Have I delegated it all ?
- What are the combination which only 10% of users have delegated ? I will delegated to that because less users for that particular token combination = more BRO ?
asd