Artificial Inteligence in ComputerCraft -...
Creator 10 Oct 2015
--AI--
A long time ago, I got interested in neural networks. Seeing the power they gave me , I tried coding one in Lua. In vain. It didn't work, so I gave it up. Some days ago I tried it again, and because I did not use the right approach, I failed. However, today my third attempt started. After working with pauses for 3-4 hours, it worked!
I can finally and proudly present you AI, a fully working neural network! This version has the ability to learn. Isn't that amazing. Some of the best suited uses would be recognizing handwriting, training it to emulate a XOR gate, finding the verb in a sentence, and other totally useful stuff.
You're dying to use it? Here are the different functions it provides you with:
Spoiler
Here is a GIF, even if there ain't much to see!
The GIF shows a XOR gate.
Download:
pastebin get GHHCma5U AI
An example program:
pastebin get LRKaMh54 NN
Ideas for improvements:
- Add a way to save a neural network to a file.
Edited by Creator, 12 October 2015 - 08:01 PM.
Creator 10 Oct 2015
Thanks a lot!
An idea I have to improve AI would be to add a way to save the network to a file.
An idea I have to improve AI would be to add a way to save the network to a file.
FUNCTION MAN! 10 Oct 2015
Now make waifu2x for ComputerCraft!
Hm, that'd be rather useless. Make waifu2x IN computercraft!
Edited by DemHydraz, 10 October 2015 - 04:13 PM.
Hm, that'd be rather useless. Make waifu2x IN computercraft!
Edited by DemHydraz, 10 October 2015 - 04:13 PM.
Creator 10 Oct 2015
FUNCTION MAN! 10 Oct 2015
Yes, using deep convoluted neural networks. It's written in lua, too.
Creator 10 Oct 2015
Exerro 10 Oct 2015
This seems pretty awesome, I'm going to play around with it.
Just so you know:
Not everyone has "pasetbin", you should probably give a pastebin download too .
Edited by awsumben13, 10 October 2015 - 08:37 PM.
Just so you know:
Creator, on 10 October 2015 - 03:12 PM, said:
pasetbin get GHHCma5U AI
Creator, on 10 October 2015 - 03:12 PM, said:
pasetbin get LRKaMh54 NN
Edited by awsumben13, 10 October 2015 - 08:37 PM.
Imred Gemu 10 Oct 2015
awsumben13, on 10 October 2015 - 08:37 PM, said:
This seems pretty awesome, I'm going to play around with it.
Just so you know:
Not everyone has "pasetbin", you should probably give a pastebin download too .
Just so you know:
Creator, on 10 October 2015 - 03:12 PM, said:
pasetbin get GHHCma5U AI
Creator, on 10 October 2015 - 03:12 PM, said:
pasetbin get LRKaMh54 NN
Exerro 10 Oct 2015
Imred Gemu, on 10 October 2015 - 08:54 PM, said:
awsumben13, on 10 October 2015 - 08:37 PM, said:
-snip-
Not everyone has "pasetbin", you should probably give a pastebin download too .
Not everyone has "pasetbin", you should probably give a pastebin download too .
Edited by awsumben13, 10 October 2015 - 08:57 PM.
Creator 10 Oct 2015
@Awesumben13, thanks for the heads-up. I can't believe this happened again. When I released FileX I had written pastebun.
Dahknee 10 Oct 2015
This is pretty cool, as you work on this more it could become pretty be awesome!
Edited by DannySMc, 10 October 2015 - 09:27 PM.
Edited by DannySMc, 10 October 2015 - 09:27 PM.
Imred Gemu 10 Oct 2015
awsumben13, on 10 October 2015 - 08:57 PM, said:
Imred Gemu, on 10 October 2015 - 08:54 PM, said:
awsumben13, on 10 October 2015 - 08:37 PM, said:
-snip-
Not everyone has "pasetbin", you should probably give a pastebin download too .
Not everyone has "pasetbin", you should probably give a pastebin download too .