rbartpackages.bartMachine.Posterior

class rbartpackages.bartMachine.Posterior[source]

Type of bart_machine_get_posterior’s return value.

y_hat: Float64[ndarray, 'm']

Posterior mean of f(x) at each point (probability of the first level for classification).

X: Float64[ndarray, 'm p']

The prediction points after preprocessing (factors expanded to indicators).

y_hat_posterior_samples: Float64[ndarray, 'm num_iterations_after_burn_in']

Posterior draws of f(x), one column per kept MCMC iteration.