Please click the perceptron code link to download the code that includes training and classification.
There are two project folders in the zip file:
- PerceptronTrainer: Perform training based on training data in training.txt and save the trained weight at weights.txt.
- PerceptronClassifier: Perform classification based on the weights.txt and output the result to classification.txt.
You have to set the schemes (working directories) of both projects to the PerceptronTrainer folder where the weights.txt file is located. So, they can share the file at the same location.

No comments:
Post a Comment