R package citation, R package reverse dependencies, R package scholars, install an r package from GitHub hy is package acceptance pending why is package undeliverable amazon why is package on hold dhl tour packages why in r package r and r package full form why is r free why r is bad which r package to install which r package has which r package which r package version which r package readxl which r package ggplot which r package fread which r package license where is package.json where is package-lock.json where is package.swift where is package explorer in eclipse where is package where is package manager unity where is package installer android where is package manager console in visual studio who r package which r package to install which r package version who is package who is package deal who is package design r and r package full form r and r package meaning what r package has what package r what is package in java what is package what is package-lock.json what is package in python what is package.json what is package installer do r package can't install r packages r can't find package r can't load package can't load xlsx package r can't install psych package r can't install sf package r Write if else in NONMEM pk pd
shapley
View on CRAN: Click
here
Download and install shapley package within the R console
Install from CRAN:
install.packages("shapley")
Install from Github:
library("remotes")
install_github("cran/shapley") Install by package version:
library("remotes")
install_version("shapley", "0.5.1") Attach the package and use:
library("shapley")
Maintained by
E. F. Haghish
[Scholar Profile | Author Map]
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-11-07
Latest Update: 2025-03-18
Description:
This R package introduces an innovative method for calculating SHapley Additive exPlanations (SHAP) values
for a grid of fine-tuned base-learner machine learning models as well as stacked ensembles, a method not
previously available due to the common reliance on single best-performing models. By integrating the weighted
mean SHAP values from individual base-learners comprising the ensemble or individual base-learners in a tuning grid search,
the package weights SHAP contributions according to each model's performance, assessed by the Area Under the
Precision-Recall Curve (AUCPR) for binary classifiers (currently implemented). It further extends this framework to
implement weighted confidence intervals for weighted mean SHAP values, offering a more comprehensive and robust
feature importance evaluation over a grid of machine learning models, instead of solely computing SHAP values for
the best-performing model. This methodology is particularly beneficial for addressing the severe class imbalance
(class rarity) problem by providing a transparent, generalized measure of feature importance that mitigates the
risk of reporting SHAP values for an overfitted or biased model and maintains robustness under severe class imbalance,
where there is no universal criteria of identifying the absolute best model. Furthermore, the package implements
hypothesis testing to ascertain the statistical significance of SHAP values for individual features, as well as
comparative significance testing of SHAP contributions between features. Additionally, it tackles a critical
gap in feature selection literature by presenting criteria for the automatic feature selection of the most important
features across a grid of models or stacked ensembles, eliminating the need for arbitrary determination of the
number of top features to be extracted. This utility is invaluable for researchers analyzing feature significance,
particularly within severely imbalanced outcomes where conventional methods fall short. In addition, it is also
expected to report democratic feature importance across a grid of models, resulting in a more comprehensive and
generalizable feature selection. The package further implements a novel method for visualizing SHAP values both
at subject level and feature level as well as a plot for feature selection based on the weighted mean SHAP ratios.
How to cite:
E. F. Haghish (2023). shapley: Weighted Mean SHAP and CI for Robust Feature Assessment in ML Grid. R package version 0.5.1, https://cran.r-project.org/web/packages/shapley. Accessed 05 Mar. 2026.
Previous versions and publish date:
Other packages that cited shapley R package
View shapley citation profile
Other R packages that shapley depends,
imports, suggests or enhances
Complete documentation for shapley
Functions, R codes and Examples using
the shapley R package
Some associated functions: h2o.get_ids . normalize . shapley . shapley.plot . shapley.test . shapley.top . test .
Some associated R codes: h2o.get_ids.R . normalize.R . shapley.R . shapley.plot.R . shapley.test.R . shapley.top.R . test.R . Full shapley package functions and examples
Downloads during the last 30 days
Today's Hot Picks in Authors and Packages
pinp
A 'PNAS'-alike style for 'rmarkdown', derived from the
'Proceedings of the National Academy of Scie ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Dirk Eddelbuettel (view profile)
nextGenShinyApps
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Obinna Obianom (view profile)
diffIRT
Package to fit diffusion-based IRT models to response and
response time data. Models are fit using ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Dylan Molenaar (view profile)
ClimClass
Classification of climate according to Koeppen - Geiger, of aridity
indices, of continentality indi ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Emanuele Eccel (view profile)
neat
Includes functions and examples to compute NEAT, the Network
Enrichment Analysis Test described in ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Mirko Signorelli (view profile)
imagefx
Synthesize images into characteristic features for time-series analysis or machine learning applicat ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Alex J.C. Witsil (view profile)
26,264
R Packages
223,360
Dependencies
70,244
Author Associations
26,265
Publication Badges
