Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/4714#discussion_r25124131
--- Diff:
examples/src/main/scala/org/apache/spark/examples/mllib/FPGrowthExample.scala
---
@@ -18,29 +18,58 @@
package org.apache.spark.examples.mllib
import org.apache.spark.mllib.fpm.FPGrowth
-import org.apache.spark.{SparkContext, SparkConf}
+import org.apache.spark.{SparkConf, SparkContext}
+import scopt.OptionParser
/**
* Example for mining frequent itemsets using FP-growth.
+ * Example usage: ./bin/run-example
org.apache.spark.examples.mllib.FPGrowthExample
--- End diff --
Same here, remove `org.apache.spark.examples.`. If the options doesn't fit
into one line, use `\` at the end of the first line and indent the second.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]