Github user yanboliang commented on a diff in the pull request:
https://github.com/apache/spark/pull/16715#discussion_r101418597
--- Diff:
examples/src/main/java/org/apache/spark/examples/ml/JavaBucketedRandomProjectionLSHExample.java
---
@@ -35,8 +35,15 @@
import org.apache.spark.sql.types.Metadata;
import org.apache.spark.sql.types.StructField;
import org.apache.spark.sql.types.StructType;
+
+import static org.apache.spark.sql.functions.col;
// $example off$
+/**
+ * An example demonstrating BucketedRandomProjectionLSH.
+ * Run with:
+ * bin/run-example
org.apache.spark.examples.ml.JavaBucketedRandomProjectionLSHExample
--- End diff --
Actually we can simplify it as ```bin/run-example
ml.JavaBucketedRandomProjectionLSHExample```, but it's ok to leave as it is.
---
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]