Time taken for prediction using competlayer Neural network.

1 次查看(过去 30 天)
I have an input of 2000 samples 800predictors, input is 2000x800,
using the following simple code
inputs = input';
net = competlayer(2);
net = train(net,inputs);
view(net)
outputs = net(input','useParallel','yes');
classes = vec2ind(outputs);
tabulate(classes)
calculating outputs is taking 2 seconds for each sample!
Can someone point out anything I am doing wrong. I want to reduce the time it takes to get output.
I know the number of predictors is really high but the etwork is giving good results so I dont want to change that.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by