File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
mllib/src/main/scala/org/apache/spark/mllib/tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,8 @@ class DecisionTree (private val strategy: Strategy) extends Serializable with Lo
167
167
168
168
timer.stop(" total" )
169
169
170
- // println(timer) // Print internal timing info.
170
+ logDebug(" Internal timing for DecisionTree:" )
171
+ logDebug(s " $timer" )
171
172
172
173
new DecisionTreeModel (topNode, strategy.algo)
173
174
}
Original file line number Diff line number Diff line change @@ -67,9 +67,8 @@ class TimeTracker extends Serializable {
67
67
* Print all timing results in seconds.
68
68
*/
69
69
override def toString : String = {
70
- s " Timing \n " +
71
- totals.map { case (label, elapsed) =>
72
- s " $label: ${elapsed / 1e9 }"
73
- }.mkString(" \n " )
70
+ totals.map { case (label, elapsed) =>
71
+ s " $label: ${elapsed / 1e9 }"
72
+ }.mkString(" \n " )
74
73
}
75
74
}
You can’t perform that action at this time.
0 commit comments