[scikit-learn] Isolation forests

Albert Thomas albertthomas88 at gmail.com
Tue May 22 05:18:32 EDT 2018


Hi Sergio,

In IsolationForest, BaseBagging is applied with ExtraTreeRegressor as
base_estimator. Algorithm 2 (iTree) of the original paper is thus
implemented in ExtaTreeRegressor.

The forest is implemented thanks to the bagging procedure.

HTH,
Albert

On Sun 20 May 2018 at 09:56, Sergio Solórzano <sdsr.sdsr at gmail.com> wrote:

> currently I am studying the "Isolation forest" algorithm proposed by
> Liu, Ting and Zhou. I started reading the scikit-learn implementation
> but could not find where exactly is the algorithm 2 of the original
> paper implemented.
>
> So far this is what I managed to understand: In the iforest.py file
> there is the “fit” method which, if my understanding is correct,
> essentially makes a call to the “_fit” method of the BaseBagging class
> but there I can’t see how the algorithm 2 of the original reference is
> implemented.
>
> Any help on the details of how Itrees and Iforests are implemented is
> appreciated.
>
> If this is not the right place to ask, please let me know where is it.
>
> Thanks for the time and help
> Sergio S
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20180522/56609d0a/attachment.html>


More information about the scikit-learn mailing list