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

Typo in Spark Pipeline example

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1, 2.0.0
    • Component/s: Documentation
    • Labels:

      Description

      There is a typo in the Pipeline example,
      http://spark.apache.org/docs/latest/ml-guide.html#example-pipeline

      Namely, the line

      val sameModel = Pipeline.load("/tmp/spark-logistic-regression-model")

      should be

      val sameModel = PipelineModel.load("/tmp/spark-logistic-regression-model")

      I was trying to do a PR but somehow there is error when I try to build the documentation locally, so I hesitate to submit a PR. Someone who is already contributing to documentation should be able to fix it in no time. Thanks.

        Attachments

          Activity

            People

            • Assignee:
              Agent007 Jeff Lam
              Reporter:
              yukhei.chan@gmail.com Tom Chan
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: