Skip to content

Commit

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

add missing comma and space
  • Loading branch information
Alain committed Apr 21, 2015
1 parent 9909ad3 commit 159a7bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Node (
var stats: Option[InformationGainStats]) extends Serializable with Logging {

override def toString = "id = " + id + ", isLeaf = " + isLeaf + ", predict = " + predict + ", " +
"impurity = " + impurity + "split = " + split + ", stats = " + stats
"impurity = " + impurity + ", split = " + split + ", stats = " + stats

/**
* build the left node and right nodes if not leaf
Expand Down

0 comments on commit 159a7bb

Please sign in to comment.