How to find the minimum support in Apriori algorithm

前端 未结 6 2360
北海茫月
北海茫月 2021-02-19 18:27

When the percentage values of support and confidence is given how can I find the minimum support in Apriori algorithm. For an example when support and confidence is given as 60%

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-19 19:00

    You have to use the minimum support count to compare the candidate's support count . If you are given the minimum support count as "%" value you have to find the number of transactions first and do the following .

    FOR EXAMPLE, you have 10 number of transactions in your Database.

    minimum support count is 70%. Now, to get the number as Min. Sup.count = number of transactions * (minimum support count% / 100)

    So, min.sup.count= 10 * 70/100

    Answer is 7.

    This is how you have to calculate min.sup.count

提交回复
热议问题