diff options
author | Feynman Liang <fliang@databricks.com> | 2015-08-18 12:53:57 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-08-18 12:53:57 -0700 |
commit | f5ea3912900ccdf23e2eb419a342bfe3c0c0b61b (patch) | |
tree | 0422d97e7afb37be5003297e9647904e90063177 /mllib/src/test/java | |
parent | c1840a862eb548bc4306e53ee7e9f26986b31832 (diff) | |
download | spark-f5ea3912900ccdf23e2eb419a342bfe3c0c0b61b.tar.gz spark-f5ea3912900ccdf23e2eb419a342bfe3c0c0b61b.tar.bz2 spark-f5ea3912900ccdf23e2eb419a342bfe3c0c0b61b.zip |
[SPARK-9900] [MLLIB] User guide for Association Rules
Updates FPM user guide to include Association Rules.
Author: Feynman Liang <fliang@databricks.com>
Closes #8207 from feynmanliang/SPARK-9900-arules.
Diffstat (limited to 'mllib/src/test/java')
-rw-r--r-- | mllib/src/test/java/org/apache/spark/mllib/fpm/JavaAssociationRulesSuite.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/test/java/org/apache/spark/mllib/fpm/JavaAssociationRulesSuite.java b/mllib/src/test/java/org/apache/spark/mllib/fpm/JavaAssociationRulesSuite.java index b3815ae603..d7c2cb3ae2 100644 --- a/mllib/src/test/java/org/apache/spark/mllib/fpm/JavaAssociationRulesSuite.java +++ b/mllib/src/test/java/org/apache/spark/mllib/fpm/JavaAssociationRulesSuite.java @@ -49,7 +49,7 @@ public class JavaAssociationRulesSuite implements Serializable { JavaRDD<FPGrowth.FreqItemset<String>> freqItemsets = sc.parallelize(Lists.newArrayList( new FreqItemset<String>(new String[] {"a"}, 15L), new FreqItemset<String>(new String[] {"b"}, 35L), - new FreqItemset<String>(new String[] {"a", "b"}, 18L) + new FreqItemset<String>(new String[] {"a", "b"}, 12L) )); JavaRDD<AssociationRules.Rule<String>> results = (new AssociationRules()).run(freqItemsets); |