diff options
author | MechCoder <manojkumarsivaraj334@gmail.com> | 2015-07-07 08:58:08 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-07-07 08:58:08 -0700 |
commit | 1dbc4a155f3697a3973909806be42a1be6017d12 (patch) | |
tree | aef8a830fbeca56fcfa2ca5b050959f62b2c5c25 /python/pyspark/rddsampler.py | |
parent | 0a63d7ab8a58d3e48d01740729a7832f1834efe8 (diff) | |
download | spark-1dbc4a155f3697a3973909806be42a1be6017d12.tar.gz spark-1dbc4a155f3697a3973909806be42a1be6017d12.tar.bz2 spark-1dbc4a155f3697a3973909806be42a1be6017d12.zip |
[SPARK-8711] [ML] Add additional methods to PySpark ML tree models
Add numNodes and depth to treeModels, add treeWeights to ensemble Models.
Add __repr__ to all models.
Author: MechCoder <manojkumarsivaraj334@gmail.com>
Closes #7095 from MechCoder/missing_methods_tree and squashes the following commits:
23b08be [MechCoder] private [spark]
38a0860 [MechCoder] rename pyTreeWeights to javaTreeWeights
6d16ad8 [MechCoder] Fix Python 3 Error
47d7023 [MechCoder] Use np.allclose and treeEnsembleModel -> TreeEnsembleMethods
819098c [MechCoder] [SPARK-8711] [ML] Add additional methods ot PySpark ML tree models
Diffstat (limited to 'python/pyspark/rddsampler.py')
0 files changed, 0 insertions, 0 deletions