-
- Downloads
[Spark-4995] Replace Vector.toBreeze.activeIterator with foreachActive
New foreachActive method of vector was introduced by SPARK-4431 as more efficient alternative to vector.toBreeze.activeIterator. There are some parts of codebase where it was not yet replaced. dbtsai Author: Jakub Dubovsky <dubovsky@avast.com> Closes #3846 from james64/SPARK-4995-foreachActive and squashes the following commits: 3eb7e37 [Jakub Dubovsky] Scalastyle fix 32fe6c6 [Jakub Dubovsky] activeIterator removed - IndexedRowMatrix.toBreeze 47a4777 [Jakub Dubovsky] activeIterator removed in RowMatrix.toBreeze 90a7d98 [Jakub Dubovsky] activeIterator removed in MLUtils.saveAsLibSVMFile
Showing
- mllib/src/main/scala/org/apache/spark/mllib/linalg/distributed/IndexedRowMatrix.scala 1 addition, 1 deletion...che/spark/mllib/linalg/distributed/IndexedRowMatrix.scala
- mllib/src/main/scala/org/apache/spark/mllib/linalg/distributed/RowMatrix.scala 2 additions, 2 deletions...org/apache/spark/mllib/linalg/distributed/RowMatrix.scala
- mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala 5 additions, 3 deletions.../src/main/scala/org/apache/spark/mllib/util/MLUtils.scala
Loading
Please register or sign in to comment