Skip to content

Faster DecisionTreeRegressor (numba acceleration)  #361

Open
@kmedved

Description

@kmedved

Hi - I've been working on creating a faster version of DecisionTreeRegressor for use with ngboost, specifically through Numba acceleration. I've got an early version of this here.

The concept is that the relative slowness of sklearn's DecisionTreeRegressor as the base learner is one of the main reasons why ngboost is slower than other boosting libraries. From some early testing, the numba compiled version linked above is between 8x-20x faster when used as the base learner for ngboost (but I am still verifying robustness across data size). When ready, I'll put together a colab notebook for benchmarking purposes.

I'm interested in thoughts on whether this makes sense generally, and if so, whether it would make sense to add into ngboost directly, or whether it makes more sense as a standalone library. Curious about thoughts generally, but especially @alejandroschuler and @ryan-wolbeck on this point?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions