Jump to content


margoose

Member Since 02 Nov 2003
Offline Last Active Apr 30 2013 01:06 AM

Posts I've Made

In Topic: What would _you_ like in a zombie game?

04 December 2012 - 06:09 PM

Point based health system instead of number based
i think its like in arcade games. when u get hit, one or more points are removed.

Hesitating between WoW-like inventory and Diablo-like inventory.
wow inventory. every item takes one block http://www.blogcdn.c...2/inventory.jpg
diablo - smaller items takes one block. bigger up to 6
http://i153.photobucket.com/albums/s205/JamesKond/DiabloInventory.png



I like elder scrolls weight based inventory, easy enough to give each item a weight. Plus you can use that info to determine for example how fast or slow say the character can use say a weapon (ie how fast they can swing using a mace versus a baseball bat) which could also be determine by how strong the character is through either character choice or leveling up.

In Topic: ANNIE

04 July 2011 - 02:13 AM

Well each neuron in the output layer always outputs a 1 or a 0 so its really the only way to check it directly so yes. What the example I made using the scripts is supposed to do is learn how to reverse the input so that 111001 outputs 100111. I did this because its a more dfficult algorithm than simply doing a bitwise operation and I wanted to test the waters but I got less than I expected due to the problem listed in my above post. Try using the scripts on an easier algorithm and see if it gets better results.

And remember it learns through back propogation there's a link in the first post. I tried the algorithm that they listed but I don't think I understood it correctly if someone with a better eye for math symbols wants to give it a shot please feel free. Also feel free to add other features as well.

FInally, I WANT TO STRESS THE FOLLOWING: that I am not making much advances to this myself unless I feel like it, I've done what I wanted. I am here to HELP others interested in UNDERSTANDING the code I wrote and the processes involved and I do not want this to turn into a help me solve these issues, this is a ill help you solve these issues if you want to learn. Please do not post general ideas about how it might be fixed and expect me to figure it out because its not gonna happen. If you post general ideas I will give feedback on how the code works and why and how something in that general area will be useful or completely out in left field somewhere and why. The best and most useful posts will be about any advances you've made to it and discussions based on those advances. That is all, thank you!

In Topic: ANNIE

02 July 2011 - 10:28 PM

Not exactly what i meant by pattern recognition, neural nets are fuzzy math for fuzzy patterns not set patterns think different handwriting input from different people and trying to come with the same output. I reread some of the other posts as well and it seems there is a bit of confusion as to how it works currently:

- Each neuron is connected to every neuron in the next layer
- Each neuron sends the same output to each neuron its connected to
- Each neuron calculates its output via an multiplication of an initial number and all its inputs and corrects that number via error detection.


Current Problem: The error detection that I think should be used makes all outputs eventually go to zero so my logic is wrong somewhere. The logic I use is:

error = expected_output - actual_output;

If I set all of the errors to this then the zero problem occurs. This is the major issue with its learning as far as I can tell.


edit: It can be used to learn an exact pattern but the biggest issue with that is that there is no gaurantee that it will be exact with any and every input at any given time due to the nature of the learning progression and curve.

In Topic: ANNIE

30 June 2011 - 09:03 PM

It does remember things but not the surface way that we think of as remembering...artificial neural networks are for pattern recognition not for exact answer rememberance the idea is for the computer to determine the closest algorithm it takes to get from input to expected output. Sure you could have it just memorized the right answer but that isn't the goal here. In computing you have to choose whether you want to use memory or processing power...would it be more efficient to memorize an infinite table of infintesimal digits for each output or create an algorithm based on the input and calculate it on the fly. This is much more difficult for a human to do when it comes t something like speech or writing recognition or an on the fly path search algoritm than it is for the computer to determine the algorithm itself. But there are many other uses as well but just think of it as creating a method for the computer to generate many different algorithms on the fly based on expected output...now in game you may not know the expected output so the programmer trains the neural net then wen the customer plays the game without learning. Of course if you can determine a way in game to have it find what the right output should have been after the decision was made then you could teach it that way in game. There really is no limit in theory.

In Topic: ANNIE

30 June 2011 - 02:56 AM

Ur going to have to elaborate a little I think ur a little to focused on the data structure rather than the process come up with a process the the best data structure can be determined but it currently learns off of the error correction within the learn script