Skip to content

1.3.1

Compare
Choose a tag to compare
@rmnldwg rmnldwg released this 31 Jan 13:43
· 5 commits to main since this release
d96189f

What's New

Bug Fixes

  • get_named_params() returns only named params and doesn't raise an error anymore.
  • Add deleter to named_params property.

Change

  • Move named_params stuff from dedicated mixin to types.Model.
  • Raise explicit invalid param name error.
    This ensures that e.g. during sampling, the likelihood does not simply
    return -np.inf because it sees a ValueError.
  • Call set_named_params() in likelihoods.
    This ensures that a model definition is respected during inference and
    also when reloading sampled parameters. In case no named_params are
    provided, this will simply behave as set_params().