prophys.export#
Standardized export of a compiled model, with provenance.
ModelPackage is the interchange format (see
prophys.export.model_package), and RunManifest is the record
of what produced it (see prophys.export.manifest).
Classes
Versioned export of a compiled model's distributions as JSON, with provenance. |
|
The exported marginal distribution of one model attribute. |
|
Provenance record of an exported result: versions, model structure, parameters and settings. |
Functions
Export a compiled model's attribute distributions as a |
|
Build the provenance record ( |
|
Rebuild a |
|
Compute a stable SHA-256 digest of a probability model's structure. |
|
Describe the model structure that |
|
Check that a compiled model is the one a manifest was produced from. |
|
Recompile a model with the settings a manifest records, after checking its structure. |
Exceptions
Raised when a model does not match the run manifest it is checked against. |
Constants and objects
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
Build an immutable unordered collection of unique elements. |
|
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |