forum.alglib.net

ALGLIB forum
It is currently Sun Dec 01, 2024 7:52 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: number of features in random forest?
PostPosted: Thu Dec 30, 2010 7:06 am 
Offline

Joined: Thu Dec 30, 2010 7:01 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: number of features in random forest?
PostPosted: Thu Dec 30, 2010 6:31 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group