-
- Downloads
Bug fix of sparse vector conversion
Fixed a small bug caused by the inconsistency of index/data array size and vector length. Author: Funes <tianshaocun@gmail.com> Author: funes <tianshaocun@gmail.com> Closes #661 from funes/bugfix and squashes the following commits: edb2b9d [funes] remove unused import 75dced3 [Funes] update test case d129a66 [Funes] Add test for sparse breeze by vector builder 64e7198 [Funes] Copy data only when necessary b85806c [Funes] Bug fix of sparse vector conversion
Showing
- mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala 5 additions, 1 deletion...rc/main/scala/org/apache/spark/mllib/linalg/Vectors.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/BreezeVectorConversionSuite.scala 9 additions, 0 deletions...ache/spark/mllib/linalg/BreezeVectorConversionSuite.scala
Please register or sign in to comment