The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Hopfield Neural Network
Replies: 1   Last Post: Feb 20, 2013 11:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Hopfield Neural Network
Posted: Feb 20, 2013 11:51 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Prateek " <> wrote in message
> I have been trying to make a Hopfield Network to store the data i have
> which is a matrix of dimension 26X10000 but with no success following is
> the code i am writing and the errors which i am getting please help me out

>>> net=newhop(mat')
> ??? Out of memory. Type HELP MEMORY for your options.

"newhop(T) takes an RxQ matrix of Q target vectors T with element
values of +1 or -1, and returns a new Hopfield recurrent neural
network with stable points at the vectors in T."

So R is 10000 and Q is 26 in this case (since you transposed mat when you
called NEWHOP.) You're trying to take 26 10000-dimension vectors and
generate a network from them? Seems to me you have MUCH too small a data set
to be able to draw any sort of conclusions.

Do you instead want to operate on 10000 26-dimension vectors? That's
probably going to give you a better chance of success, though I'd guess
you'd do better with more data. If so, don't transpose.


Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.