Matlab中Random Forest算法是怎么结束的
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/07/14 04:14:10
Matlab中Random Forest算法是怎么结束的
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 ?
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 ?
Matlab中Random Forest算法是怎么结束的
Random Forest 怎么翻译
matlab中random用法
python中random.random()和random.Random()的区别是什么
matlab random函数怎么用
matlab中rando函数和random函数的区别
java中math.random()随机生成的数怎么全是0?
请问“Random Infinite Player"中如果player的意思是播放机,前面两个词怎么理解?
MATLAB 的欧拉算法怎么写
matlab中 [X,map]=imread('forest.tif'); 这句怎么理解?
请问怎么不使用matlab的遗传算法工具箱用matlab遗传算法求极值?
很简单的random signal的matlab问题