Skip to contents

Sample one iteration of the leaf parameter variance model (only for univariate basis and constant leaf!)

Usage

sample_tau_one_iteration(forest, rng, a, b)

Arguments

forest

C++ forest

rng

C++ random number generator

a

Leaf variance shape parameter

b

Leaf variance scale parameter