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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!