Skip to content

Commit 27990a0

Browse files
authored
Update CausalTree's base _tree module with sklearn 1.5.2 (#806)
* update inference.tree._tree with sklearn 1.5.2 * fix lint errors * remove unused files from sklearn.tree._tree * fix the sklearn version to be >= 1.5.2, 1.6 * update the readthedocs config to use py39
1 parent d369317 commit 27990a0

22 files changed

+6965
-2747
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build:
88
python: "miniconda3-4.7"
99

1010
conda:
11-
environment: docs/environment-py38-rtd.yml
11+
environment: docs/environment-py39-rtd.yml
1212

1313
python:
1414
install:
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
"""
22
This part of tree structures definition was initially borrowed from
3-
https://github.com/scikit-learn/scikit-learn/tree/1.0.2/sklearn/tree
3+
https://github.com/scikit-learn/scikit-learn/tree/1.5.2/sklearn/tree
44
"""
5+
6+
"""Decision tree based models for classification and regression."""
7+
8+
from ._classes import (
9+
BaseDecisionTree,
10+
)
11+
12+
__all__ = [
13+
"BaseDecisionTree",
14+
]

0 commit comments

Comments
 (0)