Classification Result

146 views
Skip to first unread message

apple...@gmail.com

unread,
Jul 21, 2018, 7:33:40 AM7/21/18
to mdCNN: Multidimensional CNN library in Matlab
Dear sir
After I trained the net(3D), How could I use that to get new data classification result(labels).
Thank you.

Hagay Garty

unread,
Jul 22, 2018, 7:41:36 AM7/22/18
to mdCNN: Multidimensional CNN library in Matlab
Hi, to classify a single image you can use the below code:

image=dataset.I{1};
outs = feedForward(net.layers, GetNetworkInputs(image, net, 1) , 1);
[Mx,label] = max(outs{end}.activation);
fprintf('net classification is %d\n',label-1);
imshow(image);shg
Reply all
Reply to author
Forward
0 new messages