Skip to content

Commit 159a7bb

Browse files
author
Alain
committed
[Minor][MLLIB] Fix a minor formatting bug in toString methods in Node.scala
add missing comma and space
1 parent 9909ad3 commit 159a7bb

File tree

1 file changed

+1
-1
lines changed
  • mllib/src/main/scala/org/apache/spark/mllib/tree/model

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/tree/model/Node.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Node (
5151
var stats: Option[InformationGainStats]) extends Serializable with Logging {
5252

5353
override def toString = "id = " + id + ", isLeaf = " + isLeaf + ", predict = " + predict + ", " +
54-
"impurity = " + impurity + "split = " + split + ", stats = " + stats
54+
"impurity = " + impurity + ", split = " + split + ", stats = " + stats
5555

5656
/**
5757
* build the left node and right nodes if not leaf

0 commit comments

Comments
 (0)