Ahmedserag777 / randomforest-matlab

Automatically exported from code.google.com/p/randomforest-matlab
0 stars 0 forks source link

Directions for Bagging Regression #70

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hi, i am trying Bagging Regressing, but not getting success. If possible, 
kindly give me some directions and the implementing code for it. It would be a 
great help.

thanks in anticipation.

Original issue reported on code.google.com by aditya.m...@gmail.com on 6 May 2015 at 4:45

GoogleCodeExporter commented 8 years ago
take a look at this file 
https://code.google.com/p/randomforest-matlab/source/browse/trunk/RF_Reg_C/tutor
ial_RegRF.m#51

model = regRF_train(X_trn,Y_trn, 100,D);
if you set D = size(X_trn,2), i.e. the number of features in X_trn you'll get 
bagging regression

Original comment by abhirana on 6 May 2015 at 5:41

GoogleCodeExporter commented 8 years ago
Dear Abhirana, thanks for your suggestions. I will try to do as suggested and 
back in touch with you if feel any problem.

Original comment by aditya.m...@gmail.com on 7 May 2015 at 3:29