I have `N` observations with binary outcomes `y_i` and predictor vectors `x_i`, for `i = 1, ..., N`. I want to fit a logistic Bayesian additive regression tree model.

My model is:
`y_i ~ Bernoulli(p_i), for i = 1, ..., N,`
`p_i = logit^{-1}(f(x_i)), for i = 1, ..., N.`

The latent regression function `f` is fit with logistic BART under the standard sum-of-trees prior.

Here:
`y_i` is the observed binary outcome for observation i,
`x_i` is the predictor vector for observation i,
`p_i` is the success probability for observation i,
`logit^{-1}(u) = 1 / (1 + exp(-u))` is the inverse-logit function,
`f(x_i)` is the latent regression function at predictor value `x_i`,
`f` is represented as a sum of weak regression trees under the generalized BART tree prior.


