R/RcppExports.R

Defines functions store_complex_root store_complex_v_invc loss_treeshap T2 compute_treeshap T2_ol2d catboost_t0_grouped_fast catboost_qshap_r2_leaf_cached_nogroup catboost_qshap_r2_fast

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

catboost_qshap_r2_fast <- function(X, y, catboost_trees, bias, compute_sd = TRUE) {
    .Call(`_qshap_catboost_qshap_r2_fast`, X, y, catboost_trees, bias, compute_sd)
}

catboost_qshap_r2_leaf_cached_nogroup <- function(X, y, catboost_trees, bias) {
    .Call(`_qshap_catboost_qshap_r2_leaf_cached_nogroup`, X, y, catboost_trees, bias)
}

catboost_t0_grouped_fast <- function(X, catboost_trees) {
    .Call(`_qshap_catboost_t0_grouped_fast`, X, catboost_trees)
}

T2_ol2d <- function(x, tree_summary, store_v_invc, store_z, parallel = FALSE) {
    .Call(`_qshap_T2_ol2d`, x, tree_summary, store_v_invc, store_z, parallel)
}

compute_treeshap <- function(x, children_left, children_right, feature, threshold, value, n_node_samples) {
    .Call(`_qshap_compute_treeshap`, x, children_left, children_right, feature, threshold, value, n_node_samples)
}

T2 <- function(x, tree_summary, store_v_invc, store_z, parallel = TRUE) {
    .Call(`_qshap_T2`, x, tree_summary, store_v_invc, store_z, parallel)
}

loss_treeshap <- function(x, y, tree_summary, store_v_invc, store_z, T0_x, learning_rate = 1.0) {
    .Call(`_qshap_loss_treeshap`, x, y, tree_summary, store_v_invc, store_z, T0_x, learning_rate)
}

store_complex_v_invc <- function(d) {
    .Call(`_qshap_store_complex_v_invc`, d)
}

store_complex_root <- function(d) {
    .Call(`_qshap_store_complex_root`, d)
}

Try the qshap package in your browser

Any scripts or data that you put into this service are public.

qshap documentation built on Aug. 23, 2026, 5:11 p.m.