GitHub user jkbradley opened a pull request:

    https://github.com/apache/spark/pull/21274

    [SPARK-24213][ML] Fix for Int id type for PowerIterationClustering in 
spark.ml

    ## What changes were proposed in this pull request?
    
    PIC in spark.ml has tests for "id" type IntegerType, but those tests did 
not fully check the result.  This patch:
    * fixes the unit test to break for the existing implementation
    * fixes the implementation
    
    ## How was this patch tested?
    
    Existing unit tests, with fixes

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jkbradley/spark SPARK-24213

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/21274.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21274
    
----
commit cd02df5a995ac7daa2e76dcc13c54b987265b6e4
Author: Joseph K. Bradley <joseph@...>
Date:   2018-05-08T22:02:33Z

    fix for Int id type for PowerIterationClustering in spark.ml

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to