bartz.stochtree.OutcomeModel

class bartz.stochtree.OutcomeModel(outcome='continuous', link=None)[source]

Outcome model specification, matching stochtree.OutcomeModel.

Only ('continuous', 'identity') and ('binary', 'probit') are supported.

outcome: Literal['continuous', 'binary'] = 'continuous'

Outcome family.

Link function. If None, defaults to 'identity' for 'continuous' and 'probit' for 'binary'.