Skip to content

Commit f61aad5

Browse files
authored
Update surv_shap.R description
1 parent 468a2d3 commit f61aad5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R/surv_shap.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
#' @param output_type a character, either `"survival"` or `"chf"`. Determines which type of prediction should be used for explanations.
66
#' @param ... additional parameters, passed to internal functions
77
#' @param y_true a two element numeric vector or matrix of one row and two columns, the first element being the true observed time and the second the status of the observation, used for plotting
8-
#' @param calculation_method a character, either `"kernelshap"` for use of `kernelshap` library (providing faster Kernel SHAP with refinements), `"exact_kernel"` for exact Kernel SHAP estimation,
9-
#' or `"treeshap"` for use of `treeshap` library (efficient implementation to compute SHAP values for tree-based models).
8+
#' @param calculation_method a character, either `"kernelshap"` for use of `kernelshap` library (providing faster Kernel SHAP with refinements), `"exact_kernel"` for exact Kernel SHAP estimation, or `"treeshap"` for use of `treeshap` library (efficient implementation to compute SHAP values for tree-based models).
109
#' @param aggregation_method a character, either `"integral"`, `"integral_absolute"`, `"mean_absolute"`, `"max_absolute"`, or `"sum_of_squares"`
1110
#'
1211
#' @return A list, containing the calculated SurvSHAP(t) results in the `result` field

0 commit comments

Comments
 (0)