Output data size does not match net.outputs{1}.size?
1 次查看(过去 30 天)
显示 更早的评论
I want to use self-organizing map for classification. My code is give n below:
load('TR10by10.mat');
FMat=double(Tr10by10); %%size of FMat is 100by23888; 100 is feature values, 23888 is number of samples
[FMat,dataMean,dataStd]=NormaMean(FMat');
% Create a Self-Organizing Map
dimension1 = 10;
dimension2 = 10;
net = selforgmap([dimension1 dimension2]);
% Train the Network
net.trainParam.epochs=3000;
[net1,tr1] = train(net,FMat,TrainL1); % TrainL1 is 2by23888
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!