Unformatted text preview: % begin EPOCHS. .. while (e ~= 0) EPOCHNUM = EPOCHNUM + 1 'Output of summing unit:' n = w * p(:,EPOCHNUM) + b % modelling a hardlimit function 'Output of hardlimit function:' if (n >= 0) a = 1 else a = 0 end % update values 'New values for current EPOCH:' e = t(EPOCHNUM)-a w = w + e * (p(:,EPOCHNUM))' b = b + e end 'Final weight vector and bias point:' w b...
View Full Document
This homework help was uploaded on 04/20/2008 for the course EE 4745 taught by Professor Rai during the Fall '07 term at LSU.
- Fall '07