Commit b914f3b
committed
DecisionTree optimization: eliminated filters + small changes
DecisionTree.scala
* Eliminated filters, replaced by building tree on the fly and filtering top-down.
** Aggregation over examples now skips examples which do not reach the current level.
* Only calculate unorderedFeatures once (in findSplitsBins)
Node: Renamed predictIfLeaf to predict
Bin, Split: Updated doc1 parent b2ed1f3 commit b914f3b
File tree
6 files changed
+326
-151
lines changed- mllib/src
- main/scala/org/apache/spark/mllib/tree
- model
- test/scala/org/apache/spark/mllib/tree
6 files changed
+326
-151
lines changed
0 commit comments