Machine Learning in Python
It contains machine learning algorithms taught in CS7301 [ Advanced Machine Learning ] course at UTD.
Simply run below command for testing machine library functionality.
python main.py <training_set> <validation_set> <test_set> <to_print>
for example:
python main.py 1 2 data/training_set.csv data/validation_set.csv data/test_set.csv yes
It will run decision tree classifier on training set and report back the accuracy of
- Information Gain heuristics ( Before & After pruning )
- Variance Impurity heuristics ( Before & After pruning )
to_print will make program to print the tree on console. Sample output is attached as sample_output.txt