rbartpackages.BART.PredictBinary

class rbartpackages.BART.PredictBinary[source]

Type of mc_gbart.predict’s return value for binary (‘pbart’/’lbart’) fits.

yhat_test: Float64[ndarray, 'ndpost m']

Posterior latent-function draws at the test points.

prob_test: Float64[ndarray, 'ndpost m']

Success-probability draws (inverse probit/logit transform of yhat_test).

prob_test_mean: Float64[ndarray, 'm']

Posterior mean of prob_test.

binaryOffset: float

Data centering value on the latent scale.