Time taken for prediction using competlayer Neural network.

조회 수: 1 (최근 30일)
Nachiketa Chauhan
Nachiketa Chauhan 2019년 5월 17일
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