[ https://issues.apache.org/jira/browse/SPARK-10663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14877127#comment-14877127 ]
Sean Owen commented on SPARK-10663: ----------------------------------- [~jzhang] I see model.transform(test.toDF) on the current docs: http://spark.apache.org/docs/latest/ml-guide.html#example-pipeline I think this is indeed redundant. Only one instance uses .toDF > Change test.toDF to test in Spark ML Programming Guide > ------------------------------------------------------ > > Key: SPARK-10663 > URL: https://issues.apache.org/jira/browse/SPARK-10663 > Project: Spark > Issue Type: Documentation > Components: Documentation > Reporter: Matt Hagen > Priority: Trivial > > Spark 1.5.0 > Spark ML Programming Guide > Example: Pipeline > I believe model.transform(test.toDF) should be model.transform(test). > Note that "test" is already a DataFrame. -- 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