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

    https://github.com/apache/spark/pull/15314#discussion_r82082979
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/classification/NaiveBayesSuite.scala 
---
    @@ -302,14 +302,15 @@ class NaiveBayesSuite extends SparkFunSuite with 
MLlibTestSparkContext with Defa
         testEstimatorAndModelReadWrite(nb, dataset, 
NaiveBayesSuite.allParamSettings, checkModelData)
       }
     
    -  test("should support all NumericType labels and not support other 
types") {
    +  test("should support all NumericType labels and weights and not support 
other types") {
         val nb = new NaiveBayes()
         MLTestingUtils.checkNumericTypes[NaiveBayesModel, NaiveBayes](
           nb, spark) { (expected, actual) =>
             assert(expected.pi === actual.pi)
             assert(expected.theta === actual.theta)
           }
       }
    +
    --- End diff --
    
    remove this


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