We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea62af commit 18f3219Copy full SHA for 18f3219
mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala
@@ -186,7 +186,7 @@ class NaiveBayes private (
186
private var lambda: Double,
187
private var modelType: NaiveBayes.ModelType) extends Serializable with Logging {
188
189
- private def this(lambda: Double) = this(lambda, NaiveBayes.Multinomial)
+ def this(lambda: Double) = this(lambda, NaiveBayes.Multinomial)
190
191
def this() = this(1.0, NaiveBayes.Multinomial)
192
0 commit comments