Skip to content

A naive Bayes implementation that classifies biographies based on the subject's profession

Notifications You must be signed in to change notification settings

nickoralias/naive-bayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This classifier reads in a file of biographies, uses a portion of the biographies as a training set, and classifies the rest of the biographies by the subject's profession.  The format of the input file is specified as corpus.txt and a sample input is provided to show the format.

stopwords.txt and corpus.txt are both expected to be in the same directory as the compiled Classifier.class file.  Enter the number of entries to use as the training set when prompted from the command line.

About

A naive Bayes implementation that classifies biographies based on the subject's profession

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages