Info
この質問は閉じられています。 編集または回答するには再度開いてください。
after the completion of offline training, how can I measure the testing time for individual sample?
1 回表示 (過去 30 日間)
古いコメントを表示
I have trained my ANN for fault analysis. Now i am testing it for new data and its working accurately.
But I want to measure the detection time which ANN is taking to identify the new sample???
0 件のコメント
回答 (1 件)
Madhav Thakker
2020 年 9 月 11 日
Hi Ali,
You can use tic toc function to calculate the time it takes for each sample during testing. Call tic before the prediction and toc just after prediction. Make sure not to do any other processes like reading or resizing in between these commands.
Hope this helps.
3 件のコメント
Madhav Thakker
2020 年 9 月 16 日
Hi, I tried tic toc with different examples (alexnet classficiation, shallow neural network) to replicate your issue but it works as expected. The time increases as I increase the number of testing samples. Can you give more information so that I can replicate your issue?
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!