Jump to content


Wrapping Amygdala

  • Please log in to reply
1 reply to this topic

#1 daeken

  • Members
  • PipPip
  • Member
  • 22 posts
  • LocationChambersburg, PA

Posted 03 January 2004 - 05:25 AM

I recently was pointed to the Amygdala spiking neural network library http://amygdala.sf.net/ for some AI stuff I was doing. I decided that PHP deserved to have an extension for this great C++ library, so I started working on it. I'm using my ext_skel replacement to ease the development, and that's nice so far (adding C++ support and class parameters, and I'll release it when I'm done, of course), but I've hit quite the brick wall... you create an instance of the LayerConstants class and set the parameters for the first layer, then create it and add it to the network, then you set the parameters in the LayerConstants object for the next layer, and so on and so forth. The problem is, I have no idea how I should keep track of what LayerConstants object I should be looking at, or how to get it from userspace. Perhaps I could just make any changes to the PHP instance of the LayerConstants change an instance of the C++ object somewhere in my code, if so, is there a way to have a function called when a parameter is changed in an extension (similar to __set() in normal PHP code)?

Looking forward to any advise on the subject.

Lord Daeken M. BlackBlade
(Cody Brocious)
Black and white are all I see in my infancy.

#2 pastcow

  • Members
  • PipPipPip
  • Advanced Member
  • 56 posts

Posted 05 October 2009 - 08:49 AM

A neural network C extension would be nice to see, im thinking of working on my own one soon (just ordered that book by sara goleman on extending and embedding php) - I managed to throw together this app Neural networks for handwriting recognition using php which uses a neural network to work out what letters you have drawn using the mouse.

How would you go about training your neural networks? would this be done in PHP as well? or via some external application?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users