You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2018/12/15 14:44:00 UTC

[jira] [Updated] (SPARK-26315) auto cast threshold from Integer to Float in approxSimilarityJoin of BucketedRandomProjectionLSHModel

     [ https://issues.apache.org/jira/browse/SPARK-26315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen updated SPARK-26315:
------------------------------
      Priority: Minor  (was: Major)
    Issue Type: Bug  (was: Improvement)

> auto cast threshold from Integer to Float in approxSimilarityJoin of BucketedRandomProjectionLSHModel
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-26315
>                 URL: https://issues.apache.org/jira/browse/SPARK-26315
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib, PySpark
>    Affects Versions: 2.3.2
>            Reporter: Song Ci
>            Priority: Minor
>             Fix For: 2.3.3, 2.4.1, 3.0.0
>
>
> when I was using 
> {code:java}
> // code placeholder
> BucketedRandomProjectionLSHModel.approxSimilarityJoin(dt_features, dt_features, distCol="EuclideanDistance", threshold=20.)
> {code}
> I was confused then that this method reported an exception some java method (dataset, dataset, integer, string) fingerprint can not be found.... I think if I give an integer, and the python method of pyspark should be auto-cast this to float if needed. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org