General > Bot Challenges
Challenge #3: Neural Network
Numsgil:
The stack is integers, so if you want .5 you'll have to think of clever ways to do it using just integer arithmetic.
Moonfisher:
Heh damn, that's not going to be easy... will definately limit the range of value I can play with...
For instance if I want to convert the angle it's easy with decimal values : *.myangle 1220 div (Result 0-1)
If I could use very large values it wouldn't be a problem either : *.myangle 100 mult 122000 div (Result 0-100)
Problem is that 122000 is exceeding the cap... I could possibly use values from -10 to 10, althought hat would mess up accuracy, and it would still force me to cut anything that can exceed 3200...
I think I'll go for the simple solution with a loss of accuracy and low cap... I know I could tecnicaly use the binary opperators available... but this isn't realy the part of the challenge I was planning on spending a lot of time on, so I'll probably go for values from -10 to 10 unless I can find a neat easy example on wiki to make these conversions without hitting a cap or getting any decimal values.
Numsgil:
I think the cap for integers on the stack is 32 bit math. I can't remember if that ever made it in to the VB version, or if it was just something I implemented in the C++ and C# versions.
Moonfisher:
Ohh that would be sweet, that would move the cap up to 4294967296 (2^36)... or half of that I guess...
I was starting to hope I could maybe join up 2 memmory locations and use << and >> to manage them as one, but wasn't even sure if it would be possible to move data from one location to another using those operators (Could imagined they would be seperate locations).
But this would be MUCH better... then I just need to make sure nothing above 32000 is saved in the hidden layer
Gonna have to test this, that would help a lot... using values from -10 to 10 is just not accurate enough...
I'm also thinking of adding a lot of extra inputs, like a conspec input with a number to represent enemies, friends and alge, and stuff like that, to make it easyer on the network...
And the anti viral gene and possibly robage 0 gene should probably be seperate genes. But I'm slowly forming an idea about how to make this happen, a shame I have to waste so much time writing that damn thesis.
Numsgil:
Give in to your dark impulses, apprentice.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version