GitHub user jkbradley opened a pull request:

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

    DecisionTree Python consistency update

    Added 6 static train methods to match Python API, but without default 
arguments (but with Python default args noted in docs).
    
    Added factory classes for Algo and Impurity, but made private[mllib].
    
    CC: @mengxr @dorx  Please let me know if there are other changes which 
would help with API consistency---thanks!

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

    $ git pull https://github.com/jkbradley/spark dt-python-consistency

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

    https://github.com/apache/spark/pull/1798.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 #1798
    
----
commit eaf84c0cdcf2eee5c00addbc4c73d24aa90e68b8
Author: Joseph K. Bradley <[email protected]>
Date:   2014-08-05T23:36:21Z

    Added DecisionTree static train() methods API to match Python, but without 
default parameters

commit c69985063c22b1802d7755bd6b12e1e8cd76ba74
Author: Joseph K. Bradley <[email protected]>
Date:   2014-08-05T23:46:05Z

    a few doc comments

commit e35866176f69ac408fa422cd6c09d6a2db6e9435
Author: Joseph K. Bradley <[email protected]>
Date:   2014-08-06T00:43:22Z

    DecisionTree API change:
    * Added 6 static train methods to match Python API, but without default 
arguments (but with Python default args noted in docs).
    
    Added factory classes for Algo and Impurity, but made private[mllib].

commit fe6dbfad5f2734eb6cb54ef1708312df3e67b8fc
Author: Joseph K. Bradley <[email protected]>
Date:   2014-08-06T02:34:06Z

    removed unnecessary imports

----


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