GitHub user vectorijk opened a pull request:

    https://github.com/apache/spark/pull/13922

    [SPARK-11938][PySpark] Expose numFeatures in all ML PredictionModel for 
PySpark

    ## What changes were proposed in this pull request?
    JIRA: 
[https://issues.apache.org/jira/browse/SPARK-11938](https://issues.apache.org/jira/browse/SPARK-11938)
    
    [SPARK-9715](https://issues.apache.org/jira/browse/SPARK-9715) provided 
support for numFeatures in all ML `PredictionModel`s, we should also expose it 
at PySpark.
    ## How was this patch tested?
    Unit Test for PySpark

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vectorijk/spark spark-11938

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/13922.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 #13922
    
----
commit 8f2e5c67b7adc6f5a0ae853837ebb516967bca6c
Author: lewuathe <[email protected]>
Date:   2016-04-01T14:29:53Z

    [SPARK-11938] Expose numFeatures in all ML PredictionModel for PySpark
    
    Aggregate numFeatures property in HasNumFeaturesModel in base.py.

commit 461b7c64a274a745f88f8eeb0d9c39470c7aa958
Author: lewuathe <[email protected]>
Date:   2016-04-02T02:16:33Z

    [SPARK-11938] Fix style

commit 872d384be9710eb5fd5c381ac4dd9eb7e40fa00a
Author: Kai Jiang <[email protected]>
Date:   2016-06-27T07:50:14Z

    export numFeatures in ML PredictionModel

----


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

Reply via email to