spark-instrumented-optimizer/mllib-local
Xiangrui Meng 0847fe4eb3 [SPARK-14653][ML] Remove json4s from mllib-local
## What changes were proposed in this pull request?

This PR moves Vector.toJson/fromJson to ml.linalg.VectorEncoder under mllib/ to keep mllib-local's dependency minimal. The json encoding is used by Params. So we still need this feature in SPARK-14615, where we will switch to ml.linalg in spark.ml APIs.

## How was this patch tested?

Copied existing unit tests over.

cc; dbtsai

Author: Xiangrui Meng <meng@databricks.com>

Closes #12802 from mengxr/SPARK-14653.
2016-04-30 06:30:39 -07:00
..
src [SPARK-14653][ML] Remove json4s from mllib-local 2016-04-30 06:30:39 -07:00
pom.xml [SPARK-14653][ML] Remove json4s from mllib-local 2016-04-30 06:30:39 -07:00