![]() |
||||||
![]() |
||||||
|
Next: Example Previous: One layer net code Example
(setf test1 '((+ (0 1 0)) (+ (1 0 1)) (+ (1 1 1)) (- (0 0 1)))) (perceptron test1) Weights: 0 0 0 Threshold: 0 Classifies (+ (0 1 0)) wrong Incrementing weight for feature 2 Classifies (+ (1 0 1)) right Classifies (+ (1 1 1)) right Classifies (- (0 0 1)) wrong Decrementing weight for feature 3 Weights: 0 1 -1 Threshold: 0 Classifies (+ (0 1 0)) right Classifies (+ (1 0 1)) wrong Incrementing weight for feature 1 Incrementing weight for feature 3 Classifies (+ (1 1 1)) right Classifies (- (0 0 1)) wrong Decrementing weight for feature 3 Weights: 1 1 -1 Threshold: 0 Classifies (+ (0 1 0)) right Classifies (+ (1 0 1)) wrong Incrementing weight for feature 1 Incrementing weight for feature 3 Classifies (+ (1 1 1)) right Classifies (- (0 0 1)) wrong Decrementing weight for feature 3 Weights: 2 1 -1 Threshold: 0 Classifies (+ (0 1 0)) right Classifies (+ (1 0 1)) right Classifies (+ (1 1 1)) right Classifies (- (0 0 1)) right Weights: 2 1 -1 Threshold: 0 Trials: 4 (#(2 1 -1) 0)
|
|||||
|