cs 434 HW1: Perceptron
http://classes.engr.oregonstate.edu/eecs/fall2013/cs434/hws/hw1.pdf
We were tasked with implementing an online perceptron algorithm that read in a training file, and then learned what the weight vector would be and tested it against a test file.
To run this:
- g++ perc.c
- a.out number_of_epochs shuffle(y/n) trainingfile testfile
- Default: a.out will call a.out with num_epochs set to # of rows, shuffle set to false, traing file set to perceptron_train.csv, and test_file set to perceptron_test.csv