Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第11章_Apriori算法 - ApacheCN #434

Open
jiangzhonglian opened this issue Aug 24, 2018 · 2 comments
Open

第11章_Apriori算法 - ApacheCN #434

jiangzhonglian opened this issue Aug 24, 2018 · 2 comments

Comments

@jiangzhonglian
Copy link
Member

@jiangzhonglian jiangzhonglian commented Aug 24, 2018

@0Soul
Copy link

@0Soul 0Soul commented May 14, 2020

输出所有可能的候选项集 Ck的算法有错误吧,例如输入{0,1,2}, {1,2,3}K=4,此时应该有输出{0,1,2,3},提供的算法只比较列表的前两项,L1==L2才会输出

@Dream-Fu
Copy link

@Dream-Fu Dream-Fu commented Jul 24, 2020

生成候选集的 createC1(dataSet)函数返回值应改成return list(map(frozenset, C1)),否则只能返回obj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.