Re: Random Forest model (number of trees)

Neha gupta <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <CA+nrPnsY38xp8s9GW-6Dazc-L4ugXXX67MRLkSq_EvFBJpAHrw@mail.gmail.com>
Hi Peter

I am sorry but I did not understand your point. In the more option, I can
see

numFeatures -- Sets the number of randomly chosen attributes. If 0,
int(log_2(#predictors) + 1)

but how can I get the number of variables for each node? I have 20 features
in my dataset.

Thank you

On Tue, Apr 27, 2021 at 12:44 AM Peter Reutemann <[email protected]>
wrote:

> > If I am using the Random Forest model, how many trees will it have and
> how many variables would be available for each tree node? I think the
> default number of trees in Weka is 100 but in that case, how many variables
> for each tree node?
>
> Copy/paste from the "More" dialog:
>
> numFeatures -- Sets the number of randomly chosen attributes. If 0,
> int(log_2(#predictors) + 1) is used.
>
> Cheers, Peter
> --
> Peter Reutemann
> Dept. of Computer Science
> University of Waikato, NZ
> +64 (7) 577-5304
> http://www.cms.waikato.ac.nz/~fracpete/
> http://www.data-mining.co.nz/
> _______________________________________________
> Wekalist mailing list -- [email protected]
> Send posts to [email protected]
> To unsubscribe send an email to [email protected]
> To subscribe, unsubscribe, etc., visit
> https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>

_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.