I feel uncomfortable with the meaning of the stepFactor
parameter of the tuneRF
function which is used for tuning the mtry
parameter used further in the randomForest
function.
The documentation of tuneRF
says that stepFactor
is a magnitude by which
the chosen mtry
gets deflated or inflated.
Obviously, since mtry
is a number of variables chosen randomly, it has to be an integer, however I saw many examples on the net using stepFactor=1.5
.
At first I thought that R uses by default next mtry
equal to floor(mtry_current-stepFactor)
, but it turned out that I was wrong.
Moreover, I do not understand the R commands displaying search left... search right...
while tuneRF
is working.
I thought it was the information on either inflating or deflating the mtry
parameter but my suppositions did not turn out to be correct.
To sum up this long and not too graceful description of my doubts, my questions are:
why is stepFactor
NOT an integer number??
How are subsequent mtry
values chosen?
What searching left/right actually mean??
Any help would be very much appreciated!! :)