Skip to content

Commit

Permalink
bump to 0.29.0; bump scipy and pandas dependencies; numpy is still be…
Browse files Browse the repository at this point in the history
…low 2.0, but that is next
  • Loading branch information
CamDavidsonPilon committed Jun 26, 2024
1 parent 56ff1fa commit ea3e2f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lifelines/fitters/coxph_fitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3222,7 +3222,6 @@ def predict_cumulative_hazard(self, df, times=None, conditional_after=None) -> p
cumulative_hazard = pd.DataFrame()

for stratum, stratified_X in df.groupby(self.strata):
print(self.params_)
log_lambdas_ = anp.array(
[0] + [self.params_.loc[self._strata_labeler(stratum, i)].iloc[0] for i in range(2, self.n_breakpoints + 2)]
)
Expand Down
1 change: 0 additions & 1 deletion lifelines/tests/test_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ def test_cumulative_density_ci_is_ordered_correctly(self, positive_sample_lifeti
if not hasattr(fitter, "confidence_interval_cumulative_density_"):
continue
lower, upper = f"{fitter.label}_lower_0.95", f"{fitter.label}_upper_0.95"
print(fitter.confidence_interval_cumulative_density_)
assert np.all(
(fitter.confidence_interval_cumulative_density_[upper] - fitter.confidence_interval_cumulative_density_[lower])
>= 0
Expand Down

0 comments on commit ea3e2f6

Please sign in to comment.