How get training and test(predicting) time for fitcensemble

Hi, I use this code for training and testing my database:
train = fitcensemble(data,'normal','Method','Bag');
test = predict(train,database);
cp = classperf(truelables,classout);
but I want my test and train Time, please help me

回答 (0 件)

製品

質問済み:

2017 年 11 月 28 日

編集済み:

2017 年 11 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by