We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc5a23 commit 0287772Copy full SHA for 0287772
mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala
@@ -89,7 +89,7 @@ class DecisionTree (private val strategy: Strategy) extends Serializable with Lo
89
}
90
91
logDebug("numElementsPerNode = " + numElementsPerNode)
92
- val arraySizePerNode = 8 * numElementsPerNode //approx. memory usage for bin aggregate array
+ val arraySizePerNode = 8 * numElementsPerNode // approx. memory usage for bin aggregate array
93
val maxNumberOfNodesPerGroup = scala.math.max(maxMemoryUsage / arraySizePerNode, 1)
94
logDebug("maxNumberOfNodesPerGroup = " + maxNumberOfNodesPerGroup)
95
// nodes at a level is 2^(level-1). level is zero indexed.
0 commit comments