Training for Truth Table 1: (0, 0, 0, 0)
The network learned the truth table correctly after 1 iterations.
Testing the trained network:
Input: [0 0], Target: 0, Output: 0
Input: [0 1], Target: 0, Output: 0
Input: [1 0], Target: 0, Output: 0
Input: [1 1], Target: 0, Output: 0
-----------------------------------------------------------
Training for Truth Table 2: (0, 0, 0, 1)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 0, Output: 0
Input: [0 1], Target: 0, Output: 0
Input: [1 0], Target: 0, Output: 1
Input: [1 1], Target: 1, Output: 0
-----------------------------------------------------------
Training for Truth Table 3: (0, 0, 1, 0)
The network learned the truth table correctly after 5 iterations.
Testing the trained network:
Input: [0 0], Target: 0, Output: 0
Input: [0 1], Target: 0, Output: 0
Input: [1 0], Target: 1, Output: 1
Input: [1 1], Target: 0, Output: 0
-----------------------------------------------------------
Training for Truth Table 4: (0, 0, 1, 1)
The network learned the truth table correctly after 3 iterations.
Testing the trained network:
Input: [0 0], Target: 0, Output: 0
Input: [0 1], Target: 0, Output: 0
Input: [1 0], Target: 1, Output: 1
Input: [1 1], Target: 1, Output: 1
-----------------------------------------------------------
Training for Truth Table 5: (0, 1, 0, 0)
The network learned the truth table correctly after 4 iterations.
Testing the trained network:
Input: [0 0], Target: 0, Output: 0
Input: [0 1], Target: 1, Output: 1
Input: [1 0], Target: 0, Output: 0
Input: [1 1], Target: 0, Output: 0
-----------------------------------------------------------
Training for Truth Table 6: (0, 1, 0, 1)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 0, Output: 0
Input: [0 1], Target: 1, Output: 0
Input: [1 0], Target: 0, Output: 1
Input: [1 1], Target: 1, Output: 0
-----------------------------------------------------------
Training for Truth Table 7: (0, 1, 1, 0)
The network learned the truth table correctly after 5 iterations.
Testing the trained network:
Input: [0 0], Target: 0, Output: 0
Input: [0 1], Target: 1, Output: 1
Input: [1 0], Target: 1, Output: 1
Input: [1 1], Target: 0, Output: 0
-----------------------------------------------------------
Training for Truth Table 8: (0, 1, 1, 1)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 0, Output: 0
Input: [0 1], Target: 1, Output: 0
Input: [1 0], Target: 1, Output: 0
Input: [1 1], Target: 1, Output: 0
-----------------------------------------------------------
Training for Truth Table 9: (1, 0, 0, 0)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 1, Output: 0
Input: [0 1], Target: 0, Output: 0
Input: [1 0], Target: 0, Output: 0
Input: [1 1], Target: 0, Output: 0
-----------------------------------------------------------
Training for Truth Table 10: (1, 0, 0, 1)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 1, Output: 0
Input: [0 1], Target: 0, Output: 0
Input: [1 0], Target: 0, Output: 0
Input: [1 1], Target: 1, Output: 1
-----------------------------------------------------------
Training for Truth Table 11: (1, 0, 1, 0)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 1, Output: 0
Input: [0 1], Target: 0, Output: 0
Input: [1 0], Target: 1, Output: 1
Input: [1 1], Target: 0, Output: 0
-----------------------------------------------------------
Training for Truth Table 12: (1, 0, 1, 1)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 1, Output: 0
Input: [0 1], Target: 0, Output: 1
Input: [1 0], Target: 1, Output: 0
Input: [1 1], Target: 1, Output: 0
-----------------------------------------------------------
Training for Truth Table 13: (1, 1, 0, 0)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 1, Output: 0
Input: [0 1], Target: 1, Output: 1
Input: [1 0], Target: 0, Output: 0
Input: [1 1], Target: 0, Output: 0
-----------------------------------------------------------
Training for Truth Table 14: (1, 1, 0, 1)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 1, Output: 0
Input: [0 1], Target: 1, Output: 0
Input: [1 0], Target: 0, Output: 1
Input: [1 1], Target: 1, Output: 0
-----------------------------------------------------------
Training for Truth Table 15: (1, 1, 1, 0)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 1, Output: 0
Input: [0 1], Target: 1, Output: 1
Input: [1 0], Target: 1, Output: 1
Input: [1 1], Target: 0, Output: 0
-----------------------------------------------------------
Training for Truth Table 16: (1, 1, 1, 1)
The network failed to learn the truth table after 1000 iterations.
Testing the trained network:
Input: [0 0], Target: 1, Output: 0
Input: [0 1], Target: 1, Output: 0
Input: [1 0], Target: 1, Output: 0
Input: [1 1], Target: 1, Output: 0
-----------------------------------------------------------