Skip to content

Commit

Permalink
Merge pull request #1418 from CamDavidsonPilon/v0.27.1
Browse files Browse the repository at this point in the history
v0.27.1
  • Loading branch information
CamDavidsonPilon authored Jun 26, 2022
2 parents c0d80e0 + 66a5bf3 commit f842388
Show file tree
Hide file tree
Showing 21 changed files with 583 additions and 381 deletions.
2 changes: 2 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Contributor Code of Conduct

**If you support or allow fascism, racism, or misogyny: don’t use this code, don’t open issues, don’t ask for help.**

As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [pull_request, push, workflow_dispatch]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10"]

steps:
- name: Checkout source
uses: actions/checkout@v2

- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install
run: |
pip install -e .
pip install -r reqs/dev-requirements.txt
- name: Run tests
run: pytest lifelines/tests/ -vv
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
## Changelog

#### 0.27.1 - 2022-03-15

##### New features
- all `fit_` methods now accept a `fit_options` dict that allows one to pass kwargs to the underlying fitting algorithm.


##### API Changes
- `step_size` is removed from Cox models `fit`. See `fit_options` above.

##### Bug fixes
- fixed Cox models when "trival" matrix was passed in (one with no covariates)

#### 0.27.0 - 2022-03-15

Dropping Python3.6 support.
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[![PyPI version](https://badge.fury.io/py/lifelines.svg)](https://badge.fury.io/py/lifelines)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/lifelines/badges/installer/conda.svg)](https://conda.anaconda.org/conda-forge)
[![Build Status](https://travis-ci.org/CamDavidsonPilon/lifelines.svg?branch=master)](https://travis-ci.org/CamDavidsonPilon/lifelines)
[![Coverage Status](https://coveralls.io/repos/github/CamDavidsonPilon/lifelines/badge.svg?branch=master)](https://coveralls.io/github/CamDavidsonPilon/lifelines?branch=master)
[![DOI](https://zenodo.org/badge/12420595.svg)](https://zenodo.org/badge/latestdoi/12420595)


Expand All @@ -28,9 +26,6 @@ If you are new to survival analysis, wondering why it is useful, or are interest
- Some users have posted common questions at [stats.stackexchange.com](https://stats.stackexchange.com/search?tab=votes&q=%22lifelines%22%20is%3aquestion)
- creating an issue in the [Github repository](https://github.com/camdavidsonpilon/lifelines).

## Roadmap
You can find the roadmap for lifelines [here](https://www.notion.so/camdp/6e2965207f564eb2a3e48b5937873c14?v=47edda47ab774ca2ac7532bb0c750559).

## Development

See our [Contributing](https://github.com/CamDavidsonPilon/lifelines/blob/master/.github/CONTRIBUTING.md) guidelines.
Loading

0 comments on commit f842388

Please sign in to comment.