Skip to content

Commit

Permalink
Merge c530b10 into bdf6be6
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed May 16, 2019
2 parents bdf6be6 + c530b10 commit 4ad6534
Show file tree
Hide file tree
Showing 29 changed files with 2,283 additions and 323 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,18 @@
### Changelog

#### 0.21.2 - 2019-04-26

##### New features
- New regression model: `PiecewiseExponentialRegressionFitter` is available. See blog post here: https://dataorigami.net/blogs/napkin-folding/churn
- Regression models have a new method `log_likelihood_ratio_test` that computes, you guessed it, the log-likelihood ratio test. Previously this was an internal API that is being exposed.

##### API changes
- The default behavior of the `predict` method on non-parametric estimators (`KaplanMeierFitter`, etc.) has changed from (previous) linear interpolation to (new) return last value. Linear interpolation is still possible with the `interpolate` flag.
- removing `_compute_likelihood_ratio_test` on regression models. Use `log_likelihood_ratio_test` now.

##### Bug fixes


#### 0.21.1 - 2019-04-26

##### New features
Expand Down
11 changes: 9 additions & 2 deletions Makefile
Expand Up @@ -9,15 +9,22 @@ else
endif

test:
py.test -rfs --cov=lifelines --block=False --cov-report term-missing
py.test tests/ -rfs --cov=lifelines --block=False --cov-report term-missing

lint:
ifeq ($(TRAVIS_PYTHON_VERSION), 2.7)
echo "Skip linting for Python2.7"
else
make black
prospector --output-format grouped
endif

black:
ifeq ($(TRAVIS_PYTHON_VERSION), 2.7)
echo "Skip linting for Python2.7"
else
black lifelines/ -l 120 --fast
black tests/ -l 120 --fast
prospector --output-format grouped
endif

check_format:
Expand Down

0 comments on commit 4ad6534

Please sign in to comment.