gpbart | R Documentation |
GP-BART is an extension to to the Bayesian Additive Regression Trees (BART)
gpbart(
x_train,
y,
x_test,
n_tree = 20,
node_min_size = 2,
n_mcmc = 3500,
n_burn = 1500,
alpha = 0.95,
beta = 2,
df = 3,
sigquant = 0.9,
kappa = 2,
tau = 100,
scale_bool = TRUE,
nu = 1,
rand_tau_init = TRUE,
verbose = TRUE
)
x_train |
Set of explanatory variables of the training data. It must be a |
y |
Response variable for the training data |
x_test |
Set of explanatory variables of the test data. It must be a |
n_tree |
Number of Trees used in the GP-BART model. |
node_min_size |
Node minimum size of observations within a terminal node |
n_mcmc |
The number of MCMC iterations |
n_burn |
The number of MCMC iterations to be trated as burn in |
alpha |
Base parameter for the tree prior |
beta |
Power parameter for the tree prior |
df |
Degrees of freedom for the residual precision prior |
sigquant |
The quantile of the residual precision prior; |
kappa |
The number of prior standard deviations away from the from the range of the response. |
tau |
Initial value for the residual precision |
scale_bool |
A Boolean to choose if will be scaled or not. |
nu |
Value for the GP precision. The default value is |
rand_tau_init |
A Boolean to let the initial value be initialised or not. The default is |
verbose |
Verbosity flag for printing progress. The default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.