aboutsummaryrefslogtreecommitdiff
path: root/examples/src/main/python/logistic_regression.py
diff options
context:
space:
mode:
authorwm624@hotmail.com <wm624@hotmail.com>2016-05-19 23:21:17 -0700
committerXiangrui Meng <meng@databricks.com>2016-05-19 23:21:17 -0700
commit4c7a6b385c79f4de07a89495afce4f8e73b06086 (patch)
treebe203bbc460f68f03476f8bfd7aba57a0408d706 /examples/src/main/python/logistic_regression.py
parent09a00510c4759ff87abb0b2fdf1630ddf36ca12c (diff)
downloadspark-4c7a6b385c79f4de07a89495afce4f8e73b06086.tar.gz
spark-4c7a6b385c79f4de07a89495afce4f8e73b06086.tar.bz2
spark-4c7a6b385c79f4de07a89495afce4f8e73b06086.zip
[SPARK-15363][ML][EXAMPLE] Example code shouldn't use VectorImplicits._, asML/fromML
## What changes were proposed in this pull request? (Please fill in changes proposed in this fix) In this DataFrame example, we use VectorImplicits._, which is private API. Since Vectors object has public API, we use Vectors.fromML instead of implicts. ## How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) Manually run the example. Author: wm624@hotmail.com <wm624@hotmail.com> Closes #13213 from wangmiao1981/ml.
Diffstat (limited to 'examples/src/main/python/logistic_regression.py')
0 files changed, 0 insertions, 0 deletions