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

Typo in Spark Pipeline example

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.6.0
    • 1.6.1, 2.0.0
    • Documentation

    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

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

            Dates

              Created:
              Updated:
              Resolved: