GitHub user ymwdalex opened a pull request:
https://github.com/apache/spark/pull/17137
Correct ML pipeline document
(https://issues.apache.org/jira/browse/SPARK-19797)
Fix the issue SPARK-19797 https://issues.apache.org/jira/browse/SPARK-19797
## What changes were proposed in this pull request?
Description about pipeline in this paragraph is incorrect
https://spark.apache.org/docs/latest/ml-pipeline.html#how-it-works
> If the Pipeline had more **stages**, it would call the
LogisticRegressionModelâs transform() method on the DataFrame before passing
the DataFrame to the next stage.
Reason: Transformer could also be a stage. But only another Estimator will
invoke an extra transform call. The description in the document misleads ML
pipeline users.
## How was this patch tested?
This is a tiny modification of **docs/ml-pipelines.md**. I jekyll build the
modification and check the compiled document.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ymwdalex/spark
SPARK-19797-ML-pipeline-document-correction
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17137.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17137
----
commit c9037be6250ab6db2f14babc103be478b2e0611a
Author: Zhe Sun <[email protected]>
Date: 2017-03-02T12:25:00Z
This commit fixes the issue
https://issues.apache.org/jira/browse/SPARK-19797
The JIRA issue describes why we need this correct.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]