nomogram_shaps {rmlnomogram} | R Documentation |
Nomogram SHAP values using categorical predictors and binary outcome
Description
An example of a data frame for feature_exp
argument in
create_nomogram
function, must only include feature
explainability value per sample (i.e., SHAP value), where one column is
available for each feature.
Usage
nomogram_shaps
Format
A data frame with 16 rows and 4 columns:
- cyl.6
A predictor with SHAP values.
- cyl.8
A predictor with SHAP values.
- qsec.1
A predictor with SHAP values.
- vs.1
A predictor with SHAP values.
Source
Computed by iml from a caret randomforest model using categorical predictors for examples in this package.
[Package rmlnomogram version 0.1.2 Index]