Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • $\begingroup$ Thanks so much, Sycorax. Do you think the source code of R's randomForest can be modified to accompany this? $\endgroup$ Commented Jul 25, 2018 at 14:44
  • $\begingroup$ Given enough resources, any software can be modified to do anything. On the other hand, randomForest is just an R interface into FORTRAN code, so it might take considerable resources to accomplish. $\endgroup$ Commented Jul 25, 2018 at 14:46
  • $\begingroup$ @FatihAkici Actually, it looks like I was mistaken. The compiled code is a C port of Breiman's original FORTRAN code. $\endgroup$ Commented Jul 25, 2018 at 15:41
  • 5
    $\begingroup$ I worked on the randomForest package for a summer in 2015 as part of an REU. It's definitely possible to modify the code to do this, but it's a bit tricky because it's actually mixed C-Fortran. Most of the "outer" code is C, while a few core functions remain in Fortran, and are linked after compilation. Unfortunately, it's been too long since I've seen the code to know where to look. but I'd suggest being prepared to work in both C and Fortran if you want to modify the package. $\endgroup$ Commented Jul 25, 2018 at 18:22