Jump to content




Artificial Inteligence in ComputerCraft - NeuralNetworks


146 replies to this topic

Poll: Artificial Inteligence in ComputerCraft - NeuralNetworks

Do you like the idea?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.

Do you like this implemetation?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.
Vote Guests cannot vote

#141 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 23 March 2016 - 06:07 PM

 Redall, on 23 March 2016 - 05:38 PM, said:

Sorry, but i don't understand the "usage" of this thing. Can you explain me ?

The basic idea of neural networks is that you train them to react in certain ways when certain input is given. For example, you can train the xor function, or you can make it determine whether a cookie is good enough for sale based on a picture. To train them, you have to give them tons of sample input with corresponding output.

#142 Cross_Sans

  • Members
  • 122 posts
  • LocationFrance

Posted 23 March 2016 - 07:03 PM

 Creator, on 23 March 2016 - 06:07 PM, said:

 Redall, on 23 March 2016 - 05:38 PM, said:

Sorry, but i don't understand the "usage" of this thing. Can you explain me ?

The basic idea of neural networks is that you train them to react in certain ways when certain input is given. For example, you can train the xor function, or you can make it determine whether a cookie is good enough for sale based on a picture. To train them, you have to give them tons of sample input with corresponding output.
Thanks for the responce :)

#143 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 23 March 2016 - 07:04 PM

No problem!

By the way: response.

#144 Cross_Sans

  • Members
  • 122 posts
  • LocationFrance

Posted 24 March 2016 - 11:39 AM

 Creator, on 23 March 2016 - 07:04 PM, said:

response
Oh, thanks ! If i'm making errors, it's because i'm from France, (i'm a french by the way ;) ).

#145 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 05 July 2018 - 12:03 PM

I have two questions related to this code:
myNet = AI.Net({2,4, 8, 16,1}) -- What will hapen here and how are the neurons connected?
myNet.feedForward({1,0}) -- Just 1 and zero are allowed values?
myNet.backProp({1})
myNet.getResults()


#146 SquidDev

    Frickin' laser beams

  • Members
  • 1,417 posts
  • LocationDoes anyone put something serious here?

Posted 07 July 2018 - 05:01 AM

 Sewbacca, on 05 July 2018 - 12:03 PM, said:

What will hapen here and how are the neurons connected?
This creates a network with 2 inputs, 1 output and 3 hidden layers, with 4 8 and 16 neurons respectively. Every neuron in one layer is connected to every neuron in the next (so the 2 inputs are connected to the 4 neurons in the 1st hidden layer, those 4 to the 8 neurons in the next, etc...)

 Sewbacca, on 05 July 2018 - 12:03 PM, said:

Just 1 and zero are allowed values?
Any value is allowed. However, as Creator is trying to train it on binary functions, only 1 and 0 really make sense as inputs.

#147 ToxicC00kie1001

  • Members
  • 9 posts

Posted 09 December 2018 - 10:14 PM

How do I go about setting an objective for the ai? ex: Get 'x' value as high as possible. I'd also like to know how to go about telling it what it can use like certain functions and such. ex: Use function1(), function2(), etc. In the end should be something like: Get 'x' as high as possible using function1(), function2(), etc.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users