Hi Luca,

This may not be the fastest implementation, but random forest
proximities can be computed quite straightforwardly in Python given
our 'apply' function.
See for instance
https://github.com/glouppe/phd-thesis/blob/master/scripts/ch4_proximity.py#L12

>From a personal point of view, I never use them but since this is
quite standard in other random forest implementations, this may be a
nice little contribution. I dont know where it should be put though in
scikit-learn, since it very much looks like a pairwise metric.

What do other tree growers think?

Cheers,
Gilles

On 8 September 2014 11:05, Luca Puggini <lucapug...@gmail.com> wrote:
> Hi,
> for personal reason I am writing a function to compute the outlier measure
> from random forest
> http://www.stat.berkeley.edu/~breiman/RandomForests/cc_home.htm#outliers
>
> with a little more work I can include the function in the sklearn random
> forest class.
>
> Is the community interested? Should I do it?
> I think that this would be useful.  This function is already available in
> matlab http://www.mathworks.co.uk/help/stats/compacttreebagger-class.html
>
> Let me know.
>
> Best,
> Luca
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to