GitHub user BryanCutler opened a pull request:
https://github.com/apache/spark/pull/13481
[SPARK-15738][PYSPARK][ML] Adding Pyspark ml RFormula __str__ method
similar to Scala API
## What changes were proposed in this pull request?
Adding __str__ to RFormula and model that will show the set formula param
and resolved formula. This is currently present in the Scala API, found
missing in PySpark during Spark 2.0 coverage review.
## How was this patch tested?
run pyspark-ml tests locally
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BryanCutler/spark
pyspark-ml-rformula_str-SPARK-15738
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13481.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 #13481
----
commit 449075294ed0dc39dbfb0bb8be4afd75a3f4010e
Author: Bryan Cutler <[email protected]>
Date: 2016-06-02T22:05:33Z
[SPARK-15738] Added PySpark ml.feature.RFormula __str__ method that prints
formula to match Scala API
commit c2e8d4bda5a0d207be493a27b795d085a0bff2cf
Author: Bryan Cutler <[email protected]>
Date: 2016-06-02T22:37:25Z
python test was failing due to calling str(RFormula) without the formula
param being set
----
---
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]