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

development version #82

Merged
merged 225 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
00d6a65
feat: aggregate survshap across multiple observations
kapsner Apr 5, 2023
3bdc619
test: added plot for global survshap to unit-test
kapsner Apr 6, 2023
2843273
Merge pull request #74 from kapsner/feat-global-survshap
mikolajsp May 22, 2023
c0c779d
Add `observation_aggregation_method` argument to allow for observatio…
mikolajsp May 22, 2023
c6a1f1d
Get rid of `data.table` and make `"exact_kernel"` shap method work wi…
mikolajsp May 22, 2023
240d0a8
Add additional fields in the result object for plotting `aggregated_s…
mikolajsp May 22, 2023
e1cfccc
Add plotting of `aggregated_surv_shap`
mikolajsp May 22, 2023
d7887d5
Add `model_survshap()` function and modify survshap to return all cal…
mikolajsp Jul 12, 2023
0015b7f
Modlify aggregated survshap plotting function.
mikolajsp Jul 12, 2023
d0f325c
Begin swarmplot
mikolajsp Jul 17, 2023
104d087
refactor: working on implementation of global survshap
kapsner Jul 24, 2023
72622bf
docs: added working example to model_survshap
kapsner Jul 25, 2023
3a5aadd
feat: added n over which shap were aggregated to plot subtitle
kapsner Jul 25, 2023
b8dab05
fix: reintroduced missing if-statement for plot title
kapsner Jul 25, 2023
4c857d1
Merge pull request #77 from kapsner/dev-global-survshap
krzyzinskim Jul 26, 2023
c50c958
create calculate_integral function as utils
krzyzinskim Jul 26, 2023
ce3be3b
remove N from model_survshap
krzyzinskim Jul 26, 2023
8ed8b91
update aggregation methods in local survshap
krzyzinskim Jul 26, 2023
6ceba5e
update plots
krzyzinskim Jul 26, 2023
47d7f21
update docs
krzyzinskim Jul 26, 2023
9b81d48
Begin integration of additional pdp plots
mikolajsp Jul 26, 2023
6aff34c
remove ggbeeswarm from imports
krzyzinskim Jul 26, 2023
02e1aab
fix using util integration
krzyzinskim Jul 26, 2023
c52f8a3
fix examples
krzyzinskim Jul 26, 2023
5051763
ggplot with df
krzyzinskim Jul 26, 2023
f0a36b6
update docs
krzyzinskim Jul 26, 2023
9969a92
make tests faster
krzyzinskim Jul 26, 2023
f80b8b3
add ale for numerical variables
krzyzinskim Jul 31, 2023
a283dde
remove old file
krzyzinskim Jul 31, 2023
e1cce63
move error to the right place
krzyzinskim Jul 31, 2023
d83188a
add ale to model_profile
krzyzinskim Jul 31, 2023
045ef56
add ale plots
krzyzinskim Jul 31, 2023
2b0be07
add order levels for ALE
krzyzinskim Jul 31, 2023
58b89fe
change print.model_profile for ALE
krzyzinskim Jul 31, 2023
a1c656c
add categorical ALE
krzyzinskim Jul 31, 2023
9b39ae8
change default value for center param
krzyzinskim Jul 31, 2023
f496db4
add optional centering and docs
krzyzinskim Jul 31, 2023
05b6cac
remove detailed description
krzyzinskim Jul 31, 2023
86e4b80
update tests
krzyzinskim Jul 31, 2023
341c7ef
add docs
krzyzinskim Jul 31, 2023
c0f4102
bump roxygen version
krzyzinskim Jul 31, 2023
a227bbb
add imports from stats
krzyzinskim Jul 31, 2023
b329afa
fix centering
krzyzinskim Jul 31, 2023
e1cb301
Fix ids column in pdp explanation results
mikolajsp Jul 31, 2023
10d2101
Working implelmentation of other pdp/ale plots.
mikolajsp Jul 31, 2023
f9d23c9
Add documentation and theming of plots
mikolajsp Jul 31, 2023
994210a
Add plot type check
mikolajsp Jul 31, 2023
5dd663d
Add Sophie to authors
mikolajsp Jul 31, 2023
5a135a0
remove unused file
krzyzinskim Jul 31, 2023
b8043a6
add model_profile_2d pdp version
krzyzinskim Jul 31, 2023
a50105b
add calculate_variable_split as internal function
krzyzinskim Jul 31, 2023
3d41906
Fix R CMD CHECK notes
mikolajsp Aug 1, 2023
a2144a6
2d profiles calculation
krzyzinskim Aug 1, 2023
88d1b23
Add tests for plot2 plots for PDP
mikolajsp Aug 1, 2023
3d0e5ce
Get rid of the deprecated size aesthetic for line plots. Add ggplot2 …
mikolajsp Aug 1, 2023
39a0fac
Merge branch 'dev-pdp' into dev-ale
mikolajsp Aug 1, 2023
9c5b6fd
Merge pull request #78 from ModelOriented/dev-ale
mikolajsp Aug 1, 2023
a0fa1f3
remove unused event times and statuses
krzyzinskim Aug 1, 2023
34b08ef
add plot model_profile_2d
krzyzinskim Aug 1, 2023
2dbff6f
add new methods
krzyzinskim Aug 1, 2023
f91cb28
add ale 2d working version
krzyzinskim Aug 2, 2023
a3c3275
Add ALE plot tests
mikolajsp Aug 3, 2023
0fea81f
Fix missing brace
mikolajsp Aug 3, 2023
2fe9151
Fix plot2 for ALE.
mikolajsp Aug 3, 2023
e2738c9
add 2d ale for num+num
krzyzinskim Aug 3, 2023
fd89941
add ale 2d plotting
krzyzinskim Aug 3, 2023
83b82a4
fix condition
krzyzinskim Aug 3, 2023
ec2052f
Add final working tests
mikolajsp Aug 3, 2023
41d055e
fix & add description
krzyzinskim Aug 3, 2023
7cbb351
fix plots
krzyzinskim Aug 3, 2023
889248c
add docs
krzyzinskim Aug 3, 2023
1e45399
add tests
krzyzinskim Aug 3, 2023
4bd38cc
Merge branch 'dev-pdp' into dev-profiles-2d
krzyzinskim Aug 3, 2023
81cb98e
Merge pull request #79 from ModelOriented/dev-profiles-2d
krzyzinskim Aug 3, 2023
193ea0a
remove unnecessary docs
krzyzinskim Aug 3, 2023
87f820f
update documentation
krzyzinskim Aug 3, 2023
2b4d403
add variable_splits_type to docs
krzyzinskim Aug 3, 2023
3c61103
fix variable handling
krzyzinskim Aug 3, 2023
9021c8c
add missing import
krzyzinskim Aug 3, 2023
1f53f37
add missing import & remove ... parameters
krzyzinskim Aug 3, 2023
894d97a
remove ... parameters
krzyzinskim Aug 3, 2023
59b6749
edit tests
krzyzinskim Aug 3, 2023
8b60798
add test for rms::cph model
krzyzinskim Aug 3, 2023
b5518b6
Merge pull request #80 from ModelOriented/dev-test-coverage
krzyzinskim Aug 3, 2023
30ca564
add test for exact_kernel calculation method
krzyzinskim Aug 3, 2023
cb02f16
Fix ale plots and uncomment tests
mikolajsp Aug 3, 2023
9acae83
Merge branch 'dev-pdp' of https://github.com/ModelOriented/survex int…
mikolajsp Aug 3, 2023
deaad20
change times in test
krzyzinskim Aug 4, 2023
693f745
Fix colors in plots
mikolajsp Aug 4, 2023
9015d45
remove variable_type from tests (unused)
krzyzinskim Aug 4, 2023
ca9b6df
fix factorizing not factor variables
krzyzinskim Aug 4, 2023
d0ed5a1
Fix dodge on categorical pdp plots
mikolajsp Aug 4, 2023
57c3069
Fix verbose explainer output in test
mikolajsp Aug 4, 2023
0460040
Merge branch 'dev-pdp' of https://github.com/ModelOriented/survex int…
mikolajsp Aug 4, 2023
c7d34af
add cp_profiles for ale
krzyzinskim Aug 4, 2023
41cc684
fix rug jitter
krzyzinskim Aug 4, 2023
bfe7de3
remove repeated test of explainer
krzyzinskim Aug 4, 2023
ed9efad
increase test coverage
mikolajsp Aug 4, 2023
4818e8c
Merge branch 'dev-pdp' of https://github.com/ModelOriented/survex int…
mikolajsp Aug 4, 2023
33f7e94
add rms to suggests
krzyzinskim Aug 4, 2023
fbd49e2
remove plot.feature_importance_explainer
krzyzinskim Aug 4, 2023
b29a582
add print for model_profile_2d
krzyzinskim Aug 4, 2023
9dae4f2
fix tests
krzyzinskim Aug 4, 2023
1ad67cf
Merge branch 'dev-pdp' of https://github.com/ModelOriented/survex int…
krzyzinskim Aug 4, 2023
636d450
Improve test coverage
mikolajsp Aug 4, 2023
17a1c80
Merge branch 'dev-pdp' of https://github.com/ModelOriented/survex int…
mikolajsp Aug 4, 2023
73521ab
Merge branch 'dev-pdp' into dev-global-survshap
krzyzinskim Aug 4, 2023
5e1a514
Merge pull request #81 from ModelOriented/dev-global-survshap
krzyzinskim Aug 4, 2023
e1c62ff
fix order in namespace
krzyzinskim Aug 4, 2023
95a302e
add description for plot aggregated survshap
krzyzinskim Aug 4, 2023
33ff6d5
fix description, remove quotation marks
krzyzinskim Aug 4, 2023
9cc0581
change dataset for testing
krzyzinskim Aug 4, 2023
da559c3
fix when too few colors in provided vector
krzyzinskim Aug 4, 2023
1c7d84b
new reference structure
krzyzinskim Aug 4, 2023
ac94064
bump version
krzyzinskim Aug 4, 2023
aa581d4
Increase test coverage
mikolajsp Aug 4, 2023
42aa8ab
Add better subtitle for single time
mikolajsp Aug 4, 2023
68ee0e6
Fix test
mikolajsp Aug 4, 2023
2cb9a59
change example to show ale
krzyzinskim Aug 4, 2023
60fb27c
fix example and binding results for different types of variables
krzyzinskim Aug 4, 2023
4f6174e
add description and warnings for marginalization and times
krzyzinskim Aug 4, 2023
04421c9
add warning
krzyzinskim Aug 4, 2023
9623fcb
update man
krzyzinskim Aug 4, 2023
795e5ae
Merge branch 'dev-pdp' of https://github.com/ModelOriented/survex int…
krzyzinskim Aug 4, 2023
8a1ae80
fix timepoints in example
krzyzinskim Aug 4, 2023
a79ea0f
move subtitle creation
krzyzinskim Aug 4, 2023
fd3287b
add missing params
krzyzinskim Aug 4, 2023
662763a
update tests for handling warnings
krzyzinskim Aug 4, 2023
a01f2e1
Add info to vignette
mikolajsp Aug 7, 2023
099a374
Merge branch 'dev-pdp' of https://github.com/ModelOriented/survex int…
mikolajsp Aug 7, 2023
96365f6
Update NEWS.md
mikolajsp Aug 7, 2023
ec653fd
Update and add new vignettes
mikolajsp Aug 7, 2023
5d3b365
Add knitr version dependency to avoid vignette problems while running…
mikolajsp Aug 7, 2023
dda77fb
Fix broken version of knitr
mikolajsp Aug 7, 2023
f545615
Add list of functionlaities and roadmap to readme
mikolajsp Aug 7, 2023
236aacf
Add predict to readme
mikolajsp Aug 7, 2023
705cae2
Change `plot2` to plot(..., `geom = "variable"`)
mikolajsp Aug 10, 2023
d19fdd8
Fix failing pkgdown build
mikolajsp Aug 10, 2023
87583d3
Fix `&` ->` &&`
mikolajsp Aug 11, 2023
96b3f3f
Remove unnecessary `requireNamespace()` calls.
mikolajsp Aug 11, 2023
d5fd329
change sample for `model_survshap`
krzyzinskim Aug 11, 2023
57eff0e
fix jitter height in swarm plot
krzyzinskim Aug 11, 2023
dc11395
fix too long lines in example
krzyzinskim Aug 11, 2023
1a033fd
Change progressr to steps
mikolajsp Aug 11, 2023
fd7e042
Update vignettes/pdp.Rmd
krzyzinskim Aug 17, 2023
02023e3
remove commented print
krzyzinskim Aug 17, 2023
660141b
fix titles for model_profile plots
krzyzinskim Aug 17, 2023
f02fc01
add character variables as categorical ones
krzyzinskim Aug 17, 2023
d634f2a
fix survival function predictions from censored
krzyzinskim Aug 17, 2023
b1a7b20
fix centering for model_profile
krzyzinskim Aug 17, 2023
cc5cc08
centering for ceteris paribus
krzyzinskim Aug 17, 2023
9213447
improve contour plots and labs
krzyzinskim Aug 18, 2023
c448622
change error messages
krzyzinskim Aug 18, 2023
48b547f
add import from graphics
krzyzinskim Aug 18, 2023
9ec52f6
fix centering 2D model profiles
krzyzinskim Aug 18, 2023
562d7e3
change default value of center to FALSE
krzyzinskim Aug 18, 2023
3e9e09c
add x axis labels
krzyzinskim Aug 18, 2023
2333c7b
add new engine from censored
krzyzinskim Aug 18, 2023
9179733
fix condition for error
krzyzinskim Aug 18, 2023
f4b574e
add tests for centered profiles
krzyzinskim Aug 18, 2023
bd9ed5a
fix model_survshap naming convention
krzyzinskim Aug 18, 2023
2a7b369
add extract predict survshap
krzyzinskim Aug 18, 2023
678f986
fix
krzyzinskim Aug 18, 2023
01c8d3b
fix typo
krzyzinskim Aug 18, 2023
7df2696
kind -> geom
krzyzinskim Aug 18, 2023
1e65823
fix references
krzyzinskim Aug 18, 2023
8412e67
change type of color scale for time when geom = "variable"
krzyzinskim Aug 21, 2023
8dcab85
Reformat code and examples with the `styler` package
mikolajsp Aug 22, 2023
746d9bd
Request censored version (>=0.2.0) because of changed argument in pre…
mikolajsp Aug 22, 2023
0ef8426
Increase test coverage
mikolajsp Aug 22, 2023
2c13957
fix plot for survlime
krzyzinskim Aug 22, 2023
69f4d1e
Merge branch 'dev-pdp' of https://github.com/ModelOriented/survex int…
krzyzinskim Aug 22, 2023
b3b466b
fix model_survshap plots
krzyzinskim Aug 23, 2023
0b1790d
change wording to be consistent
krzyzinskim Aug 23, 2023
3a2ff24
move plotting cp to plot_predict_profile_survival, add plot with `geo…
krzyzinskim Aug 23, 2023
21e00dc
fix typos, reorder parameters to be consistent with predict
krzyzinskim Aug 23, 2023
3233280
remove redundant method
krzyzinskim Aug 23, 2023
bcc670a
add warnings
krzyzinskim Aug 23, 2023
4d50c73
timepoints -> time points
krzyzinskim Aug 23, 2023
48e0e86
fix pkgdown reference
krzyzinskim Aug 23, 2023
81be892
add missing description
krzyzinskim Aug 23, 2023
fb1f0ea
update tests
krzyzinskim Aug 23, 2023
10221ca
add tests
krzyzinskim Aug 23, 2023
190cc43
fix errors
krzyzinskim Aug 23, 2023
5155d1f
add explainer for scikit-survival models
krzyzinskim Aug 23, 2023
c4528f0
check if class was not added before
krzyzinskim Aug 23, 2023
1dbfa18
add model_diagnostics (work in progress)
krzyzinskim Aug 23, 2023
d7915b9
remove Cox-Snell residuals modification
krzyzinskim Aug 24, 2023
c36a422
add final diagnostic plots
krzyzinskim Aug 24, 2023
dcedaca
add print
krzyzinskim Aug 24, 2023
a95ba7a
add example
krzyzinskim Aug 24, 2023
5875f66
fix plot code
krzyzinskim Aug 24, 2023
2fe5eb4
add print
krzyzinskim Aug 24, 2023
33b21da
fix subtitles (singular/plurar)
krzyzinskim Aug 24, 2023
26c893b
add switch
krzyzinskim Aug 24, 2023
24d9641
add docs
krzyzinskim Aug 24, 2023
f6f8893
remove switch for output_type - only one supported
krzyzinskim Aug 24, 2023
b89958f
fix param name
krzyzinskim Aug 24, 2023
4e7ae04
add tests for model_diagnostics
krzyzinskim Aug 24, 2023
b963d81
remove unused arguments
krzyzinskim Aug 24, 2023
fe43104
fix tests
krzyzinskim Aug 24, 2023
91ad9d4
add explainer for flexsurv
krzyzinskim Aug 24, 2023
eab221f
add flexsruv to suggests
krzyzinskim Aug 24, 2023
529624e
add simple test for explainer
krzyzinskim Aug 24, 2023
d0d5a61
fix typo
krzyzinskim Aug 24, 2023
e042a2e
add tests
krzyzinskim Aug 24, 2023
de8a334
add new times generation method with the median survial time
krzyzinskim Aug 24, 2023
1eaab03
fixes for new times generation method
krzyzinskim Aug 24, 2023
1e81215
fix line length in examples
krzyzinskim Aug 24, 2023
87cff5d
fix new times generation method
krzyzinskim Aug 24, 2023
a8d3ab5
remove typo
krzyzinskim Aug 24, 2023
a732489
improve description of new method
krzyzinskim Aug 24, 2023
26a0506
add model_diagnostics to `NEWS.md`
krzyzinskim Aug 28, 2023
2728dbb
add new model_survshap plots
krzyzinskim Aug 28, 2023
ff54a7d
add new times generation method to `NEWS.md`
krzyzinskim Aug 28, 2023
1cda296
Add explanations for `output_type='chf'`
mikolajsp Aug 29, 2023
38f0b79
fix titles when NULL
krzyzinskim Aug 29, 2023
352094e
fix colors for diagnostic plots
krzyzinskim Aug 29, 2023
d9e2af0
Merge pull request #84 from ModelOriented/dev-2
mikolajsp Aug 29, 2023
6f6f573
Fix pkgdown action
mikolajsp Aug 29, 2023
482c3a1
Fix documentation mismatches
mikolajsp Aug 29, 2023
78bcb93
fix plot when there are no outliers
krzyzinskim Aug 29, 2023
eef3583
fix profile plots with `geom="variable"` for categorical variables
krzyzinskim Aug 29, 2023
e28fb27
fix check warnings (context in plots)
krzyzinskim Aug 29, 2023
2bc6215
bump version
krzyzinskim Aug 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
needs: coverage

