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

    https://github.com/apache/spark/pull/12943#discussion_r62283467
  
    --- 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 --
    
    Should this be consistent with Scala API doc: ```Model weights. Can be 
returned either after training or after explicit setting```? Meanwhile, I think 
we should also update the Scala param doc.


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