pymc-labs / pymc-labs/CausalPy

Add functionality to save/load

Open
#405 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
1.2k
Forks
115
Avg merge
6d 1h
Merged PRs (30d)
11

Description

The pymc-experimental repo contains a ModelBuilder class which can help in productionized / deployment situations because of the save/load functionality.

It would be nice to bring this functionality in to CausalPy.

We should also add a general how-to docs page to illustrate its use.

I don't think we should inherit from the ModelBuilder in pymc-experimental. The functionality is relatively simple, so we could just add it to the PyMCModel class.

We would obviously want to add tests for this new functionality.

Very open to hearing from people using CausalPy in production on whether this would help in a production setting.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked ModelBuilder documentation and the PyMCModel entry point to understand the existing save/load behavior and decide what CausalPy should support. Add tests for the chosen behavior and a general how-to documentation page demonstrating its use; done means both are included and the tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.