Skip to content

Commit

Permalink
[Minor][MLLIB] Fix a minor formatting bug in toString method in Node.…
Browse files Browse the repository at this point in the history
…scala

add missing comma and space

Author: Alain <aihe@usc.edu>

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 <meng@databricks.com>
  • Loading branch information
Alain authored and mengxr committed Apr 21, 2015
1 parent 686dd74 commit ae036d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Node (

override def toString: String = {
"id = " + id + ", isLeaf = " + isLeaf + ", predict = " + predict + ", " +
"impurity = " + impurity + "split = " + split + ", stats = " + stats
"impurity = " + impurity + ", split = " + split + ", stats = " + stats
}

/**
Expand Down

0 comments on commit ae036d0

Please sign in to comment.