You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nick Pentreath (JIRA)" <ji...@apache.org> on 2016/05/26 10:38:13 UTC
[jira] [Resolved] (SPARK-15492) Binarization scala example copy &
paste to spark-shell error
[ https://issues.apache.org/jira/browse/SPARK-15492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Pentreath resolved SPARK-15492.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 13266
[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
> Assignee: Miao Wang
> Priority: Minor
> Fix For: 2.0.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org