How get training and test(predicting) time for fitcensemble

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by