- name: Test coverage
run: covr::codecov(quiet = FALSE, function_exclusions=c("surv_model_info\\.", "explain.LearnerSurv", "loss_adapt_mlr3proba"))
run: covr::codecov(quiet = FALSE, function_exclusions=c("surv_model_info\\.", "explain.LearnerSurv", "loss_adapt_mlr3proba", "explain.sksurv"))
shell: Rscript {0}
14 changes: 9 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Package: survex
Title: Explainable Machine Learning in Survival Analysis
Version: 1.0.0.9000
Version: 1.1.0
Authors@R:
c(
person("Mikołaj", "Spytek", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-7111-2286")),
person("Mateusz", "Krzyziński", role = c("aut"), comment = c(ORCID = "0000-0001-6143-488X")),
person("Sophie", "Langbein", role = c("aut")),
person("Hubert", "Baniecki", role = c("aut"), comment = c(ORCID = "0000-0001-6661-5364")),
person("Przemyslaw", "Biecek", role = c("aut"), comment = c(ORCID = "0000-0001-8423-1823"))
)
Expand All @@ -18,29 +19,32 @@ Description: Survival analysis models are commonly used in medicine and other ar
License: GPL (>= 3)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1
RoxygenNote: 7.2.3
Depends: R (>= 3.5.0)
Imports:
DALEX (>= 2.2.1),
ggplot2,
ggplot2 (>= 3.4.0),
kernelshap,
pec,
survival,
patchwork
Suggests:
censored,
censored (>= 0.2.0),
covr,
flexsurv,
gbm,
generics,
glmnet,
ingredients,
knitr,
knitr (>= 1.42),
mboost,
parsnip,
progressr,
randomForestSRC,
ranger,
reticulate,
rmarkdown,
rms,
testthat (>= 3.0.0),
withr,
xgboost
Expand Down
25 changes: 23 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,28 @@
S3method(explain,LearnerSurv)
S3method(explain,coxph)
S3method(explain,default)
S3method(explain,flexsurvreg)
S3method(explain,model_fit)
S3method(explain,ranger)
S3method(explain,rfsrc)
S3method(explain,sksurv)
S3method(model_diagnostics,surv_explainer)
S3method(model_parts,default)
S3method(model_parts,surv_explainer)
S3method(model_performance,default)
S3method(model_performance,surv_explainer)
S3method(model_profile,default)
S3method(model_profile,surv_explainer)
S3method(plot,feature_importance_explainer)
S3method(model_profile_2d,surv_explainer)
S3method(model_survshap,surv_explainer)
S3method(plot,aggregated_surv_shap)
S3method(plot,model_diagnostics_survival)
S3method(plot,model_parts_survival)
S3method(plot,model_performance_survival)
S3method(plot,model_profile_2d_survival)
S3method(plot,model_profile_survival)
S3method(plot,predict_parts_survival)
S3method(plot,predict_profile_survival)
S3method(plot,surv_ceteris_paribus)
S3method(plot,surv_feature_importance)
S3method(plot,surv_lime)
S3method(plot,surv_model_performance)
Expand All @@ -29,6 +35,8 @@ S3method(predict_parts,default)
S3method(predict_parts,surv_explainer)
S3method(predict_profile,default)
S3method(predict_profile,surv_explainer)
S3method(print,model_diagnostics_survival)
S3method(print,model_profile_2d_survival)
S3method(print,model_profile_survival)
S3method(print,surv_ceteris_paribus)
S3method(print,surv_feature_importance)
Expand All @@ -38,15 +46,18 @@ S3method(surv_model_info,LearnerSurv)
S3method(surv_model_info,coxph)
S3method(surv_model_info,cph)
S3method(surv_model_info,default)
S3method(surv_model_info,flexsurvreg)
S3method(surv_model_info,model_fit)
S3method(surv_model_info,ranger)
S3method(surv_model_info,rfsrc)
S3method(surv_model_info,sksurv)
export(brier_score)
export(c_index)
export(cd_auc)
export(cumulative_hazard_to_survival)
export(explain)
export(explain_survival)
export(extract_predict_survshap)
export(integrated_brier_score)
export(integrated_cd_auc)
export(loss_adapt_mlr3proba)
Expand All @@ -56,9 +67,12 @@ export(loss_integrated_brier_score)
export(loss_one_minus_c_index)
export(loss_one_minus_cd_auc)
export(loss_one_minus_integrated_cd_auc)
export(model_diagnostics)
export(model_parts)
export(model_performance)
export(model_profile)
export(model_profile_2d)
export(model_survshap)
export(predict_parts)
export(predict_profile)
export(risk_from_chf)
Expand All @@ -76,18 +90,25 @@ importFrom(DALEX,theme_drwhy)
importFrom(DALEX,theme_drwhy_vertical)
importFrom(DALEX,theme_ema)
importFrom(DALEX,theme_ema_vertical)
importFrom(graphics,par)
importFrom(stats,aggregate)
importFrom(stats,as.formula)
importFrom(stats,ave)
importFrom(stats,cmdscale)
importFrom(stats,ecdf)
importFrom(stats,median)
importFrom(stats,model.frame)
importFrom(stats,model.matrix)
importFrom(stats,na.omit)
importFrom(stats,optim)
importFrom(stats,predict)
importFrom(stats,qnorm)
importFrom(stats,quantile)
importFrom(stats,reorder)
importFrom(stats,reshape)
importFrom(stats,rnorm)
importFrom(stats,stepfun)
importFrom(stats,xtabs)
importFrom(utils,head)
importFrom(utils,stack)
importFrom(utils,tail)
12 changes: 11 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# survex (development)

* Fix not being able to plot or print SurvLIME results for the cph model sometimes. ([#72](https://github.com/ModelOriented/survex/issues/72))
* fixed not being able to plot or print SurvLIME results for the cph model sometimes. ([#72](https://github.com/ModelOriented/survex/issues/72))
* added global explanations via the SurvSHAP(t) method (see `model_survshap()` function)
* added plots for global SurvSHAP(t) explanations (see `plot.aggregated_surv_shap()`)
* added Accumulated Local Effects (ALE) explanations (see `model_profile(..., type = "accumulated")`)
* added 2-dimensional PDP and ALE plots (see `model_profile_2d()` function)
* added `plot2()` function for plotting PDP and ALE explanations without the time dimension
* added diagnostic explanations - residual analysis (see `model_diagnostics()` function)
* added new times generation method `"survival_quantiles"` and setting it as default (see `explain()`)
* made improvements on the vignettes for the package (see `vignette("pdp")` and `vignette("global-survshap")`)
* increased the test coverage of the package
* reduced the number of expensive `requireNamespace()` calls ([#83](https://github.com/ModelOriented/survex/issues/83))

# survex 1.0.0

Expand Down
Loading
Loading