Das Netzwerk hat XOR korrekt nach 74 Iterationen gelernt.
Die Working Startgewichte waren: [0.61243308 0.133369 ]
Die finalen Gewichte sind: [0.92871349 0.87669256]
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: 1, Target: 1
Input: [1, 0], Output: 0, Target: 1
Input: [1, 1], Output: 0, 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: 0, Target: 0
Epoch 5:
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 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: 1, 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: 1, Target: 1
Input: [1, 1], Output: 0, Target: 0
Epoch 10:
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 11:
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 12:
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 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: 0, 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: 0, Target: 0
Epoch 17:
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 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: 0, Target: 0
Epoch 20:
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 21:
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 22:
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 23:
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 24:
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 25:
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 26:
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 27:
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 28:
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 29:
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 30:
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 31:
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 32:
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 33:
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 34:
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 35:
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 36:
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 37:
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 38:
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 39:
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 40:
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 41:
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 42:
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 43:
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 44:
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 45:
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 46:
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 47:
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 48:
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 49:
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 50:
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 51:
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 52:
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 53:
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 54:
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 55:
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 56:
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 57:
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 58:
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 59:
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 60:
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 61:
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 62:
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 63:
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 64:
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 65:
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 66:
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 67:
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 68:
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 69:
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 70:
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 71:
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 72:
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 73:
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 74:
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