powered by
Create setting for naive bayes model with python
setNaiveBayes(variableNumber = 2000)
The number of variables selected by feature selection prior to training the model (this is required due to Naive Bayes requring a non sparse matrix)
# NOT RUN { model.nb <- setNaiveBayes() # }
Run the code above in your browser using DataLab