spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Chan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-12722) Typo in Spark Pipeline example
Date Fri, 08 Jan 2016 22:24:40 GMT
Tom Chan created SPARK-12722:
--------------------------------

             Summary: Typo in Spark Pipeline example
                 Key: SPARK-12722
                 URL: https://issues.apache.org/jira/browse/SPARK-12722
             Project: Spark
          Issue Type: Documentation
          Components: Documentation
    Affects Versions: 1.6.0
            Reporter: Tom Chan


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.



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


Mime
View raw message