【问题标题】:How to generate the association rules from the initial frequent itemset coming from the support ?如何从来自支持的初始频繁项集生成关联规则?
【发布时间】:2018-03-25 02:45:19
【问题描述】:

我目前正在尝试从我通过c#中的支持算法获得的频繁项集中找到一个强关联规则。对不起,伙计们,我目前没有任何有价值的代码,但任何东西都会受到欢迎。有关更多说明,请参阅页面底部的表格。我想要任何关于如何根据置信度生成最终频繁项集的提示。

https://www.codeproject.com/Articles/70371/Apriori-Algorithm

【问题讨论】:

    标签: apriori


    【解决方案1】:

    1.关联规则的生成2.从频繁项集中提取强关联规则非常简单:

    1. x 是一组frequent itemsets {x, y, z, ...} 中的一个frequent itemset。在每个频繁项集{x, y, z, ...} 中都是要生成的关联规则。所以对于xassociation rulea -> b。其中b 是任何b ⊂ xax - b

    ->关联规则生成。

    1. 如果association rule a -> bconfidencegreater than or equal 到集合confidence level 那么association rulestrong association rule。即support(x) / support(a) ≥ confidence level

    ->提取强关联规则。

    【讨论】:

    • 谢谢!对关联规则概念的很好解释,但我关注的是生成频繁项集的关联规则。我一直在寻找任何特定的方法来实现其他算法以拥有那些 2^n-2 不同的关联规则。
    • 恐怕我没有弄清楚你的问题。你能举个例子说明你想要达到的目标吗?
    猜你喜欢
    • 2012-12-20
    • 2011-10-26
    • 2012-07-16
    • 2019-09-04
    • 2011-03-04
    • 2011-04-17
    • 1970-01-01
    • 2020-02-14
    • 1970-01-01
    相关资源
    最近更新 更多