Github user MLnick commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12943#discussion_r62917637
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/MultilayerPerceptronClassifier.scala
 ---
    @@ -88,7 +88,7 @@ private[ml] trait MultilayerPerceptronParams extends 
PredictorParams
        * @group expertParam
        */
       final val weights: Param[Vector] = new Param[Vector](this, "weights",
    -    " Sets the weights of the model ")
    +    "Weights (either initial if before training or actual on model)")
    --- End diff --
    
    Perhaps we can clarify: `Model weight vector. If set before training, this 
represents the weight vector used to initialize training. If set on a trained 
model, this explicitly sets the model weights (overriding any existing 
weights)`, or something along those lines. Scala doc could be updated 
accordingly (agree it is unclear currently).


---
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]

Reply via email to