forum.alglib.net
http://forum.alglib.net/

number of features in random forest?
http://forum.alglib.net/viewtopic.php?f=2&t=143
Page 1 of 1

Author:  hirons101 [ Thu Dec 30, 2010 7:06 am ]
Post subject:  number of features in random forest?

on the ALGLIB description page for random forest, it says:

"The algorithm contains three parameters that need to be adjusted: the ratio r - size of the part of the training set which will be used for the construction of individual trees; the number of trees NTrees; as well as the number NFeatures indicating the number of variables used to grow individual trees."

But the dfbuildrandomdecisionforest function does not let us specify the NFeatures parameter. Is there another place
we can set it? or the implementation just automatically sets NFeatures to (total # of features)/2?
or ....? Thanks.

Author:  Sergey.Bochkanov [ Thu Dec 30, 2010 6:31 pm ]
Post subject:  Re: number of features in random forest?

Yes, you are right. Implementation automatically uses NVars/2 as number of features. Development version of ALGLIB random forests allowed to tune this parameter, but in the final release this feature was hidden. I'll change documentation on the next site update.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/