Dear all
I have one question, now i'm using LVQ to classify fruits but i confuse to determine the neuron that I must use. I have matrix, rows = 15 and the column = 60, the class = 3. How many neuron I must use.
Thank you

 채택된 답변

Greg Heath
Greg Heath 2014년 5월 9일

1 개 추천

[ I N ] = size(input) % [15 60]
[ O N ] = size(target) % [ 3 60 ]
For lvqnet net.divideFcn = ''. Therefore,
Ntrn = N %60 Training examples
Ntrneq = N*O %180 Training equations
For a single hidden layer with H units
Nw = (I+O)*H % No. of unknown weights to estimate
For a robust design desire Ntrneq >> Nw. or H << Hub where
Hub -1 + ceil( Ntrneq/(I+O)) % 9
Since H << Hub is not possible, try reducing I and/or increasing N (e.g., adding noisy copies of the originals and making H as small as possible.
You may also wish to investigate 10-fold cross-validation and/or another type of classifier (e.g., patternnet or newrb).
Hope this helps.
Thank you for formally accepting my answer
Greg

댓글 수: 1

Doni
Doni 2014년 5월 10일
Thank you for your answer, but i' still confuse with it. Is there any equations to determine the number of neuron that we use? Thank you

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

추가 답변 (0개)

카테고리

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

태그

질문:

2014년 5월 9일

댓글:

2014년 5월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by