core.TunablePrior
core.TunablePrior()A prior whose precision the hyper tuners tune (lk.MarginalLikelihood, say).
lk.laplace checks the rules of tunable before it reads data and raises StructureError when they fail. A prior without tunable has no hyperparameters for the tuners.
Methods
| Name | Description |
|---|---|
| tunable | The hyperparameters to tune, usually the precision. |
tunable
core.TunablePrior.tunable()The hyperparameters to tune, usually the precision.
Returns
| Name | Type | Description |
|---|---|---|
| Tensor | Mapping[str, Tensor] | A tensor or a mapping of tensors. Each must be a leaf of the prior itself (a @pytree), returned as it is, and positive, since the tune works on its log. |