Подскажите, пожалуйста, в чем проблема
>> net = newp ([- 2 2; - 2 2], 1); gensim (net) net.b { 1 } = 0; W = [1.1 1.3]; net.IW { 1, 1 } = W; p= [ -0.5 -0.1 0.6 0.9 1.2 1.5 1.9; 0.8 0.5 0.6 1.0 0.8 1.2 1.5]; t = [0 0 1 1 1 1 1]; hold on plotpv (p, t), grid, plotpc (net.IW {1}, net.b {1}), hold off, a = sim (net, p) e= t - a
ans =
untitled
a =
1 1 1 1 1 1 1
e =
-1 -1 0 0 0 0 0
>> dw=learnp(W,p,[],[],[],[],e,[],[],[]) Output argument "ls" (and maybe others) not assigned during call to "learnp>apply".
Error in learnp (line 66) [out1,out2] = apply(varargin{:});
|