Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLflow autologging #921

Merged
merged 28 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a659829
add basic logging with pm.sample
wd60622 Aug 10, 2024
244a526
ignore the mlruns from mlflow runs
wd60622 Aug 10, 2024
8f07861
add mlflow to the conda env
wd60622 Aug 10, 2024
a2664c1
add version for testing
wd60622 Aug 11, 2024
5ee13a6
tuning as param instead of metrics
wd60622 Aug 11, 2024
53f2dd8
add to ignore
wd60622 Aug 11, 2024
d224b5f
patch MMM.fit
wd60622 Aug 11, 2024
42eac0f
some basic tests
wd60622 Aug 11, 2024
03b735a
no data or observed elements
wd60622 Aug 11, 2024
5aa1138
change with seasonality
wd60622 Aug 11, 2024
937f407
add sampler depends for test
wd60622 Aug 12, 2024
12754be
pull out checks into functions
wd60622 Aug 12, 2024
9e4f28c
add docs and to docs
wd60622 Aug 12, 2024
307e668
remove duplicate fit in docstring
wd60622 Aug 12, 2024
2fb0caf
Merge branch 'main' into mlflow-autologging
wd60622 Aug 12, 2024
bf00eb2
Merge branch 'main' into mlflow-autologging
wd60622 Aug 12, 2024
065edf6
add link to docs. remove earlier fit
wd60622 Aug 12, 2024
dd6562c
install graphviz binaries
wd60622 Aug 12, 2024
5548c7b
use a module fixure for setup and tear down
wd60622 Aug 12, 2024
2d2469e
backwards compat support
wd60622 Aug 12, 2024
d5d7311
Merge branch 'main' into mlflow-autologging
wd60622 Aug 13, 2024
4a3be31
add no cov and change type
wd60622 Aug 13, 2024
2901248
increase test coverage
wd60622 Aug 13, 2024
39b9f9e
log upon errors
wd60622 Aug 13, 2024
e9dd262
test for local file support
wd60622 Aug 13, 2024
3aa6c8f
add pymc_marketing version and warning for experimental functionality
wd60622 Aug 13, 2024
8003ddf
test for marketig version
wd60622 Aug 13, 2024
df13f6e
expose arviz summary kwargs
wd60622 Aug 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
run: pip install pymc==${{ env.OLDEST_PYMC_VERSION }}
- name: Run tests
run: |
sudo apt-get install graphviz
pip install -e .[test]
pytest --cov-report=xml --no-cov-on-fail --durations=50
- name: Check oldest version of PyMC
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# MLflow logging
mlruns/
mlruns.db

# InferenceData
*.nc

Expand Down
1 change: 1 addition & 0 deletions docs/source/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
model_config
model_builder
prior
mlflow
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we try working with a lighter version : https://pypi.org/project/mlflow-skinny/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just the name of the module pymc_marketing.mlflow and not the dependency

```
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ dependencies:
- pytest==7.0.1
- pytest-cov==3.0.0
- pytest-mock
- mlflow
Loading
Loading