JuBiotech/calibr8: v6.2.0
Description
This release is a major, but backwards-compatible refactoring that makes calibr8 models more compatible with respect to independent variable dimensionality, and all kinds of continuous or discrete dependent variable distributions.
Calibration models should now inherit from ContinuousUnivariateModel or ContinuousMultivariateModel and a "noise model" that inherits from DistributionMixin.
Further reading: https://calibr8.readthedocs.io/en/latest/calibr8_inheritance.html
For example:
class MyModel(calibr8.ContinuousUnivariateModel, calibr8.NormalNoise):
...
Changes in this version
- Class inheritance was changed & noise model mixins were added, enabling more generalization (also see https://github.com/JuBiotech/calibr8/pull/12)
- On assignment of
CalibrationModel.theta_fittedthe length of the vector is validated (see https://github.com/JuBiotech/calibr8/pull/17). calibr8.HAS_PYMCandfrom calibr8.utils import pmcan be used to condition on the installation of PyMC versions 3 or 4.- New property
CalibrationModel.ndimwas added. NumericPosteriorwas replaced byUnivariateInferenceResultand a corresponding hierarchy of more generalizedInferenceResulttypes.
Files
JuBiotech/calibr8-v6.2.0.zip
Files
(3.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:f2d6df4d81e501393ed76aae1a4f8d2f
|
3.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/JuBiotech/calibr8/tree/v6.2.0 (URL)