Why error function not work?

3 views (last 30 days)
Amna El-tawil
Amna El-tawil on 15 Nov 2018
Commented: madhan ravi on 15 Nov 2018
The error function doesn't work with me. I do not get any result.
If anyone knows the problem, I will be thankful
for j1=1:3,
yi=w'*x(:,j1); % Network output
y=sign(yi);
if sum(y-d(1,:)') > 0
error=error+1
end
end
  8 Comments
madhan ravi
madhan ravi on 15 Nov 2018
Perfect explanation @Guillaume

Sign in to comment.

Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!