Re: [Scikit-learn-general] Random Forest Custom Label

2016-03-01 Thread Jacob Schreiber
Question 1: It does not do an internal cross-validation to prevent overfitting. Question 2: Yes, you can put a higher weight on your positive class. Look at the class_weights parameter in the documentation here: http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifie

[Scikit-learn-general] Random Forest Custom Label

2016-03-01 Thread Mamun Rashid
Hi All, This is my understanding of the Random Forest Algorithm : Random Forest algorithm creates number of trees using randomly selected subset of samples and features. At each node of the tree it uses the Gini information gain to find the best feature-threshold (various threshold is tested fo