Skip to content

Commit 61e45c5

Browse files
committed
add reference structure
1 parent ae9c4e4 commit 61e45c5

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

_pkgdown.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,76 @@ url: https://bips-hb.github.io/Survinng/
22
template:
33
bootstrap: 5
44

5+
6+
reference:
7+
- title: Feature attribution methods
8+
desc: >
9+
All implemented feature attribution methods for the survival neural
10+
networks 'DeepHit', 'DeepSurv', and 'CoxTime'.
11+
contents:
12+
- surv_grad
13+
- surv_grad.explainer_coxtime
14+
- surv_grad.explainer_deepsurv
15+
- surv_grad.explainer_deephit
16+
- surv_smoothgrad
17+
- surv_smoothgrad.explainer_coxtime
18+
- surv_smoothgrad.explainer_deepsurv
19+
- surv_smoothgrad.explainer_deephit
20+
- surv_intgrad
21+
- surv_intgrad.explainer_coxtime
22+
- surv_intgrad.explainer_deepsurv
23+
- surv_intgrad.explainer_deephit
24+
- surv_gradSHAP
25+
- surv_gradSHAP.explainer_coxtime
26+
- surv_gradSHAP.explainer_deepsurv
27+
- surv_gradSHAP.explainer_deephit
28+
29+
- title: Creating explainer object
30+
desc: >
31+
The basic building block of the package is the 'explainer' object which
32+
contains the model and the data needed for the feature attribution methods.
33+
contents:
34+
- explain
35+
- explain.nn_module
36+
- explain.extracted_survivalmodels_coxtime
37+
- explain.extracted_survivalmodels_deepsurv
38+
- explain.extracted_survivalmodels_deephit
39+
40+
- title: Extracting a model from `survivalmodels`
41+
desc: >
42+
The 'extract_model' function extracts the model from the
43+
'survivalmodels' object and returns all necessary information for the
44+
survival model to be explained.
45+
contents:
46+
- extract_model
47+
- extract_model.coxtime
48+
- extract_model.deepsurv
49+
- extract_model.deephit
50+
51+
- title: Plotting and printing
52+
desc: >
53+
The 'plot' function is used to plot the feature attribution results in
54+
different ways. The 'plot' function is a generic function that calls the
55+
appropriate method depending on the argument 'type'. The 'print' function
56+
is used to print extracted model, explainers, and feature attribution results..
57+
contents:
58+
- plot.surv_result
59+
- plot_pred
60+
- plot_attr
61+
- plot_contr
62+
- plot_force
63+
- print.surv_result
64+
- print.explainer_coxtime
65+
- print.explainer_deepsurv
66+
- print.explainer_deephit
67+
- print.extracted_survivalmodels_coxtime
68+
- print.extracted_survivalmodels_deepsurv
69+
- print.extracted_survivalmodels_deephit
70+
71+
- title: Data transformation
72+
desc: >
73+
These functions are used to transform the data into a data.frame or a
74+
data.table format.
75+
contents:
76+
- as.data.frame.surv_result
77+
- as.data.table.surv_result

0 commit comments

Comments
 (0)