•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 427,360 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 3,029 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: 722 | Replies: 4
![]() |
•
•
Join Date: Jan 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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:
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
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
•
•
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,098
Reputation:
Rep Power: 8
Solved Threads: 240
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*
*PM asking for help will be ignored*
•
•
Join Date: Aug 2005
Location: somewhere in time
Posts: 77
Reputation:
Rep Power: 4
Solved Threads: 5
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.
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.
•
•
Join Date: Jan 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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...
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.
•
•
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,098
Reputation:
Rep Power: 8
Solved Threads: 240
@[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*
*PM asking for help will be ignored*
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
adsl adsl1 adsl2 adsl2+ blog cable competition connection consultant core daniweb download engineering fedora gentoo hacking installation internet kb kbps linux mbit mmorpg network news per persuade php pirate second security social software spam terrorism testing throughput training upload web windows xp workgroup 240000
- Neural Network matlab (Computer Science and Software Design)
- MATLAB neural network tool (Legacy and Other Languages)
- MATLAB neural network tool (Computer Science and Software Design)
Other Threads in the PHP Forum
- Previous Thread: Custom Thread Module
- Next Thread: mutliple entries in search box



Linear Mode