Miao Wang created SPARK-15492: --------------------------------- Summary: 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org