Skip to content

Commit d9477ed

Browse files
committed
removed old inaccurate comment from test suite for mllib naive bayes
1 parent 76e5b0f commit d9477ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/test/scala/org/apache/spark/mllib/classification/NaiveBayesSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class NaiveBayesSuite extends FunSuite with MLlibTestSparkContext {
143143
val testRDD = sc.parallelize(testData, 2)
144144
testRDD.cache()
145145

146-
val model = NaiveBayes.train(testRDD, 1.0, "Bernoulli") ///!!! this gives same result on both models check the math
146+
val model = NaiveBayes.train(testRDD, 1.0, "Bernoulli")
147147
validateModelFit(pi, theta, model)
148148

149149
val validationData = NaiveBayesSuite.generateNaiveBayesInput(pi, theta, nPoints, 20, NaiveBayesModels.Bernoulli)

0 commit comments

Comments
 (0)