Re: imbalance classe inside RANDOMFOREST CLASSIFIER

2017-05-05 Thread DB Tsai
We have the weighting algorithms implemented in linear models, but unfortunately, it's not implemented in tree models. It's an important feature, and welcome for PR! Thanks. Sincerely, DB Tsai -- Web: https://www.dbtsai.com PGP Key ID:

imbalance classe inside RANDOMFOREST CLASSIFIER

2017-05-05 Thread issues solution
Hi , in sicki-learn we have sample_weights option that allow us to create array to balacne class category By calling like that rf.fit(X,Y,sample_weights=[10 10 10 ...1 1 10 ]) i 'am wondering if equivelent exist inside ml or mlib class ??? if yes can i ask refrence or example thx for