nomogram_shaps2 {rmlnomogram} | R Documentation |
Nomogram SHAP values using categorical and 1 numerical 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_shaps2
Format
A data frame with 80 rows and 4 columns:
- cyl.6
A predictor with SHAP values.
- cyl.8
A predictor with SHAP values.
- qsec
A predictor with SHAP values.
- vs.1
A predictor with SHAP values.
Source
Computed by iml from a caret randomforest model using categorical and 1 numerical predictors for examples in this package.
[Package rmlnomogram version 0.1.2 Index]