Categorical Naive Bayes Classifier for Python

by DaveK   Last Updated March 14, 2019 20:26 PM

I am looking for a python library that will allow me to take an csv file which contains a database filled with categorical values only. I want to be able to apply this database to a Naive Bayes classifier in Python hopefully applying an attribute as the prediction feature. I am trying to use the BreastCancer.csv file found here https://archive.ics.uci.edu/ml/datasets/breast+cancer to predict the attribute value reoccurrence.

Hopefully an example of usage can also be provided.



Related Questions


Scikit-learn's LabelBinarizer vs. OneHotEncoder

Updated May 22, 2018 17:26 PM



recoding categorical variables in pandas

Updated June 02, 2017 02:26 AM