thesps/conifer

scikit-learn AdaBoostClassifier

Open

#9 opened on Nov 6, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (32 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (61 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently, AdaBoost models from scikit-learn [1] are implicitly ignored by conifer's sklearn converter [2]. Neither of the existing BDT or RF converter methods work "out of the box" for AdaBoostClassifier, which names some attributes differently to the other methods. A new converter method will be needed. But since the base classifiers are DecisionTrees, it should not be a major addition.

[1] https://github.com/scikit-learn/scikit-learn/blob/0.21.3/sklearn/ensemble/weight_boosting.py#L292 [2] https://github.com/thesps/conifer/blob/master/conifer/converters/sklearn.py#L42-L46

Contributor guide