Neural Net Basics
Neural Net Basics
USC Linguistics
August 8, 2007
P
i fi wi > threshold → Output = 1, else Output = 0
or:
and: not:
{1,0}*1 1*-.5 {1,0}*1
{1,0}*1 1*-1.5 {1,0}*1 {1,0}*-1 1*.5
+ +
+ + +
>0?
>0? >0?
∗
Thanks to David Wilczynski whose clear presentation and explicit examplification are emulated here; also Russell
and Norvig’s on-line notes.
1
XOR:
{1,0} {1,0}
*1 *-1 *-1 *1
>0? >0?
{1,0}*1 {1,0}*1
>0?
2 Training
∆w = (C) ∗ Error ∗ f
Error = CorrectAnswer − Output