永发信息网

Matlab中Random Forest算法是怎么结束的

答案:1  悬赏:60  手机版
解决时间 2021-08-22 04:16
  • 提问者网友:感性作祟
  • 2021-08-21 08:08
Matlab中Random Forest算法是怎么结束的
最佳答案
  • 五星知识达人网友:未来江山和你
  • 2021-08-21 09:27

I recently use the random forest to classify the traffical sigh .And the number of the training subset feature of traffical sigh is 39210,the number of the test subset feature is 12630.When I impletment the code in Windows-Precompiled-RF_MexStandalone-v0.02- as follows:
X=importdata('F:\硕士论文\GTSRB\Random Forest\RF_Class_C\Train_HOG2_LDAData_noLabel_41dim.txt');
Y=importdata('F:\硕士论文\GTSRB\Random Forest\RF_Class_C\Train_HOG2_LabelData.txt');
ntree=400;
model=classRF_train(X,Y,ntree);
But if I set the parameter ntree more than 300 ,for instance ntree set to 400,it will appear the case represented below:
Error using ==> mexClassRF_train
Out of memory. Type HELP MEMORY for your options.
Error in ==> classRF_train at 347
[nrnodes,ntree,xbestsplit,classwt,cutoff,treemap,nodestatus,nodeclass,bestvar,ndbigtree,mtry ...
Error in ==> Untitled at 13
model=classRF_train(X,Y,ntree);
I would like to ask why this error occur ?


我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