Hi Jinhui,

there is a pull request by Noel Dawe addressing this issue [1].

best,
 Peter

[1] https://github.com/scikit-learn/scikit-learn/pull/522

2012/2/14 Jinhui Li <[email protected]>:
> Hi all,
>
> I read the source code of tree and forest in sklearn and found there's no
> sample weight specification.
>
> I have a big training dataset, in which many samples consist of same
> features. So, is there a version or branch of tree mode support sample
> weight? Can I implement this logic just modify the criterion(entropy, gini,
> or mse) method?
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>



-- 
Peter Prettenhofer

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to