aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorXiangrui Meng <meng@databricks.com>2014-08-16 15:13:34 -0700
committerXiangrui Meng <meng@databricks.com>2014-08-16 15:13:43 -0700
commit0b354be2f9ec35547a60591acf4f4773a4869690 (patch)
tree9fe18d832faa9b91aa2bc0ac87477f541c396de5 /python
parentbd3ce2ffb8964abb4d59918ebb2c230fe4614aa2 (diff)
downloadspark-0b354be2f9ec35547a60591acf4f4773a4869690.tar.gz
spark-0b354be2f9ec35547a60591acf4f4773a4869690.tar.bz2
spark-0b354be2f9ec35547a60591acf4f4773a4869690.zip
[SPARK-3048][MLLIB] add LabeledPoint.parse and remove loadStreamingLabeledPoints
Move `parse()` from `LabeledPointParser` to `LabeledPoint` and make it public. This breaks binary compatibility only when a user uses synthesized methods like `tupled` and `curried`, which is rare. `LabeledPoint.parse` is more consistent with `Vectors.parse`, which is why `LabeledPointParser` is not preferred. freeman-lab tdas Author: Xiangrui Meng <meng@databricks.com> Closes #1952 from mengxr/labelparser and squashes the following commits: c818fb2 [Xiangrui Meng] merge master ce20e6f [Xiangrui Meng] update mima excludes b386b8d [Xiangrui Meng] fix tests 2436b3d [Xiangrui Meng] add parse() to LabeledPoint (cherry picked from commit 7e70708a99949549adde00cb6246a9582bbc4929) Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions