User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 391,646 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,829 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 639 | Replies: 4
Reply
Join Date: Jan 2008
Posts: 2
Reputation: [omega] is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
[omega] [omega] is offline Offline
Newbie Poster

Neural Network training...

  #1  
Jan 24th, 2008
Hi there,

I am totally new to neural networks and am trying to train a network now. I am using a php script from tremani.nl for the neural network. Now what I wonder is that. How long does it usually take to train a network? I mean I am training it now for 24 hours and it´s still not finished, but probably I only set up wrong parameters?

Here is what I am trying to train:
$n->addTestData(array ("0.0001", 0.000615, 0, 0.01, 0.225, 0, 0, 0.00000166666666667), array (0.0027));
$n->addTestData(array ("0.0001", 0.0000000086, 0, 0.001, 0.025, 0, 0, 0), array (0.00085));
$n->addTestData(array ("0.0001", 0.00000006175, 0, 0, 0.025, 0, 0, 0), array (0.000891));
$n->addTestData(array ("0.0001", 0.000000005725, 0, 0, 0.025, 0, 0, 0), array (0.0015));
$n->addTestData(array ("0.0001", 0.001015, 0, 0.021, 0.225, 0, 0, 0.00000583333333333), array (0.002895));
$n->addTestData(array ("0.0001", 0.00000013375, 0, 0.003, 0.025, 0, 0, 0), array (0.001558));
$n->addTestData(array ("0.0001", 0.00018425, 0, 0.015, 0.025, 0, 0, 0.00000166666666667), array (0.008945));

So basically I got 8 inputting neurons and 1 output. For the correlation isn´t too big, I thought I should use probably more neurons between the input and the output layer, so I use 320 neurons in between.

For mean square error I use 0.0003 (since all resulting numbers are rather little, so that would probably be alike a +_20% error range).

For learning rate I use 0.1 and for momentum I use 0.8.

So basically I would be interested wether my values are chosen totally wrong? Additionally to that I would like to know, how long a regular neural network does need to train on average?

Thx
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,098
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 238
nav33n's Avatar
nav33n nav33n is offline Offline
Posting Sensei

Re: Neural Network training...

  #2  
Jan 24th, 2008
Wow! what are you talking about ? Sorry for my ignorance, but what are neurons ? learning rate ? momentum ?
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

*PM asking for help will be ignored*
Reply With Quote  
Join Date: Aug 2005
Location: somewhere in time
Posts: 71
Reputation: TopDogger is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
TopDogger's Avatar
TopDogger TopDogger is offline Offline
Junior Poster in Training

Re: Neural Network training...

  #3  
Jan 25th, 2008
It's a joke. He's pulling your chain.

It's his first post.

Everyone knows that it takes exactly (%43h7c99bdE23% * (3.14159^2 / 64)) nanoseconds to train a neural network for the first time. of course, it could take less the second time.
Last edited by TopDogger : Jan 25th, 2008 at 1:58 pm.
Reply With Quote  
Join Date: Jan 2008
Posts: 2
Reputation: [omega] is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
[omega] [omega] is offline Offline
Newbie Poster

Re: Neural Network training...

  #4  
Jan 26th, 2008
I am afraid it´s not a joke... in fact I would be happy if it would and I would not be frozen by that problem for days now... as mentioned it´s the first time I use neural networks. Of course I know that learning time differs a lot, but what I meant is if my variables are setup a way that makes it impossiple anyway to train the network I could stop the training right away... despite of that I use only a few hundret pairs so to say for training atm while I would have several thousands yet to to train... now if training a few hundreds already takes so far several days (and I am not sure for how much more days the training would last) training several thousands would probably take years....

Really no joke, just trying to work with neural networks for the first time...

@nav33n, these are values to be set when trying to train and work with neural networks...
Last edited by [omega] : Jan 26th, 2008 at 4:46 am.
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,098
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 238
nav33n's Avatar
nav33n nav33n is offline Offline
Posting Sensei

Re: Neural Network training...

  #5  
Jan 26th, 2008
@[omega], Sorry. This is the first time I am seeing something like this! hmm..maybe someone who knows bout it should answer !
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

*PM asking for help will be ignored*
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 1:10 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC