Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.1.2 release #20

Merged
merged 102 commits into from
Nov 7, 2016
Merged

v0.1.2 release #20

merged 102 commits into from
Nov 7, 2016

Conversation

jburos
Copy link
Member

@jburos jburos commented Sep 29, 2016

Enhancements:

  • Improve plot_coefs & supporting functions
    • support a wider variety of coefficient types
      (element="baseline", element="grp_coefs", etc)
    • add trans option, so that one can plot exp(beta) or beta
    • support different types of grp_coefs, such as vector of vectors vs matrix
  • some bug-fixes
    • make fit_stan_survival_model more robust to failures in post-processing
  • updated TVC model
    • based on random-walk baseline hazard model
    • use random-walk (cumulative delta) to model TVCs
    • estimate hazard on log-scale for stability

New features:

  • Added pem-gamma model
  • Graphical posterior-predictive checking, via:
    • survivalstan.utils.plot_pp_survival(models=[my_model])
    • (optionally overlay observed values using plot_observed_survival(..))
  • Get posterior-predictive data via:
    • survivalstan.utils.prep_pp_data
  • updated tvc, pem-randomwalk & pem-gamma to support ppcheck functions

@coveralls
Copy link

coveralls commented Sep 29, 2016

Coverage Status

Coverage decreased (-12.6%) to 42.133% when pulling 919ea94 on develop into f650d93 on master.

@hammer
Copy link
Member

hammer commented Oct 27, 2016

@jburos what's blocking the merge for this PR?

@jburos
Copy link
Member Author

jburos commented Oct 27, 2016

@hammer there are a few dangling issues, and I have been lax on unit tests (can't run many of them due to travis timeouts anyways). Have been tracking these in a milestone (#20)

jburos and others added 2 commits November 5, 2016 17:17
* add FIT_FUN to modify stanity.fit; add file so code is optional

* pass file explicitly to FIT_FUN

* modify .travis.yml to run long-running tests

* separate requirements from test_requirements

* first attempt

* update tests & split into multiple files

* updated documentation

* use correlated data for test cases

* clean up test code

* fix repeated seed bug

* fix bug

* ignore model cache

* use ./wait4.sh code

* require upgrade to pystan 2.12.0

* echo stdout before exit, in wait4

* make tests less verbose unless they fail

* fix wait4.sh to take all parameters

* simplify memory reqs for tests

* remove wait4.sh pre-command

* fix wait4.sh script

* restore wait4.sh command

* split up tests

* split tests into separate builds; try caching models

* make sure wait4.sh prints output; skip tests for now just test wait4.sh

* limit number of tests

* update travis to use bash

* simplify final exit

* remove cached_models from travis-cache; remove cache-only option

* restore options to other tests

* increase num iter

* use AGG backend for figs

* restore all tests using AGG; increase iter on all tests

* return to using stancache; reduce iter; reduce number of models

* reformat cache

* rename baseline_raw -> baseline

* split test files in half for more efficient run time

* remove unused file

* fix error in test code

* add sample size param for test dataset size

* restore travis tests for py3

* rename baseline_raw -> baseline for consistency

* include varcoefs in test code

* add tvc model to tests

* try to fix syntax error

* actually fix group_col param

* update varcoef model to latest code

* change baseline_raw -> baseline for consistency
@coveralls
Copy link

coveralls commented Nov 5, 2016

Coverage Status

Coverage increased (+6.4%) to 61.125% when pulling 892ab23 on develop into f650d93 on master.

@coveralls
Copy link

coveralls commented Nov 7, 2016

Coverage Status

Coverage increased (+20.3%) to 75.054% when pulling d0552d2 on develop into f650d93 on master.

@jburos jburos merged commit 4c4c893 into master Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants