ratio_grow: Final ratio for a growth step.

View source: R/grow_ratio.R

ratio_growR Documentation

Final ratio for a growth step.

Description

The final ratio is to be used as the acceptance criteria in the MCMC of the hebart model

Usage

ratio_grow(tree, old_tree, current_node, pars, alpha_grow, beta_grow)

Arguments

tree

The current tree

old_tree

The old tree

current_node

The current grown node

pars

The full list of parameters

alpha_grow

The alpha of the growing probability

beta_grow

The beta of the growing probability

Value

The final ratio for the candidate tree

Author(s)

Bruna Wundervald, brunadaviesw@gmail.com.


brunaw/hebart documentation built on June 1, 2022, 8:35 p.m.