Skip to content

Commit ae036d0

Browse files
Alainmengxr
authored andcommitted
[Minor][MLLIB] Fix a minor formatting bug in toString method in Node.scala
add missing comma and space Author: Alain <[email protected]> Closes #5621 from AiHe/tree-node-issue and squashes the following commits: 159a7bb [Alain] [Minor][MLLIB] Fix a minor formatting bug in toString methods in Node.scala (cherry picked from commit 4508f01) Signed-off-by: Xiangrui Meng <[email protected]>
1 parent 686dd74 commit ae036d0

File tree

1 file changed

+1
-1
lines changed
  • mllib/src/main/scala/org/apache/spark/mllib/tree/model

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Node (
5252

5353
override def toString: String = {
5454
"id = " + id + ", isLeaf = " + isLeaf + ", predict = " + predict + ", " +
55-
"impurity = " + impurity + "split = " + split + ", stats = " + stats
55+
"impurity = " + impurity + ", split = " + split + ", stats = " + stats
5656
}
5757

5858
/**

0 commit comments

Comments
 (0)