aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJacky Li <jacky.likun@huawei.com>2015-02-23 08:47:28 -0800
committerXiangrui Meng <meng@databricks.com>2015-02-23 08:47:48 -0800
commit33b908485ae79944ac0d888b444d528178af5dd0 (patch)
treefab6cd62f9c1fc65bf03230be21eb4a92a2ff9a8 /data
parent67b7f792908a3dd6b6453249f3ecf65dd51a6ba5 (diff)
downloadspark-33b908485ae79944ac0d888b444d528178af5dd0.tar.gz
spark-33b908485ae79944ac0d888b444d528178af5dd0.tar.bz2
spark-33b908485ae79944ac0d888b444d528178af5dd0.zip
[SPARK-5939][MLLib] make FPGrowth example app take parameters
Add parameter parsing in FPGrowth example app in Scala and Java And a sample data file is added in data/mllib folder Author: Jacky Li <jacky.likun@huawei.com> Closes #4714 from jackylk/parameter and squashes the following commits: 8c478b3 [Jacky Li] fix according to comments 3bb74f6 [Jacky Li] make FPGrowth exampl app take parameters f0e4d10 [Jacky Li] make FPGrowth exampl app take parameters (cherry picked from commit 651a1c019eb911005e234a46cc559d63da352377) Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'data')
-rw-r--r--data/mllib/sample_fpgrowth.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/mllib/sample_fpgrowth.txt b/data/mllib/sample_fpgrowth.txt
new file mode 100644
index 0000000000..c451583e51
--- /dev/null
+++ b/data/mllib/sample_fpgrowth.txt
@@ -0,0 +1,6 @@
+r z h k p
+z y x w v u t s
+s x o n r
+x z y m t s q e
+z
+x z y r q t p