Реферат: Сравнительный анализ нейросетевых реализаций алгоритмов распознавания образов
OutputLayerOutput[i]:=1;
end
else
begin
OutputLayerOutput[i]:=-1;
end;
end;
neterror:=0;
for i := 1 to OutputLayerUnits do
begin
err:=target[m,i]-activation[i];
error[i]:=err;
neterror:=neterror+0.5*sqr(err);
end;
if neterror<epsilon then
begin
stop:=true;
end;
end;
if not stop then //обучение
begin
Randomize;
for krandom := 1 to 10*numberpatterns do
begin
m:=1+Round(Random(numberpatterns));
for i := 1 to OutputLayerUnits do
begin
sum:=0;
for j := 1 to InputLayerUnits do