Output data size does not match net.outputs{1}.size?

5 views (last 30 days)
K M Ibrahim Khalilullah
K M Ibrahim Khalilullah on 6 Nov 2016
I want to use self-organizing map for classification. My code is give n below:
FMat=double(Tr10by10); %%size of FMat is 100by23888; 100 is feature values, 23888 is number of samples
% Create a Self-Organizing Map
dimension1 = 10;
dimension2 = 10;
net = selforgmap([dimension1 dimension2]);
% Train the Network
[net1,tr1] = train(net,FMat,TrainL1); % TrainL1 is 2by23888

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by