Contains Two files perceplearn.py and percepclassify.py.
-
perceplearn.py is an multiclass perceptron
-
percepclassify.py will classify one file given to its stdin as input and will write output to stdout
Running Scripts:
Run perceplearn.py like this: python3 perceplearn.py
Run percepclassify.py like this: python3 percepclassify.py <modelfile(created above)>(Hit Enter to take input from STDIN) testfile_to_classify.txt