DirichletLaplacePrior.coefficient_variance#

DirichletLaplacePrior.coefficient_variance(context)[source]#

The variance at the initial scales – finite, so shrunk-admissible.

Evaluates _initial_scales() with the unit ratio as the reference and reads the variance those scales imply. It describes where a sampler starts, not what it ends with: an estimator that reads only this hook treats the prior as a fixed Gaussian at its starting scales.

Parameters:

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

Return type:

NDArray[double]

Returns:

A (width, k) array of finite, positive variances.