GitHub user jkbradley opened a pull request:

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

    [SPARK-3751] [mllib] DecisionTree: example update + print options

    DecisionTreeRunner functionality additions:
    * Allow user to pass in a test dataset
    * Do not print full model if the model is too large.
    
    As part of this, modify DecisionTreeModel and RandomForestModel to allow 
printing less info.  Proposed updates:
    * toString: prints model summary
    * toDebugString: prints full model (named after RDD.toDebugString)
    
    CC: @mengxr  @chouqin @manishamde @codedeft  Small update (whomever can 
take a look).  Thanks!

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

    $ git pull https://github.com/jkbradley/spark dtrunner-update

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

    https://github.com/apache/spark/pull/2604.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 #2604
    
----
commit e007a952621208df1d2bc891e77d1e08ddc1cdaf
Author: Joseph K. Bradley <[email protected]>
Date:   2014-09-29T20:57:40Z

    Updated DecisionTreeRunner to accept a test dataset.

commit 22eac8cad5470207193fbf505d6bf3f82b3c1fd2
Author: Joseph K. Bradley <[email protected]>
Date:   2014-09-30T20:47:30Z

    Merge remote-tracking branch 'upstream/master' into dtrunner-update

commit 1d0d93db6471f02497673a31949885a2cc8feddb
Author: Joseph K. Bradley <[email protected]>
Date:   2014-09-30T21:27:09Z

    Updated DT and RF to print less when toString is called. Added 
toDebugString for verbose printing.

----


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