how to testing single input in perceptron??
显示 更早的评论
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
2012-5-12
0 个投票
error = t - hardlim(w1*p1+w2*p2+b)
Why don't you have a bias b ??
Hope this helps.
Greg
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!