File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ def _partition_estimators(n_estimators, n_jobs):
158
158
159
159
# Partition estimators between jobs
160
160
n_estimators_per_job = np .full (n_jobs , n_estimators // n_jobs ,
161
- dtype = np . int )
162
- n_estimators_per_job [:n_estimators % n_jobs ] += 1
161
+ dtype = int )
162
+ n_estimators_per_job [: n_estimators % n_jobs ] += 1
163
163
starts = np .cumsum (n_estimators_per_job )
164
164
165
165
return n_jobs , n_estimators_per_job .tolist (), [0 ] + starts .tolist ()
Original file line number Diff line number Diff line change 58
58
tensorflow > 1.10, < 2.3; python_version < '3.9'
59
59
; Version capped due to tensorflow incompatibility
60
60
protobuf < 4
61
+ ; Version capped due to tensorflow incompatibility
62
+ numpy < 1.24
61
63
plt =
62
64
graphviz
63
65
; Version capped due to shap incompatibility
70
72
tensorflow > 1.10, < 2.3
71
73
; Version capped due to tensorflow incompatibility
72
74
protobuf < 4
75
+ ; Version capped due to tensorflow incompatibility
76
+ numpy < 1.24
73
77
; Version capped due to shap incompatibility
74
78
matplotlib < 3.6.0
75
79
dowhy < 0.9
You can’t perform that action at this time.
0 commit comments