필터 지우기
필터 지우기

how to testing single input in perceptron??

조회 수: 1 (최근 30일)
baby
baby 2012년 5월 12일
Helloo,,
i want to know about perceptron,,
how to testing single input in matlab???
example i have sample P4 which p1 = 1, p2 = 2, t = 1, w1 = 1, w2 = 0,5
how to test that sample in perceptron???

답변 (1개)

Greg Heath
Greg Heath 2012년 5월 12일
error = t - hardlim(w1*p1+w2*p2+b)
Why don't you have a bias b ??
Hope this helps.
Greg

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by