필터 지우기
필터 지우기

taraining error when neural network training is done .each time training isd one the results are different

조회 수: 2 (최근 30일)
i am doing neural network ,training the netwrk eah time gives different results.

채택된 답변

Greg Heath
Greg Heath 2012년 12월 3일
Training performance varies because the default train/val/test data division AND initial weights are pseudorandom.
One of many solutions for sufficiently large data sets.
1. Initialize the RNG so that the same stream of pseudorandom numbers can be repeated.
rng(0)
2. Design 10 or more nets
3. Choose the net with the smallest validation (NOT TRAINING) set error.
4. Estimate the performance on unseen data with the test set error.
5. If performance is unsatisfactory, try increasing the number of hidden nodes.
How large are X and T?
Hope this helps.
Thank you for formally accepting my answer
Greg
  댓글 수: 3
Greg Heath
Greg Heath 2012년 12월 7일
The pseudo random number generation is done automatically. However if you want to duplicate your run(s). You must intialize the geneator.
help rng
doc rng
Greg
mayuresh
mayuresh 2012년 12월 7일
can u suggest some book/papers on designing of number of layers and neurons in the layers.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by