google / google/meridian

IndependentMultiVariateDistribution and serializing models

Open
#1,623 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.5k
Forks
294
Avg merge
1d 21h
Merged PRs (30d)
47

Description

When using IndependentMultivariateDistribution for the roi priors, I am getting and error when trying to save the model usingthe serialisation rather than pickle. The save as .binpb works fine when I use the same distribution type (i.e. LogNormal) for all priors. I can save it as a pickle without any issue. (These screen shots are from a modified Colab for Meridian Getting started). Am I building the priors ok as the model builds ok and using the priors.

Image

Image

Contributor guide

Open the contributing guide

Research direction

The report names no source file or test; begin by reproducing the failure in the modified Meridian Getting Started Colab with mixed IndependentMultivariateDistribution priors. Compare serialization to .binpb with the working same-distribution case and pickle case. Done means the mixed-prior model saves successfully through the documented serialization path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.