aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlain <aihe@usc.edu>2015-04-21 16:46:17 -0700
committerXiangrui Meng <meng@databricks.com>2015-04-21 16:48:05 -0700
commitae036d08170202074b266afd17ce34b689c70b0c (patch)
tree06c193f99e0c8d1c49dd04ae9220cca3866c0d27
parent686dd742e11f6ad0078b7ff9b30b83a118fd8109 (diff)
downloadspark-ae036d08170202074b266afd17ce34b689c70b0c.tar.gz
spark-ae036d08170202074b266afd17ce34b689c70b0c.tar.bz2
spark-ae036d08170202074b266afd17ce34b689c70b0c.zip
[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: Xiangrui Meng <meng@databricks.com>
-rw-r--r--mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala b/mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala
index 708ba04b56..86390a20cb 100644
--- a/mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala
+++ b/mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala
@@ -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
}
/**