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

    https://github.com/apache/spark/pull/17326#discussion_r107296544
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/classification/MultilayerPerceptronClassifierSuite.scala
 ---
    @@ -74,6 +74,7 @@ class MultilayerPerceptronClassifierSuite
           .setMaxIter(100)
           .setSolver("l-bfgs")
         val model = trainer.fit(dataset)
    +    MLTestingUtils.checkCopy(model)
    --- End diff --
    
    Let's do it this way for now - would be good to log a JIRA to investigate a 
better and more generic way of testing so that it doesn't have to be done 
manually for each newly added Estimator/Model (or when a Model changes such 
that `defaultCopy` is no longer sufficient, etc)


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