Ai Dreams Forum

Please login or register.

Pages: [1]   Go Down

Author Topic: Help with Neural Network problem  (Read 916 times)

Haemp

  • Newbie
  • *
  • Posts: 2

Help with Neural Network problem
« on: June 23, 2012, 03:46:47 AM »
Hi guys,

I'm building an application for Android devices that requires it to recognize, by accelerometer data, the difference between walking noise and double tapping it. I'm trying to solve this problem using Neural Networks.

At the start it went pretty well, teaching it to recognize the taps from noise such as standing up/ sitting down and walking around at a slower pace. But when it came to normal walking it never seemed to learn even though I fed it with a large proportion of noise data.

My question: Are there any serious flaws in my approach? Is the problem based on lack of data?

The network
I've choosen a 25 input 1 output multi-layer perceptron, which I am training with backpropagation. The input is the changes in acceleration every 20ms and output ranges from -1 (for no-tap) to 1 (for tap). I've tried pretty much every constallation of hidden inputs there are, but had most luck with 3 - 10.

I'm using Neuroph's easyNeurons for the training and exporting to Java.

The data
My total training data is about 50 pieces double taps and about 3k noise. But I've also tried to train it with proportional amounts of noise to double taps.

The data looks like this (ranges from +10 to -10):

Sitting double taps: http://i.stack.imgur.com/a7PDT.png

Fast walking: http://i.stack.imgur.com/ljRwp.png

So to reiterate my questions: Are there any serious flaws in my approach here? Do I need more data for it to recognize the difference between walking and double tapping? Any other tips?

Bragi

  • Trusty Member
  • Senior Member
  • *****
  • Posts: 549
    • Neural network design blog

Re: Help with Neural Network problem
« Reply #1 on: June 23, 2012, 06:40:33 AM »
Which data exactly are you feeding the neural net: the raw audio samples, or do you first convert them with a FFT or something similar?
Have you ever taken a look at beat recognition algorithms? It sounds like a similar operation.

Haemp

  • Newbie
  • *
  • Posts: 2

Re: Help with Neural Network problem
« Reply #2 on: June 23, 2012, 10:24:43 AM »
Thanks for the recommendation but its not sound, its accelerometer data, but I guess it looks like sound. I googled around for a Beat recognition library for Java, but couldn't find any - do you know of any?

Freddy

  • Administrator
  • Senior Member
  • *****
  • Posts: 4149
  • Resident Weevil

Re: Help with Neural Network problem
« Reply #4 on: June 25, 2012, 11:28:52 AM »
That link seems to go nowhere Bragi  ???

Bragi

  • Trusty Member
  • Senior Member
  • *****
  • Posts: 549
    • Neural network design blog

Re: Help with Neural Network problem
« Reply #5 on: June 25, 2012, 12:23:48 PM »
doesn't it open a pdf file for you? (it does for me)

Data

  • Global Moderator
  • Senior Member
  • *****
  • Posts: 946
  • Overclocked/Undervolted
    • Datahopa - Fast loading search engine interface.

Re: Help with Neural Network problem
« Reply #6 on: June 25, 2012, 12:27:19 PM »
Yes it opens a PDF for me too, using IE9.

Freddy

  • Administrator
  • Senior Member
  • *****
  • Posts: 4149
  • Resident Weevil

Re: Help with Neural Network problem
« Reply #7 on: June 25, 2012, 12:28:42 PM »
No, must be a Chrome thing I guess then..

Bragi

  • Trusty Member
  • Senior Member
  • *****
  • Posts: 549
    • Neural network design blog

Re: Help with Neural Network problem
« Reply #8 on: June 25, 2012, 12:41:38 PM »
I'm using firefox.  I got the link from a google search. Strange. Maybe a security thing?

Freddy

  • Administrator
  • Senior Member
  • *****
  • Posts: 4149
  • Resident Weevil

Re: Help with Neural Network problem
« Reply #9 on: June 25, 2012, 01:09:34 PM »
Maybe, don't know to be honest.

Art

  • Global Moderator
  • Senior Member
  • *****
  • Posts: 2075

Re: Help with Neural Network problem
« Reply #10 on: June 25, 2012, 03:46:32 PM »
Works for me in all save Chrome as well, Freddy. ???
In the world of AI, it's the thought that counts!

Data

  • Global Moderator
  • Senior Member
  • *****
  • Posts: 946
  • Overclocked/Undervolted
    • Datahopa - Fast loading search engine interface.

Re: Help with Neural Network problem
« Reply #11 on: June 25, 2012, 03:56:43 PM »
What can I say, the number of things Chrome can’t do seems to be growing weekly.  ;D

Freddy

  • Administrator
  • Senior Member
  • *****
  • Posts: 4149
  • Resident Weevil

Re: Help with Neural Network problem
« Reply #12 on: June 25, 2012, 04:44:04 PM »
Haha, still a long way before it catches up with IE though  >:D
Pages: [1]   Go Up
 

Welcome

Please login or register.

Login with username, password and session length

Users Online

15 Guests, 2 Users
Users active in past 15 minutes:
tedathome, TheGeek
[Newbie]

Most Online Today: 19. Most Online Ever: 208 (August 27, 2008, 08:36:30 AM)

Articles

Latest Media Item

 
new chair?
 Views: 359
Posted by Duskrider
May 19, 2013
in Characters
Chatterbot Collection
Chatterbot Collection
BragiSoft
CallMom
Chatbots.org AI Zone
Datahopa
free counters



Eyes On Drainage Services
SMF 2.0.4 | SMF © 2013, Simple Machines
BlueLight design by Bloc
Page created in 0.243 seconds with 21 queries.