Skip to content

Commit 13952c8

Browse files
ColCarrolltensorflower-gardener
authored andcommitted
Some small fixes for spike and slab Gibbs sampling.
These mainly effect cases with not much data, by addressing how the priors are set: - the prior is set more carefully to account for missing data, - targets for spike and slab samplers are zero'd out where they are missing, - an optional and nonstandard update to the weight posterior precision is added, to support recreating a sampler from the literature. PiperOrigin-RevId: 452351044
1 parent c05c91a commit 13952c8

File tree

6 files changed

+283
-213
lines changed

6 files changed

+283
-213
lines changed

tensorflow_probability/python/experimental/sts_gibbs/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ multi_substrate_py_library(
135135
"//tensorflow_probability/python/distributions:joint_distribution_auto_batched",
136136
"//tensorflow_probability/python/distributions:sample",
137137
"//tensorflow_probability/python/experimental/distributions:mvn_precision_factor_linop",
138+
"//tensorflow_probability/python/internal:broadcast_util",
138139
"//tensorflow_probability/python/internal:parameter_properties",
139140
"//tensorflow_probability/python/internal:prefer_static",
140141
"//tensorflow_probability/python/internal:samplers",

0 commit comments

Comments
 (0)