Hi,

I have binary output y where class 0 has much more samples than class 1.
I am trying to understand the importance of each predictor.

I do not know if the class weights should be used or not when the tree is
trained i.e.

etw = ExtraTreesClassifier(n_estimators=n_estimators, max_depth = 5,
class_weight='auto')
or
et = ExtraTreesClassifier(n_estimators=n_estimators, max_depth = 5)

Is there a preferred option or some literature about this ?

Thanks,
Luca
-- 

Sent by mobile phone
------------------------------------------------------------------------------
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to