-
- Downloads
[SPARK-5512][Mllib] Run the PIC algorithm with initial vector suggected by the PIC paper
As suggested by the paper of Power Iteration Clustering, it is useful to set the initial vector v0 as the degree vector d. This pr tries to add a running method for that. Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #4301 from viirya/pic_degreevector and squashes the following commits: 7db28fb [Liang-Chi Hsieh] Refactor it to address comments. 19cf94e [Liang-Chi Hsieh] Add an option to select initialization method. ec88567 [Liang-Chi Hsieh] Run the PIC algorithm with degree vector d as suggected by the PIC paper.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/clustering/PowerIterationClustering.scala 37 additions, 4 deletions...che/spark/mllib/clustering/PowerIterationClustering.scala
- mllib/src/test/scala/org/apache/spark/mllib/clustering/PowerIterationClusteringSuite.scala 10 additions, 0 deletions...park/mllib/clustering/PowerIterationClusteringSuite.scala
Please register or sign in to comment