Skip to content

Commit bd39fd2

Browse files
committed
remove addition
1 parent b82bd7c commit bd39fd2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mllib/src/main/scala/org/apache/spark/ml/param/shared/SharedParamsCodeGen.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ private[shared] object SharedParamsCodeGen {
5858
" For alpha = 0, the penalty is an L2 penalty. For alpha = 1, it is an L1 penalty.",
5959
isValid = "ParamValidators.inRange(0, 1)"),
6060
ParamDesc[Double]("tol", "the convergence tolerance for iterative algorithms"),
61-
ParamDesc[Double]("stepSize", "Step size to be used for each iteration of optimization."),
62-
ParamDesc[Double]("p", "the p norm value.", isValid = "ParamValidators.gtEq(1)"))
61+
ParamDesc[Double]("stepSize", "Step size to be used for each iteration of optimization."))
6362

6463
val code = genSharedParams(params)
6564
val file = "src/main/scala/org/apache/spark/ml/param/shared/sharedParams.scala"

0 commit comments

Comments
 (0)