Das Netzwerk hat XOR korrekt nach 22 Iterationen gelernt.
Die Working Startgewichte waren: [0.3127595 0.65912388]
Die finalen Gewichte sind: [0.98591927 0.8667905 ]
Final Test Output:
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
Epoch Outputs:
Epoch 1:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 2:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 3:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 4:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 5:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 6:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 7:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 8:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 9:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 10:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 1, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 11:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 12:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 13:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 14:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 15:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 1, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 16:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 17:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 1, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 18:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 19:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 1, Target: 0
Epoch 20:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 0, Target: 1
Input: [1, 0], Output: 1, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 21:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 1, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 22:
Input: [0, 0], Output: 0, Target: 0
Input: [0, 1], Output: 1, Target: 1
Input: [1, 0], Output: 1, Target: 1
Input: [1, 1], Output: 0, Target: 0