-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-9900][MLlib] User guide for Association Rules #8207
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
Conversation
|
Test build #40893 has finished for PR 8207 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is the default behavior of java.util.List.toString. System.out.println(rule.javaAntecedent() + " => " + rule.javaConsequent() + ", " + rule.confidence()) should work. Then we can remove Guava imports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
|
@feynmanliang Shall we add one line to |
|
@mengxr I considered that but felt that it was important to document our rule generation only supports single consequent rules. If you think appending that to the FPGrowth docs is acceptable, I'm happy to make the change. |
|
We can add one line to |
4b25118 to
810f2ea
Compare
|
@feynmanliang There are some merge conflicts wtih #8255. Could you update this PR and also add a link to |
|
Test build #41067 has finished for PR 8207 at commit
|
|
@feynmanliang This may require another rebase ... |
* Removes Guava dependence from all Java examples in FPM user guide * Moves Association Rule documentation under codetabs * Adds a concrete `transactions` dataset for FPGrowth examples * Extends FPGrowth code example to show direct rule generation from FPGrowthModel
6b055cf to
b038826
Compare
|
@mengxr Rebased (again...) |
|
Test build #41147 has finished for PR 8207 at commit
|
|
LGTM. Merged into master and branch-1.5. Thanks! |
Updates FPM user guide to include Association Rules. Author: Feynman Liang <fliang@databricks.com> Closes #8207 from feynmanliang/SPARK-9900-arules. (cherry picked from commit f5ea391) Signed-off-by: Xiangrui Meng <meng@databricks.com>
Updates FPM user guide to include Association Rules.