필터 지우기
필터 지우기

How can I obtain the "correct" weight matrices of neural networks ?

조회 수: 4 (최근 30일)
Ankit Mondal
Ankit Mondal 2016년 11월 20일
댓글: Ankit Mondal 2016년 11월 30일
I am using the Neural Network Toolbox of MATLAB. I am trying to train a network for the purpose of image classification and pattern recognition. The input layer has 784 neurons, hidden layer has 100 neurons and the output layer has 10. So accordingly, I expect the inner layer of weight matrix (first layer) to be of size 100 X 784. However, after the network is trained, when I obtain the weights and biases using net.IW or separatewb() function, it shows the inner weight matrix to be of dimension 100 X 663. Why is this so ? Is MATLAB doing some kind of simplification ? Thanks !!

채택된 답변

Sebastian K
Sebastian K 2016년 11월 23일
Looks like other people have asked the same question before:
It seems that redundant/constant rows in the input data might cause this behavior.
  댓글 수: 1
Ankit Mondal
Ankit Mondal 2016년 11월 30일
Thanks a lot Sebastian. That indeed seems to be the case with my code.

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

추가 답변 (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