You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2015/07/31 22:46:05 UTC

[jira] [Resolved] (SPARK-9490) MLlib evaluation metrics guide example python code uses deprecated print statement

     [ https://issues.apache.org/jira/browse/SPARK-9490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiangrui Meng resolved SPARK-9490.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 7822
[https://github.com/apache/spark/pull/7822]

> MLlib evaluation metrics guide example python code uses deprecated print statement
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-9490
>                 URL: https://issues.apache.org/jira/browse/SPARK-9490
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation, MLlib
>            Reporter: Seth Hendrickson
>            Assignee: Sean Owen
>            Priority: Trivial
>             Fix For: 1.5.0
>
>
> The python examples in the evaluation metrics user guide (MLlib) use "print x" style print statements, which won't work in python 3. These should be changed to {code}print(x){code}



--
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