yougoforward / randomforest-matlab

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

Training hangs on controversial output #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
classRF_train([1 0; 1 0], [1 2]', 10, 2)

hangs my machine with probability 1.

Windows 7, Matlab 7.12.0.

It would be better to add some error handling it this case.

Thanks!

Original issue reported on code.google.com by shapoval...@gmail.com on 24 Oct 2011 at 4:59

GoogleCodeExporter commented 8 years ago
Hi 

thanks a lot for the bug report. it seems to happen in the R-version too. 
i'll look at the code and try to fix it.

thanks again

Original comment by abhirana on 25 Oct 2011 at 9:08