文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机硬件及网络 > Spurious Stable Points神经网络
侵权投诉

Spurious Stable Points神经网络

神经网络

View code for demohop4Run this demo Spurious Stable Points

A Hopfield network with five neurons is designed to have four stable equilibria. However, unavoidably,it has other undesired equilibria.

Copyright 1992-2002 The MathWorks, Inc. $Revision: 1.18 $ $Date: 2002/03/29 19:36:20 $

We would like to obtain a Hopfield network that has the four stable points defined by the two target(column) vectors in T.

T = [+1 +1 -1 +1; ...

-1 +1 +1 -1; ...

-1 -1 -1 +1; ...

+1 +1 +1 +1; ...

-1 -1 +1 +1];

The function NEWHOP creates Hopfield networks given the stable points T.

net = newhop(T);

Here we define 4 random starting points and simulate the Hopfield network for 50 steps.

Some initial conditions will lead to desired stable points. Others will lead to undesired stable points.

P = {rands(5,4)};

[Y,Pf,Af] = sim(net,{4 50},{},P);

Y{end}

ans =

-1 1 1 1

-1 1 -1 1

-1 -1 -1 1

1 1 1 1

1 -1 -1 1

Run this demo

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email