Given 8 bits of inputs and 8 bits of weights, the single layer perceptron will classify the inputs as class 0 or 1.
Initialize inputs and expected output in test.py, then run make
in the test subdirectory.
N/A
# | Input | Output | Bidirectional |
---|---|---|---|
0 | Input bit 1 | Perceptron class output | Weight bit 1 |
1 | Input bit 2 | Weight bit 2 | |
2 | Input bit 3 | Weight bit 3 | |
3 | Input bit 4 | Weight bit 4 | |
4 | Input bit 5 | Weight bit 5 | |
5 | Input bit 6 | Weight bit 6 | |
6 | Input bit 7 | Weight bit 7 | |
7 | Input bit 8 | Weight bit 8 |