/comp30027-project1

Naive Bayes Implementation for Supervised training and Unsupervised training of large data sets using for Machine Learning. Project 1 for COMP30027 Machine Learning.

Primary LanguagePython

COMP30027 Machine Learning Project 1

Build

./setup.sh
source venv/bin/activate
jupyter notebook

Then open the src/proj1.ipynb notebook.

Naive Bayes imlpementation

Core data structure: 1D array of dictionaries of dictionaries

Each cell of the outermost array corresponds to each attribute.

In the second layer, each key-value pair corresponds to a class.

In the third layer, each key-value pair corresponds to an attribute value and its number of occurrences.