-
- Downloads
[SPARK-11766][MLLIB] add toJson/fromJson to Vector/Vectors
This is to support JSON serialization of Param[Vector] in the pipeline API. It could be used for other purposes too. The schema is the same as `VectorUDT`. jkbradley Author: Xiangrui Meng <meng@databricks.com> Closes #9751 from mengxr/SPARK-11766.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala 45 additions, 0 deletions...rc/main/scala/org/apache/spark/mllib/linalg/Vectors.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/VectorsSuite.scala 17 additions, 0 deletions...st/scala/org/apache/spark/mllib/linalg/VectorsSuite.scala
- project/MimaExcludes.scala 4 additions, 0 deletionsproject/MimaExcludes.scala
Loading
Please register or sign in to comment