The objective of the program is to classify different individuals as Democrats or Republicans.
- To train and validate the data is used 10-fold cross-validation.
- The data is randomly separated in 10 sets on each program start.
The program is using the Naive Bayes classifier to classify different individuals as Democrats or Republicans based on 16 attributes.
- Used data - Here
- Run
python3 main.py
Outputs accuracy for each of the 10 trainings and the average accuracy for a summary assessment of the classifier.