Github user sethah commented on a diff in the pull request: https://github.com/apache/spark/pull/16715#discussion_r100426020 --- Diff: examples/src/main/java/org/apache/spark/examples/ml/JavaBucketedRandomProjectionLSHExample.java --- @@ -71,25 +71,32 @@ public static void main(String[] args) { BucketedRandomProjectionLSH mh = new BucketedRandomProjectionLSH() .setBucketLength(2.0) .setNumHashTables(3) - .setInputCol("keys") - .setOutputCol("values"); + .setInputCol("features") + .setOutputCol("hashes"); BucketedRandomProjectionLSHModel model = mh.fit(dfA); // Feature Transformation + System.out.println("The hashed dataset where hashed values are stored in the column 'values':"); --- End diff -- it's not values anymore
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org