diff options
author | wm624@hotmail.com <wm624@hotmail.com> | 2016-05-26 12:36:36 +0200 |
---|---|---|
committer | Nick Pentreath <nickp@za.ibm.com> | 2016-05-26 12:36:36 +0200 |
commit | e451f7f0c3857cdbbca98e66928a97f797f2fc6b (patch) | |
tree | e77848ac0a4d1f5c2b5044b8f3374626b167d042 /.travis.yml | |
parent | 53d4abe9e996e53c1bdcd5ac4cb8cbf08b9ec8b5 (diff) | |
download | spark-e451f7f0c3857cdbbca98e66928a97f797f2fc6b.tar.gz spark-e451f7f0c3857cdbbca98e66928a97f797f2fc6b.tar.bz2 spark-e451f7f0c3857cdbbca98e66928a97f797f2fc6b.zip |
[SPARK-15492][ML][DOC] Binarization scala example copy & paste to spark-shell error
## What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
The Binarization scala example val dataFrame : Dataframe = spark.createDataFrame(data).toDF("label", "feature"), which can't be pasted in the spark-shell as Dataframe is not imported. Compared with other examples, this explicit type is not required.
So I removed Dataframe in the code.
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
Manually tested
Author: wm624@hotmail.com <wm624@hotmail.com>
Closes #13266 from wangmiao1981/unit.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions