-
- Downloads
[SPARK-12363][MLLIB] Remove setRun and fix PowerIterationClustering failed test
JIRA: https://issues.apache.org/jira/browse/SPARK-12363 This issue is pointed by yanboliang. When `setRuns` is removed from PowerIterationClustering, one of the tests will be failed. I found that some `dstAttr`s of the normalized graph are not correct values but 0.0. By setting `TripletFields.All` in `mapTriplets` it can work. Author: Liang-Chi Hsieh <viirya@gmail.com> Author: Xiangrui Meng <meng@databricks.com> Closes #10539 from viirya/fix-poweriter.
Showing
- examples/src/main/scala/org/apache/spark/examples/mllib/PowerIterationClusteringExample.scala 21 additions, 32 deletions...park/examples/mllib/PowerIterationClusteringExample.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/PowerIterationClustering.scala 14 additions, 10 deletions...che/spark/mllib/clustering/PowerIterationClustering.scala
- mllib/src/test/scala/org/apache/spark/mllib/clustering/PowerIterationClusteringSuite.scala 42 additions, 37 deletions...park/mllib/clustering/PowerIterationClusteringSuite.scala
- python/pyspark/mllib/clustering.py 19 additions, 6 deletionspython/pyspark/mllib/clustering.py
Loading
Please register or sign in to comment