Skip to content

Commit 94fd98e

Browse files
committed
fix explain params
1 parent 48d0e84 commit 94fd98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/ml/param/params.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ trait Params extends Identifiable with Serializable {
136136
val valueStr = if (isDefined(param)) {
137137
val defaultValueStr = getDefault(param).map("default: " + _)
138138
val currentValueStr = get(param).map("current: " + _)
139-
(defaultValueStr ++ currentValueStr).flatten.mkString("(", ", ", ")")
139+
(defaultValueStr ++ currentValueStr).mkString("(", ", ", ")")
140140
} else {
141141
"(undefined)"
142142
}

0 commit comments

Comments
 (0)