by date
Neural Nets are learning!
Neural Nets are learning!
| Name: | Craig Fortune | ![]() |
|---|---|---|
| Date Posted: | Feb 26, 2007 | |
| Rating: | Not Rated | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Craig Fortune |
Blog post
Neural Nets are learning!
Last night I made a rather large breakthrough with my neural net work in TGE, they started to learn and evolve :) Alas it was nothing visibly exciting unless you get excited over raw output data... I did, lol. I made the nets' fitness dependant on their output, (they only had one output, the size of this output was added to their fitness everytime I updated them) so I was in essence training them to learn how to structure themselves to produce the highest output they could.
Within very few generations a topology that could produce 0.85~ (out of 1.0, so 85% of maximum) with the data I was inputting - which was the same all the time - had evolved and largely taken over the population. Given several more generations and it likely would have evolved and/or mutated up to near maximum. Thats a good thing btw ;)
STL and Torque suck at being friends... :(
On a less happy note, I'm still having problems with trying to get STL and TGE working together. Nothing I seem to try works properly - so I'm likely falling back to just trying to replace all STL stuff which is a pain and will likely delay me lots :(
Currently I can compile and link my project and run it... however I get a lot of user breakpoints thrown back and me (which I can continue through) and ultimately it always seems to be a problem with the end(); method on tVector's iterator :( I have tried using stl_fix and it seems almost as if it needs to be updated to work with VS 2005. *grr* (it gives errors on std::allocator - isn't this one of the very things its supposed to fix?!)
PS. As per usual find my full blog here: http://craigfortune.blogspot.com
Anyone done any work on this problem recently? PLEASE let me know :)
Animation
As a brief aside I'd like to recommend to anyone interested in animation to buy a copy of "The Animator's Survival Kit" by Richard Williams. I picked up a copy recently after hearing good things about it and it is possibly one of the most well put together books in the general art area that I've ever read. Its applicable to both traditional and computer, 2d and 3d animation. Its a complete and utter treat to read.
Last night I made a rather large breakthrough with my neural net work in TGE, they started to learn and evolve :) Alas it was nothing visibly exciting unless you get excited over raw output data... I did, lol. I made the nets' fitness dependant on their output, (they only had one output, the size of this output was added to their fitness everytime I updated them) so I was in essence training them to learn how to structure themselves to produce the highest output they could.
Within very few generations a topology that could produce 0.85~ (out of 1.0, so 85% of maximum) with the data I was inputting - which was the same all the time - had evolved and largely taken over the population. Given several more generations and it likely would have evolved and/or mutated up to near maximum. Thats a good thing btw ;)
STL and Torque suck at being friends... :(
On a less happy note, I'm still having problems with trying to get STL and TGE working together. Nothing I seem to try works properly - so I'm likely falling back to just trying to replace all STL stuff which is a pain and will likely delay me lots :(
Currently I can compile and link my project and run it... however I get a lot of user breakpoints thrown back and me (which I can continue through) and ultimately it always seems to be a problem with the end(); method on tVector's iterator :( I have tried using stl_fix and it seems almost as if it needs to be updated to work with VS 2005. *grr* (it gives errors on std::allocator - isn't this one of the very things its supposed to fix?!)
PS. As per usual find my full blog here: http://craigfortune.blogspot.com
Anyone done any work on this problem recently? PLEASE let me know :)
Animation
As a brief aside I'd like to recommend to anyone interested in animation to buy a copy of "The Animator's Survival Kit" by Richard Williams. I picked up a copy recently after hearing good things about it and it is possibly one of the most well put together books in the general art area that I've ever read. Its applicable to both traditional and computer, 2d and 3d animation. Its a complete and utter treat to read.
Recent Blog Posts
| List: | 08/08/08 - iPhones and Productivity 07/22/08 - Building community in purely single player games 12/10/07 - Skinned Mesh XSI Exporting 06/25/07 - Vehicle mounting system progress (video) 06/23/07 - Graduation and Freelancing 03/02/07 - NeuralNet FSM mapping 02/26/07 - Neural Nets are learning! 02/19/07 - Backing-Up, Repositories, XSI and Neural Networks Progression |
|---|
Submit your own resources!| Adam deGrandis (Feb 26, 2007 at 00:45 GMT) |
| Andy Hawkins (Feb 26, 2007 at 00:49 GMT) |
Quote:
There is no fate, but what we make.
| Andy Hawkins (Feb 26, 2007 at 00:56 GMT) |
| Affectworks (Feb 26, 2007 at 02:21 GMT) |
Fredrik S
| Tank Dork (Feb 26, 2007 at 08:09 GMT) |
| Phil Carlisle (Feb 26, 2007 at 08:43 GMT) |
| Stephan (viKKing) Bondier (Feb 26, 2007 at 09:21 GMT) |
@Andy: LOL. Absolutely right.
@Adam: couldn't you make a Terminator model so Craig can test it ingame? 8-)
| Sam Redfern (Feb 26, 2007 at 10:16 GMT) |
| Craig Fortune (Feb 26, 2007 at 13:51 GMT) |
Currently the oddity I'm noticing is that iterator::end(); in tVector.h (wish I could give line numbers etc but I'm not at my PC at the moment) is highlighting itself as a preprocessor macro (I'm using Visual Assist with VS - hence the higlighting)
I can only presume that this is STL playing about causing this- especially when at the moment I'm having to disable the memory manager in Torque... trying the stl_fix and following the instructions on its resource page here on GG only serves to cause errors in stl_fix.h talking about std::allocator...
| Jameson Bennett (Feb 27, 2007 at 01:31 GMT) |
You must be a member and be logged in to either append comments or rate this resource.



Not Rated


