[
https://issues.apache.org/jira/browse/SPARK-15492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297171#comment-15297171
]
Apache Spark commented on SPARK-15492:
--------------------------------------
User 'wangmiao1981' has created a pull request for this issue:
https://github.com/apache/spark/pull/13266
> Binarization scala example copy & paste to spark-shell error
> ------------------------------------------------------------
>
> Key: SPARK-15492
> URL: https://issues.apache.org/jira/browse/SPARK-15492
> Project: Spark
> Issue Type: Documentation
> Components: ML
> Reporter: Miao Wang
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]