i'm trying to to optimizing thyroeid example by pattern recognition . i wana modify hidden layer size , and i want it from ga function , in default way is : hiddenLayerSize = [4 5 ] ; net = patternnet(hiddenLayerSize); now i want hiddenLayerSize get from ga func , that gaves me minimum and optimal number of neuron .
Prashant Kumar answered .
2025-11-20
Nw = (I+1)*H+(H+1)*c % One hidden layer Nw = (I+1)*H1+(H1+1)*H2+(H2+1)*c % Two hidden layers?
Search both the NEWSGROUP and ANSWERS using
PATTERNNET GENETIC
And
PATTERNNET GA