<?xml version="1.0" encoding="UTF-8"?>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:title>Visualization of BART and BARP using SHAP</dc:title>
  <dc:title>R package bartXViz version 1.0.11</dc:title>
  <dc:description>Complex machine learning models are often difficult to interpret. Shapley values serve as a powerful tool to understand and explain why a model makes a particular prediction. This package computes variable contributions using permutation-based Shapley values for Bayesian Additive Regression Trees (BART) and its extension with Post-Stratification (BARP). The permutation-based SHAP method proposed by Strumbel and Kononenko (2014) &lt;doi:10.1007/s10115-013-0679-x&gt; is grounded in data obtained via MCMC sampling. Similar to the BART model introduced by Chipman, George, and McCulloch (2010) &lt;doi:10.1214/09-AOAS285&gt;, this package leverages Bayesian posterior samples generated during model estimation, allowing variable contributions to be computed without requiring additional sampling. The BART model is designed to work with the following R packages: 'BART' &lt;doi:10.18637/jss.v097.i01&gt;, 'bartMachine' &lt;doi:10.18637/jss.v070.i04&gt;, and 'dbarts' &lt;https://CRAN.R-project.org/package=dbarts&gt;. For XGBoost and baseline adjustments, the approach by Lundberg et al. (2020) &lt;doi:10.1038/s42256-019-0138-9&gt; is also considered. The BARP model proposed by Bisbee (2019) &lt;doi:10.1017/S0003055419000480&gt; was implemented with reference to &lt;https://github.com/jbisbee1/BARP&gt; and is designed to work with modified functions based on that implementation. BARP extends post-stratification by computing variable contributions within each stratum defined by stratifying variables. The resulting Shapley values are visualized through both global and local explanation methods.</dc:description>
  <dc:type>Software</dc:type>
  <dc:relation>Depends: R (&gt;= 3.5.0), SuperLearner</dc:relation>
  <dc:relation>Imports: bartMachine, BART, ggplot2, ggforce, data.table, ggfittext,
ggpubr, foreach, gggenes, Rcpp, dplyr, tidyr, stringr,abind,
utils,grid,dbarts, forcats, gridExtra,reshape2, missForest</dc:relation>
  <dc:relation>LinkingTo: Rcpp, RcppArmadillo</dc:relation>
  <dc:creator>Dong-eun Lee &lt;ldongeun.leel@gmail.com&gt;</dc:creator>
  <dc:publisher>Comprehensive R Archive Network (CRAN)</dc:publisher>
  <dc:contributor>Dong-eun Lee [aut, cre],
  Eun-Kyung Lee [aut]</dc:contributor>
  <dc:rights>GPL (&gt;= 2)</dc:rights>
  <dc:date>2026-01-26</dc:date>
  <dc:format>application/tgz</dc:format>
  <dc:identifier>https://CRAN.R-project.org/package=bartXViz</dc:identifier>
  <dc:identifier>doi:10.32614/CRAN.package.bartXViz</dc:identifier>
</oai_dc:dc>
