SpikeAndSlabPrior.coefficient_mean#

SpikeAndSlabPrior.coefficient_mean(context)[source]#

Zero everywhere: sparsity’s claim is that coefficients are zero.

There is no persistence hyperparameter here on purpose. Centering a selection prior away from zero would change what an exclusion means, so a caller who wants random-walk centering should difference the data or use the Minnesota family instead.

Parameters:

context (_PriorContext) – What the prior needs to know about the sample.

Return type:

NDArray[double]

Returns:

A (width, k) array of zeros.