Neural Networks
Neural Networks
Lecture 12
Artificial Neural Networks
• Artificial neural networks (ANNs) provide
a practical method for learning
• real-valued functions
• discrete-valued functions
• vector-valued functions
• Robust to errors in training data
• Successfully applied to such problems as
• interpreting visual scenes
• speech recognition
• learning robot control strategies
1
E ( w) (t kd okd ) 2
2 dD koutputs
4. Update each
w network
w w weight wji
ji ji ji
where
w ji j x ji
CS 484 – Artificial Intelligence 18
Example: Learning AND
a b c Initial Weights:
w_da = .2
w_db = .1
d e w_dc = -.1
w_d0 = .1
f w_ea = -.5
w_eb = .3
w_ec = -.2
Training Data: w_e0 = 0
AND(1,0,1) = 0
AND(1,1,1) = 1 w_fd = .4
w_fe = -.2
Alpha = 0.1 w_f0 = -.1
Target Function: