You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by me...@apache.org on 2015/04/22 01:46:47 UTC
spark git commit: [Minor][MLLIB] Fix a minor formatting bug in
toString method in Node.scala
Repository: spark
Updated Branches:
refs/heads/branch-1.3 fd61820d3 -> 4508f0189
[Minor][MLLIB] Fix a minor formatting bug in toString method in Node.scala
add missing comma and space
Author: Alain <ai...@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
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4508f018
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4508f018
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4508f018
Branch: refs/heads/branch-1.3
Commit: 4508f01890a723f80d631424ff8eda166a13a727
Parents: fd61820
Author: Alain <ai...@usc.edu>
Authored: Tue Apr 21 16:46:17 2015 -0700
Committer: Xiangrui Meng <me...@databricks.com>
Committed: Tue Apr 21 16:46:17 2015 -0700
----------------------------------------------------------------------
mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/4508f018/mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala
----------------------------------------------------------------------
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 d961081..0f28860 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
@@ -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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org