Skip to content

tillbe/Naive-Bayes-Python-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Naive-Bayes-Python-Implementation

A simple term-frequency naive Bayes implementation in Python. Data is taken from the UCI Machine Learning Repository. Code only works with the provided data file, but can easily be adapted to work other datasets. This is a very rough implementation with lots of room for improvement. Accuracy is between 91% and 94%.

Text pre-processing is kept to a minimum, but accuracy could potentially improved by removing non alphanumeric characters via regex.

About

A simple term-frequency naive Bayes implementation in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages