Re: [R] Execution speed in randomForest

2012-04-13 Thread Liaw, Andy
M To: jim holtman Cc: r-help@r-project.org Subject: Re: [R] Execution speed in randomForest The CPU time and elapsed time are essentially identical. (That is, the system time is negligible.) Using Rprof, I just ran the code twice. The first time, while randomForest is doing its thing, ther

Re: [R] Execution speed in randomForest

2012-04-06 Thread Jason & Caroline Shaw
The CPU time and elapsed time are essentially identical. (That is, the system time is negligible.) Using Rprof, I just ran the code twice. The first time, while randomForest is doing its thing, there are 850 consecutive lines which read: ".C" "randomForest.default" "randomForest" "randomForest.fo

Re: [R] Execution speed in randomForest

2012-04-06 Thread jim holtman
Are you looking at the CPU or the elapsed time? If it is the elapsed time, then also capture the CPU time to see if it is different. Also consider the use of the Rprof function to see where time is being spent. What else is running on the machine? Are you doing any paging? What type of system

[R] Execution speed in randomForest

2012-04-06 Thread Jason & Caroline Shaw
I am using the randomForest package. I have found that multiple runs of precisely the same command can generate drastically different run times. Can anyone with knowledge of this package provide some insight as to why this would happen and whether there's anything I can do about it? Here are som