google / google/meridian

[Feature Request] Verbose mode option for longer running operations

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

Description

Currently, long-running operations such as sample posterior (mmm.sample_posterior()) and budget optimizing (budget_optimizer.optimize()) can take a significant amount of time. An option to have some visibility in the progress would be highly beneficial, especially in the testing phases to better adjust development expectations, parameters, and infrastructure that we run on.

Proposed solution: A parameter to turn on verbose mode with iteration progress or completion percentage checkpoint prints to provide regular updates for longer-running operations.

Contributor guide

Open the contributing guide

Research direction

Start at the mmm.sample_posterior() and budget_optimizer.optimize() entry points and identify how their long-running work can report progress. Done means users can enable a verbose option and receive regular iteration or completion updates for both operations, with coverage for the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.