=== Truth Table 1: Targets = (0, 0, 0, 0) ===
--- Training with Bias = 0 ---
Training successful after 1 iterations.
Start Weights: [-0.24788355 0.73818163]
Final Weights: [-0.24788355 0.73818163]
Bias: 0
=== Truth Table 2: Targets = (0, 0, 0, 1) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training failed after 500 iterations with Bias = -0.5.
Truth Table 2 could not be trained successfully with the given biases.
=== Truth Table 3: Targets = (0, 0, 1, 0) ===
--- Training with Bias = 0 ---
Training successful after 37 iterations.
Start Weights: [-1.84065641 0.89394703]
Final Weights: [ 0.85934359 -0.10605297]
Bias: 0
=== Truth Table 4: Targets = (0, 0, 1, 1) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training successful after 9 iterations.
Start Weights: [ 0.1482963 -0.96117832]
Final Weights: [ 1.5482963 -0.16117832]
Bias: -0.5
=== Truth Table 5: Targets = (0, 1, 0, 0) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training successful after 3 iterations.
Start Weights: [-0.2767018 1.16114787]
Final Weights: [-0.2767018 1.36114787]
Bias: -0.5
=== Truth Table 6: Targets = (0, 1, 0, 1) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training successful after 8 iterations.
Start Weights: [-1.04669028 0.58300389]
Final Weights: [-0.34669028 1.68300389]
Bias: -0.5
=== Truth Table 7: Targets = (0, 1, 1, 0) ===
--- Training with Bias = 0 ---
Training successful after 5 iterations.
Start Weights: [0.64436629 0.40923079]
Final Weights: [0.84436629 0.80923079]
Bias: 0
=== Truth Table 8: Targets = (0, 1, 1, 1) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training failed after 500 iterations with Bias = -0.5.
Truth Table 8 could not be trained successfully with the given biases.
=== Truth Table 9: Targets = (1, 0, 0, 0) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training successful after 1 iterations.
Start Weights: [-0.13148464 -0.60446763]
Final Weights: [-0.13148464 -0.60446763]
Bias: 0.9
=== Truth Table 10: Targets = (1, 0, 0, 1) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training failed after 500 iterations with Bias = -0.5.
Truth Table 10 could not be trained successfully with the given biases.
=== Truth Table 11: Targets = (1, 0, 1, 0) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training successful after 12 iterations.
Start Weights: [-1.1572868 1.42838662]
Final Weights: [-0.0572868 1.42838662]
Bias: 0.9
=== Truth Table 12: Targets = (1, 0, 1, 1) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training failed after 500 iterations with Bias = -0.5.
Truth Table 12 could not be trained successfully with the given biases.
=== Truth Table 13: Targets = (1, 1, 0, 0) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training successful after 3 iterations.
Start Weights: [ 1.15496011 -0.22358277]
Final Weights: [ 1.15496011 -0.02358277]
Bias: 0.9
=== Truth Table 14: Targets = (1, 1, 0, 1) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training failed after 500 iterations with Bias = -0.5.
Truth Table 14 could not be trained successfully with the given biases.
=== Truth Table 15: Targets = (1, 1, 1, 0) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training failed after 500 iterations with Bias = -0.5.
Truth Table 15 could not be trained successfully with the given biases.
=== Truth Table 16: Targets = (1, 1, 1, 1) ===
--- Training with Bias = 0 ---
Training failed after 500 iterations with Bias = 0.
--- Training with Bias = 0.9 ---
Training failed after 500 iterations with Bias = 0.9.
--- Training with Bias = -0.5 ---
Training failed after 500 iterations with Bias = -0.5.
Truth Table 16 could not be trained successfully with the given biases.