필터 지우기
필터 지우기

How can i calculate training and testing time of a model using classification learner app?

조회 수: 5 (최근 30일)
I am using wine dataset for experiment
% load wine_dataset
% [dummy, Target] = max(wineTargets);
% wineDataset = [wineInputs; Target];
I imported wineDataset matrix in classification learner app and train the data using Linear SVM and Quadratic SVM. How can I calculate training and testing time taken by model?

답변 (1개)

Image Analyst
Image Analyst 2016년 7월 30일
Export the code, and then use tic and toc.
  댓글 수: 3
Image Analyst
Image Analyst 2016년 7월 30일
Put tic where you want to start the stop watch, and put toc where you want to stop the stop watch and discover the elapsed time.
Paul Ho
Paul Ho 2021년 2월 25일
I know this is an old post, but I can't seem to find where I can export MATLAB code from the classification learner app. (Of course I can just copy, paste and adapt the above, but it would be nice to know how it was generated)
If anyone could link me to any useful articles/ docs I would appreciate that too.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Classification Learner App에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by