| jorgecardoso.eu→Jorge Cardoso's Blog→NNiimote update |
Tuesday, July 10. 2007NNiimote updateTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
I notice that the AMORE library is a normal feed forward NN with backpropagation. How did you handle the temporal sequence of data i.e. what features did you use as inputs to the neural network?
Hi,
I used the acceleration data (X, Y, Z) from a set of sequential readings of a 'gesture'. A gesture was initiated and terminated by pressing a button. The set was condensed to 150 interpolated values (3*50) and fed to the NN.
But NNiimote was just an exercise... I think that a gesture recognition using regular expression (http://silentlycrashing.net/ezgestures/) is probably better for simple gestures...
are you able to provide the glovepie script that you wrote for nniimote too?
Sure, I've put it in http://jorgecardoso.eu/MSc/NNiimote/WiiOSC.PIE
Thanks for the PIE file.
I've taken a look at the R file and noticed that I need 5 data files: yes-moves, no-moves, attack-moves,negative-moves and train-moves. May i ask what are these files specifically?
Does it mean that i have to use the nniimote-save-moves to train the yes,no,attack moves? if so, what are the negative-moves and train-moves? And do i have to put in 150 readings for each data file?
Hi,
I think those "train.moves" aren't used... It's probably some leftover from my experiences.
The 'Negative-moves' are moves diferent from all the rest. (An NN is probably not the best way to recognize moves because there is allways an extra class of moves which is impossible to define: my negative-moves are just an attempt to define them...)
The train files are generated by the niimote-save-moves.py file. You should train the yes, no, attack and some other moves (negative).
I have tried your nniimote with success! Thanx....
But i do have a few questions:
1) Why did you use 150 inputs? Was it arbitrary on your part?
Coz i tried it with 90 and there was no significant difference in the LMS values obtained.
2)Why did you use the ADAPTgdwm method instead of the rest?
3) Why did you use 10 Hidden Layers in your ANN?
4) Why did set the momentum global to 0.5?
Thanks in advance and sorry for bothering you with all these questions...
|
ShareThisRecent Entries
QuicksearchCategories
Blog AdministrationCreative Commons License
All posts in this blog are licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. |