Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9490

MLlib evaluation metrics guide example python code uses deprecated print statement

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Documentation, MLlib
    • Labels:
      None
    • Target Version/s:

      Description

      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

      print(x)

        Attachments

          Activity

            People

            • Assignee:
              srowen Sean Owen
              Reporter:
              sethah Seth Hendrickson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: