bartz.ScoreTarget

class bartz.ScoreTarget(*values)[source]

Quantity scored by Bart.score, of which truth is the true value.

outcome = 'outcome'[source]

The outcome, with its posterior predictive distribution, the distribution of PredictKind.outcome_samples. On binary components, truth is cast to boolean like y_train.

mean = 'mean'[source]

The conditional mean of the outcome, which is the probability of 1 on binary components, with the distribution of the samples PredictKind.mean_samples defined in ScoreKind.

latent = 'latent'[source]

The latent sum of trees, with the distribution of the samples PredictKind.latent_samples defined in ScoreKind.