View unanswered posts | View active topics It is currently Thu Oct 23, 2014 4:42 am






Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
First Neural Net implemented on a Lego NXT (C like, RobotC) 
Author Message
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: First Neural Net implemented on a Lego NXT (C like, ROBOTC)
aah, you meant the NN topology:

as mentioned, I'd take a Feed Forward Net.
The number of neurons = number of output bits.

1 motor: at least 3 functional states (stop, forward, reverse)
1 neuron may encode 1 bit
10 motors: 3^10 combinations of functional states = 59049 states <= 65536 = 2^16 bits

so you need 16 digital outputs = 16 neurons to encode (control) the functional states of 10 motors

(sry for my poor English)

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Thu Jul 09, 2009 3:43 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.