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: 0x5CED8B896A6BDFA0


On Fri, May 5, 2017 at 12:58 AM, issues solution
<issues.solut...@gmail.com> wrote:
> 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 advance .
>

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to