Artificial Inteligence in ComputerCraft - NeuralNetworks
#41
Posted 11 October 2015 - 08:55 PM
#43
Posted 11 October 2015 - 09:22 PM
Edited by Creator, 11 October 2015 - 09:32 PM.
#44
Posted 11 October 2015 - 09:30 PM
gollark8, on 11 October 2015 - 09:19 PM, said:
If you would've looked at the source, you would've seen that this error only occurs on one line, and only under really specific circumstances so it actually has a meaning. It's just not a "Oh, you need x instead of y when calling this function" but "Hey, here's a joke for you because I only appear when you mess x up, so I don't have to inform you about the details" kind of error message.
assert(#inputVals == #m_layers[1],"Mate, you are coding like a girl! Just joking, girls can code too... not like you!")
#45
Posted 11 October 2015 - 09:32 PM
#46
Posted 11 October 2015 - 09:46 PM
Actually your joke could be taken as sexist, you may want to be careful about that. On a related note: you may not want to insult your users, just saying.
Edited by Lupus590, 11 October 2015 - 09:51 PM.
#47
Posted 11 October 2015 - 10:03 PM
#48
Posted 12 October 2015 - 07:56 PM
- adds the ability to transform the Neural Network into a table.
- adds the ability to create a neural network from a table.
How to:
Serialize:
myNet = Net({2,4,1}) --train it serialized = myNet.serialize()Serialized is a table that can be written to a file.
Unserialize:
myNet = Unserialize(serialized)myNet is a valid neural network.
#49
Posted 12 October 2015 - 09:22 PM
Creator, on 12 October 2015 - 07:56 PM, said:
- adds the ability to transform the Neural Network into a table.
- adds the ability to create a neural network from a table.
How to:
Serialize:
myNet = Net({2,4,1}) --train it serialized = myNet.serialize()Serialized is a table that can be written to a file.
Unserialize:
myNet = Unserialize(serialized)myNet is a valid neural network.
But does it have error messages that don't make you dig through the source of the API in an attempt to find out what's wrong?
Edited by gollark8, 12 October 2015 - 09:22 PM.
#50
Posted 13 October 2015 - 04:28 AM
gollark8, on 12 October 2015 - 09:22 PM, said:
Creator, on 12 October 2015 - 07:56 PM, said:
- adds the ability to transform the Neural Network into a table.
- adds the ability to create a neural network from a table.
How to:
Serialize:
myNet = Net({2,4,1}) --train it serialized = myNet.serialize()Serialized is a table that can be written to a file.
Unserialize:
myNet = Unserialize(serialized)myNet is a valid neural network.
But does it have error messages that don't make you dig through the source of the API in an attempt to find out what's wrong?
Just let it go with these error messages. I mean, should have been more precise about the only error message given to the user, but I hope you won't be posting this all the time.
#51
Posted 13 October 2015 - 09:07 PM
#52
Posted 14 October 2015 - 10:06 PM
pastebin:
pastebin get TFxkELib TTT
To the moderators: please do not create a new thread for the game. I will do it myself tomorow, I promise. Thank you for undersatnding me.
#53
Posted 15 October 2015 - 12:04 AM
#54
Posted 15 October 2015 - 04:37 AM
#55
Posted 15 October 2015 - 06:29 AM
#56
Posted 15 October 2015 - 09:44 AM
do it for etho?
#57
Posted 15 October 2015 - 09:53 AM
#58
Posted 15 October 2015 - 11:27 AM
Well I looked through your entire topic and many others regarding AI Programs.
I understand the entire concept of how these things function and work now too.
I really like yours though.
I was hoping to find a way to give a single computer full access of my defensive and offensive networks.
Without any manual input because it seems that my friends can't stop fiddling with my submarines PC's.
So I mean this is how I think mine would work, correct me if I'm wrong please.
1. Boot up and handshake with both offensive and defensive systems networks. (Ping-pong responses).
2. Record Data based on friendly/enemy missile interceptions, enemy launch counts, launch frequency etc.
3. Use equations and filters to narrow down the possible locations of enemy missile silos.
4. Assess which silo is more dangerous by judging their launch count and average missile type.
5. Possibly probe silo by firing test missile and await for its interception ( interception would be confirmation silo exists).
6. Continue analysing data even if a threat is imminent, (defense system will work on autopilot until bypassed byPC).
7. Create an effective database which can be used for target selection by the offensive system.
8. Create an effective database that can be used to prioritise defensive counter measures.
9. Maybe instruct personnel on options to take? Or make decisions on its own.
I mean I know what to do in this but I'm not the best with databases or well equations.
So basically crap tons of data are organised and analysed, then used to interpret threats.
Edited by burnin_aura, 15 October 2015 - 11:28 AM.
#59
Posted 15 October 2015 - 11:46 AM
#60
Posted 15 October 2015 - 12:04 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users