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 apache#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
  • Loading branch information
Alain authored and markhamstra committed Apr 23, 2015
1 parent 4a37b94 commit 9da4a0c
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 9da4a0c

Please sign in to comment.