Commit 426eee7
Alain
[Minor][MLLIB] Fix a formatting bug in toString method in Node.scala
1. predict(predict.toString) has already output prefix “predict” thus
it’s
duplicate to print ", predict = " again
2. there are some extra spaces1 parent d3a302d commit 426eee7
File tree
2 files changed
+3
-4
lines changed- mllib/src/main/scala/org/apache/spark/mllib/tree/model
2 files changed
+3
-4
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
0 commit comments