Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (480)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (546)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Can anyone give me an easy ANN exercise?  (Read 2104 times)
0 Members and 1 Guest are viewing this topic.
Offline Andre Lopes
« Posted 2014-03-04 22:59:53 »

Hey Guys!
Im trying to find an exercise to train my ANN knowledge, but most of them are so advanced or badly explain that i barely start.

Would anyone give me some exercise of Hopfield and feedfoward Neural network?

Nothing too hard, im still a noob Tongue

Im out of ideas, anything at all would be fine. I will also share the code.
Any ideas for something that i could use? Something cool!

by the way, im using Jeff Heaton ANN  Java Book.
Online BurntPizza
« Reply #1 - Posted 2014-03-05 00:00:09 »

I've found this to be a great starter on NNs: http://www.theprojectspot.com/tutorial-post/introduction-to-artificial-neural-networks-part-1/7

Read that, understand it, and then write an implementation. Have it model some simple functions. Learn from doing.
Offline Andre Lopes
« Reply #2 - Posted 2014-03-05 00:20:31 »

Yeah i want to make some code about it.
I looked the website but they didnt have an actual exercise.

I want to make something that actually works.

I need a problem to solve! But i cant think of any. That sucks Sad
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online BurntPizza
« Reply #3 - Posted 2014-03-05 00:26:10 »

I give you your first problem to solve: Make a neural network. Any neural network. It doesn't even have to be set up to model anything. Write me some classes that create a generic 2 layer network with input nodes with a trigger() method, and some way to query the output, because that's the first step.
Offline Andre Lopes
« Reply #4 - Posted 2014-03-05 00:52:50 »

I give you your first problem to solve: Make a neural network. Any neural network. It doesn't even have to be set up to model anything. Write me some classes that create a generic 2 layer network with input nodes with a trigger() method, and some way to query the output, because that's the first step.

Working on it Tongue

A hopfield is okay?
Offline SimonH
« Reply #5 - Posted 2014-03-05 00:58:34 »

A classic ANN exercise is an XOR logic gate (that's what I had to do in college anyway). Build an 8 input XOR gate. If you can get a 100% accurate result then you've cracked it.
So, you have 8 inputs and one output. If one and only one of the inputs is 1 then the output is 1, otherwise the output is 0. Good luck!

People make games and games make people
Offline saucymeatman
« Reply #6 - Posted 2014-03-05 01:25:35 »

Ok, that is so cool!

Can you guys share some more links for tutorials or resources for constructing a Nueral Network model?
Offline Andre Lopes
« Reply #7 - Posted 2014-03-05 01:27:47 »

Ok, that is so cool!

Can you guys share some more links for tutorials or resources for constructing a Nueral Network model?

Jeff heaton!
https://www.youtube.com/watch?v=hEFhJEj4pMo

Burnt Pizza, thanks a lot , im working on it Tongue
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #8 - Posted 2014-03-05 02:01:41 »

Sounds very cool Andre, good luck Smiley

Offline Andre Lopes
« Reply #9 - Posted 2014-03-06 13:13:06 »

Sounds very cool Andre, good luck Smiley

Thanks m8.
Im having a bit of a problem with my memory stick so im getting delayed...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Andre Lopes
« Reply #10 - Posted 2014-03-09 19:48:25 »

BurntPizza.
Its Ready.

Ok.So, i asked DermetFan to help me speed it up. He made the view for me while i did the ANN stuff.

I replaced most of the book code with EJML.

I know how the hopfield works (Matrix calculations, step-by-step), so the simple things, i didnt change.

Heres the Source Code :
https://bitbucket.org/andrelopes1705/artificial-neural-network

And heres the video showing the app working :
https://www.youtube.com/watch?v=CRA-wVQLdhU&feature=youtu.be
Offline KevinWorkman

JGO Wizard


Medals: 54
Projects: 11
Exp: 12 years


klaatu barada nikto


« Reply #11 - Posted 2014-06-26 14:59:08 »

This is an old thread, but in case somebody stumbles upon it in their googling, I'll add that two times I've used ANN were for OCR (user draws a number or a letter, you convert that to a data structure like a 2D array, neural network takes that 2D array as input and outputs what number or letter it thinks it is) and for playing the Game of Nim.

Static Void Games - Play indie games, learn game programming, upload your own games!
Pages: [1]
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

atombrot (22 views)
2014-08-19 09:29:53

Tekkerue (22 views)
2014-08-16 06:45:27

Tekkerue (21 views)
2014-08-16 06:22:17

Tekkerue (12 views)
2014-08-16 06:20:21

Tekkerue (19 views)
2014-08-16 06:12:11

Rayexar (57 views)
2014-08-11 02:49:23

BurntPizza (37 views)
2014-08-09 21:09:32

BurntPizza (29 views)
2014-08-08 02:01:56

Norakomi (36 views)
2014-08-06 19:49:38

BurntPizza (66 views)
2014-08-03 02:57:17
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!