after knowing the optimum weights, how to fix these input weight and bias as constant for remaining training?

i am using the RNG(0)(thanks to greg) before net command to fix the weight.but it may not be optimal weights.. so i want to train the net and after knowing the optimal weights i want to freeze it. how to fix these input weight and bias as constant for remaining training?

답변 (1개)

If you haven't finished training how can you possibly know that any weights are optimal?
I don't know of a good reason for "fixing" weights. Just set the RNG and let train do it's job.
If you don't like the answer, train again without fixing the RNG. It will automatically be in another state which you can record using s(i) = rng;

댓글 수: 1

1. i have finished traing without RNG(0) command. and i got the result. when i use s(i)=rng, it is not recognized. where should i use it. ihave enclosed my program

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

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

질문:

2015년 7월 6일

댓글:

2015년 7월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by