Jump to content




Artificial Inteligence in ComputerCraft - NeuralNetworks


  • You cannot reply to this topic
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

#101 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 02:13 PM

ok thanks.

#102 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 11 November 2015 - 02:18 PM

May I suggest adding a way to input strings and numbers and have it output likewise?

#103 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 02:27 PM

Well, I could do it. It is a good idea. Thanks for the suggestion! More of these are welcome.

rougeminer, congrats, you posted the first 100th reply to any of my programs.

I just thought of it. The string can only be of a certain length. Not longer, not shorter.

#104 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 03:41 PM

well Lupus depending on what u mean i am making a program right now that converts txt to bin and it won't work to well until creator releases the ability to save the AI to a file, but i am close to done right now, as long as feedForward can take more than 2 args i should be good i will share the code with u

thx creator i didn't know that

Edited by Rougeminner, 11 November 2015 - 03:41 PM.


#105 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 03:55 PM

The AI can be save to a file. myNet.serialize()

#106 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 06:45 PM

... I missed the memo... How can i put a table of varying size into feedforward i did feedforward(tbl) and it gave me ur error message

#107 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 06:48 PM

You can't. Once you define the number of input neurons, you have to give the same amount of inputs.

#108 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 07:13 PM

Oh. Ok thanks so inputnpins need to equal the contents of the table or i need to step back and rethink

#109 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 07:19 PM

The first one.

#110 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 09:08 PM

is there anyway to feed the AI a table of binary numbers instead of putting them all in it?

#111 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 09:12 PM

What exactly do you mean? Aren't the two things you said the same?

Please provide an example for both cases.

#112 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 09:13 PM

its kinda hard to ask, let alone understand, by default u do feedForward({1,2}) what if i wanted to feed forward a separate table could i just to feedForward(tbl)?

#113 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 09:15 PM

Well, if tbl = {1,2} then it is possible.

#114 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 09:33 PM

so i need it to return binary to be specific 01101000 01100101 01101100 01101100 01101111 (hello), but when i stuck it into the AI it always no matter what returned a number less that one, what am i missing?
i did myNet.feedForward({0110100001101001} and myNet.backprop({short for binary hello,}) and cycled it 1500 times and its still > 0.985313? i am confused


basically i am trying to turn your AI into a text based AI so that the user says Hi it translates to binary then sends a hello back to the player.

Edited by Rougeminner, 11 November 2015 - 09:37 PM.


#115 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 09:45 PM

Well, can you use the function net.serialize() and serialize the table and post it here so I can check what is wrong? Or better, post it on pastebin and notify me here when you've done so.

#116 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 09:48 PM

i have tried to avoid pastern because of every time i have been plagiarized is it ok if i PM u the code later tonight?

#117 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 09:49 PM

It sure is. However not too late because it is 23:48 here.

#118 Rougeminner

  • Members
  • 151 posts

Posted 11 November 2015 - 10:02 PM

yikes ok. i thought u where east coast time

#119 Creator

    Mad Dash Victor

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

Posted 11 November 2015 - 10:03 PM

What time are you?

#120 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 13 November 2015 - 03:22 PM

how can a larger number of hidden neurons affect the results?
like for xor:
2,4,1
vs.
2,100,1
what will be the difference?

edit: I counted Creator's position:
~Hawaii GMT+2 Eastern Europe Time
edit2: 12 hour system fail I didn't counted the PM

Edited by Konlab, 13 November 2015 - 03:28 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users