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

#121 Creator

    Mad Dash Victor

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

Posted 13 November 2015 - 03:34 PM

It will be slower. I read a thing that the number of neurons in the middle layer has to be equal to the number of possibilities.

#122 Rougeminner

  • Members
  • 151 posts

Posted 15 November 2015 - 08:46 PM

quick question eventually once i teach the AI enough it will be able to answer a "equation" with out the answer to it correct?

and is the AI built off the ANN method?

#123 Creator

    Mad Dash Victor

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

Posted 15 November 2015 - 09:05 PM

There is one thing you have to understand about neural networks, they can't magically solve equations, or output a response to a string you input. In order to have this, you'd need a much bigger NN with memory and all. This version can detect patterns, like figuring out the letters in a recording, or predicting the stock market.

#124 Rougeminner

  • Members
  • 151 posts

Posted 15 November 2015 - 09:29 PM

ok, thanks so i have to teach it literally everything it will learn? It won't pick up on things automaticity correct?

#125 Creator

    Mad Dash Victor

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

Posted 15 November 2015 - 09:35 PM

What do you mean?

#126 Rougeminner

  • Members
  • 151 posts

Posted 15 November 2015 - 11:09 PM

i was trying to ask if it will pick up on things over time like if i teach it 1+1 equals 2 and 2+2=4 will it learn 1+2 = 3 on its own with out my assistance

#127 Creator

    Mad Dash Victor

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

Posted 16 November 2015 - 05:48 AM

It will not. This is the way it learns: you give it a certain input and output. If you repeat this enough times, AI will catch the pattern and respond to new input accordingly.

#128 Rougeminner

  • Members
  • 151 posts

Posted 16 November 2015 - 12:43 PM

ok, thanks

#129 Creator

    Mad Dash Victor

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

Posted 16 November 2015 - 02:20 PM

You're welcome.

Well guys, there are some good news. I am adding a file format related to the AI API: .aidata. Basically what it allows you to do is to store training data. The format looks like this:

<input>"="<output>

where input and output have the correct number of elements. Also for best performance, input and output should be binary.

#130 Creator

    Mad Dash Victor

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

Posted 26 November 2015 - 04:28 PM

Furthermore, I have created an organization for AI. This organization will focus on the following things:
  • Managing the API itself
  • Creating a release for standard Lua/Love2D
  • Different training sets. Currently I have finished the one used to recognize handwritten in CC. Another one for standard Lua/Love2D will be added with your help.
  • Any other great idea you have.
Anyone wishing to join or help, should respond to this thread with the following info:
  • GitHub username


#131 powerboat9

  • Members
  • 42 posts

Posted 27 November 2015 - 02:29 AM

Thanks. Do you have an MIT license? It's probably a good idea.

Edited by powerboat9, 27 November 2015 - 02:42 AM.


#132 powerboat9

  • Members
  • 42 posts

Posted 27 November 2015 - 02:39 AM

GitHub username: powerboat9

#133 Creator

    Mad Dash Victor

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

Posted 27 November 2015 - 08:20 AM

Will be adding you ASAP. Thanks for joining.

Ok, added you.

Quick update:


The data for Character recognition is done. That is each character and letter and their variations. For example, a can be:
111
1 1
111
1 1
1 1

OR

  1
1 1
111
1 1
1 1

Also the the Neural Network has been trained d 10 000 times for each character, number and their variations. However, the network still returns 1s for an unknown reason.

#134 Rougeminner

  • Members
  • 151 posts

Posted 10 December 2015 - 01:52 AM

wow, pretty quick advances in this AI quick question, what other Advanced things are you planning to do with this AI i don't mean features i mean projects. also is there a possibility you could include a planned features spoiler to the main post so we can know what to expect?

Edited by Rougeminner, 10 December 2015 - 01:54 AM.


#135 Creator

    Mad Dash Victor

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

Posted 10 December 2015 - 05:32 AM

Ok, I will do that. Nice idea.




Hint: Character recognition.

#136 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 05 January 2016 - 09:13 PM

here are a few practical minecraft idea's:
  • Turtle + Camera Peripheral = living creature?
  • Audio Tape Peripheral = music producing computer?
  • Command computer player data = analyzing player's actions for turtles to replicate
  • Command computer level builder = ai generated mazes and dungeons?
  • Quadcopters??? idk
  • Enryption api = encryption breaking ai?
  • teach it to play the simple games from the forum = best high score ever?

just thinking about more practical minecraft applications.

also github username: wilcomega

#137 Creator

    Mad Dash Victor

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

Posted 05 January 2016 - 09:48 PM

Added you!
  • Camera: You have to train it to react to different situations. Then yes.
  • Audio: There is no input. Software written for that will be more effective.
  • Turtles: So like reacting to certain patterns? Yes!
  • Maze: Actually possible. Given a table with the already present blocks, it can generate more of those.
  • Quad-copters: Again, you need a stream of consciousness input.
  • Encryption: not really. The way it works in=s known. I don't think there is a way to teach AI to discover weaknesses. Also it would be unusable for password cracking. The better option would be brute-force attacks.
  • Games: possible if given enough training.


#138 ReBraLaCC

  • Members
  • 100 posts
  • LocationSublime Text 2

Posted 17 March 2016 - 05:12 PM

What are you able to do with it? like use it in games for enemies or ?

#139 Creator

    Mad Dash Victor

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

Posted 17 March 2016 - 05:20 PM

You have to teach them a pattern, and the neural network will learn it accurately enough. Visit this page for a better explanation.

#140 Cross_Sans

  • Members
  • 122 posts
  • LocationFrance

Posted 23 March 2016 - 05:38 PM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users