Skip to content

LucaAngioloni/NaiveBayes_LearningCurves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NaiveBayes_LearningCurves

Naive Bayes comparison and learning curves.

This code uses existing implementations of Naive Bayes (taken from Scikit Learn) to study the trend of generalization error with increasing number of examples.
Concretely two textual datasets are used:

  • 20 newsgroups
  • Reuters-21578
Learning curves of Naive Bayes are compared and plotted (using Matplotlib).
In particular the implementations of Naive Bayes analized are: Bernoulli and Multinomial
  • Bernoulli Naive Bayes
  • Multinomial Naive Bayes

Releases

No releases published

Packages

No packages published

Languages