uber / causalml

Uplift modeling and causal inference with machine learning algorithms
Other
4.87k stars 756 forks source link

Replace Stack and PriorityHeap with cpp stack/heap methods in trees #700

Closed SuperBo closed 7 months ago

SuperBo commented 8 months ago

Proposed changes

Replace built-in Stack and Heap implementation by C++ Stack and Priority Heap. This is to keep track with latest changes in Scikit-learn.

Types of changes

What types of changes does your code introduce to CausalML? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

This MR can be considered as back-port of scikit-learn 1.0 branch.