-
- Downloads
[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
Showing
- mllib/src/main/scala/org/apache/spark/ml/tree/treeModels.scala 5 additions, 0 deletions.../src/main/scala/org/apache/spark/ml/tree/treeModels.scala
- python/pyspark/ml/classification.py 16 additions, 4 deletionspython/pyspark/ml/classification.py
- python/pyspark/ml/regression.py 43 additions, 3 deletionspython/pyspark/ml/regression.py
Please register or sign in to comment