GitHub user sethah opened a pull request:

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

    [SPARK-9715][ML] Store numFeatures in all ML PredictionModel types

    All prediction models should store `numFeatures` indicating the number of 
features the model was trained on. Default value of -1 added for backwards 
compatibility.

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

    $ git pull https://github.com/sethah/spark SPARK-9715

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

    https://github.com/apache/spark/pull/8675.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 #8675
    
----
commit 43deffc52b1b5b5da86608fb8b860cb7d602b05b
Author: sethah <[email protected]>
Date:   2015-09-08T21:42:16Z

    Adding abstract definition numFeatures for PredictionModel

commit b04f8f9adc334b3d0b5cfb09d35d80415e70b048
Author: sethah <[email protected]>
Date:   2015-09-08T23:34:51Z

    Changing trees numFeatures declaration and cleanup

commit 6eb4bc7c0f058832450552bfcb68c13ad549b961
Author: sethah <[email protected]>
Date:   2015-09-09T23:01:30Z

    adding Since tag and default value

----


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