monotone_bart_function | R Documentation |
Implements bart with a monotonicity constraint, i.e. $b_1(x)> b_0(x)$ However, the monbart package does that natively so this is deprecated It is still here if anyone wants to see the source code
y |
observed outputs |
z |
1 if y==0, 0 o.w. |
x |
Dataframe of covariates |
xpred |
Dataframe of covariates we predict on (the test set) |
nskip |
Number of burn in draws |
ndpost |
Number of posterior draws we keep |
m |
Number of trees |
monotone_bart_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.