Github user dbtsai commented on a diff in the pull request:
https://github.com/apache/spark/pull/11119#discussion_r52279449
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/param/shared/SharedParamsCodeGen.scala
---
@@ -78,7 +78,24 @@ private[shared] object SharedParamsCodeGen {
ParamDesc[String]("solver", "the solver algorithm for optimization.
If this is not set or " +
"empty, default value is 'auto'.", Some("\"auto\"")))
- val code = genSharedParams(params)
+ // scalastyle:off
+ val extras: Seq[String] = Seq(
+ """
+ |private[ml] trait HasInitialModel[T <: Model[T]] extends Params {
+ |
+ | /**
+ | * Param for initial model of warm start.
+ | * @group param
+ | */
+ | final val initialModel: Param[T] = new Param[T](this, "initial
model", "initial model of warm-start")
--- End diff --
initial model to warm-start
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]