Skip to content
Snippets Groups Projects
Commit ae036d08 authored by Alain's avatar Alain Committed by Xiangrui Meng
Browse files

[Minor][MLLIB] Fix a minor formatting bug in toString method in Node.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 4508f01890a723f80d631424ff8eda166a13a727)
Signed-off-by: default avatarXiangrui Meng <meng@databricks.com>
parent 686dd742
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment