Skip to content

Commit

Permalink
removed private from naive bayes constructor for lambda only
Browse files Browse the repository at this point in the history
  • Loading branch information
leahmcguire committed Mar 12, 2015
1 parent bea62af commit 18f3219
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class NaiveBayes private (
private var lambda: Double,
private var modelType: NaiveBayes.ModelType) extends Serializable with Logging {

private def this(lambda: Double) = this(lambda, NaiveBayes.Multinomial)
def this(lambda: Double) = this(lambda, NaiveBayes.Multinomial)

def this() = this(1.0, NaiveBayes.Multinomial)

Expand Down

0 comments on commit 18f3219

Please sign in to comment.