Hi Andrew, Welcome aboard! :-)
First let me say thanks for using HTM.java, it's very nice to hear about user experiences indeed. Perhaps it would be easier if you attached the classes that you altered so that we can mock up our own example to see what's going on - such as the Connections.java file and whatever else was necessary to alter? (I would be surprised to find that you had to alter anything else, actually?). As this is the next thing on HTM.java's agenda, this is very interesting indeed... Also, as it is x-mas eve, I may not be able to get back to you as promptly as I otherwise would - but please send over the files as soon as you are able because I am anxious to play with them! ;-) Cheers, David On Thu, Dec 24, 2015 at 10:51 AM, Andrew Dillon <[email protected]> wrote: > Hello all. I've been learning about HTM for a couple of months now, > reading On Intelligence and Numenta's papers, as well as watching their > videos. I just began actually working with htm.java (I'm not very familiar > with Python, so I am unable to use that version) a week or two ago, so I'm > no expert on it, but I have been able to create some working demonstrations > of it. > > I have, however, run into a bit of a problem with saving networks. I am > aware that htm.java does not currently support this type of operation ( > https://github.com/numenta/htm.java/wiki/Call-To-Arms), so I am > attempting to develop a basic method of saving and recreating my networks > myself. What I have done thus far is modify a couple of classes to > implement Java's Serializable interface, in order to save my Layer's (I am > just working with one right now) Connections object. I have succeeded in > serializing and deserializing the Connections object, and putting it back > into a new Layer with the Layer.using() method. > > The problem is that when I feed the network (that is using the > deserialized Connections) the same data it had learned to recognize before > I serialized it, it no longer predicts the proper values. Its output looks > exactly like a new network; as though my saved Connections is being > overwritten or ignored somehow. I've spent the past few days trying to > figure out what is happening, digging around the source code and trying a > few different things, but have been unable to produce any results. Do any > of you folks have any idea how I might go about resolving this issue? > > I am sure code samples would be of interest here, but I'm not sure what, > specifically, I should include as my program is of a decent size. If > anybody would like some samples, please mention what general > functions/areas of my program you would like to see, and I'll be happy to > oblige. > > Thanks in advance for any help. I am very fascinated by this project and > HTM theory in general. I really appreciate what you all are doing and that > this project was made open source! > > -- *With kind regards,* David Ray Java Solutions Architect *Cortical.io <http://cortical.io/>* Sponsor of: HTM.java <https://github.com/numenta/htm.java> [email protected] http://cortical.io
