[scikit-learn] decision_path method for tree-based models

Nicolas Hug niourf at gmail.com
Thu May 23 12:17:58 EDT 2019


Hi Anaël, yes feel free to submit a PR

On 5/23/19 11:49 AM, Beaugnon Anael wrote:
> Hi everyone,
>
> The decision_path method is currently available only for
> DecisionTreeClassifier, DecisionTreeRegressor, and RandomForest, but not
> for IsolationForest and GradientBoostingClassifier. In these cases, the
> implementation is quite easy, it is exactly the same as for
> RandomForest, but it I think it would be very handy to have a public method.
>
> What do you think of this proposal ? If you are ok with it, I would be
> happy to propose a pull request.
>
> Thanks,
>
> --
> Anaël Beaugnon
> ANSSI - Intrusion Detection Research Laboratory
>
> Les données à caractère personnel recueillies et traitées dans le cadre de cet échange, le sont à seule fin d’exécution d’une relation professionnelle et s’opèrent dans cette seule finalité et pour la durée nécessaire à cette relation. Si vous souhaitez faire usage de vos droits de consultation, de rectification et de suppression de vos données, veuillez contacter contact.rgpd at sgdsn.gouv.fr. Si vous avez reçu ce message par erreur, nous vous remercions d’en informer l’expéditeur et de détruire le message. The personal data collected and processed during this exchange aims solely at completing a business relationship and is limited to the necessary duration of that relationship. If you wish to use your rights of consultation, rectification and deletion of your data, please contact: contact.rgpd at sgdsn.gouv.fr. If you have received this message in error, we thank you for informing the sender and destroying the message.
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn


More information about the scikit-learn mailing list