pymc-marketing
pymc-marketing copied to clipboard
Add CLVWrapper
Description
Building upon CLV MLflow integration. WIP
CC: @ColtAllen
Related Issue
- [ ] Closes #
- [ ] Related to #
Checklist
- [ ] Checked that the pre-commit linting/style checks pass
- [ ] Included tests that prove the fix is effective or that the new feature works
- [ ] Added necessary documentation (docstrings and/or example notebooks)
- [ ] If you are a pro: each commit corresponds to a relevant logical change
Modules affected
- [ ] MMM
- [x] CLV
- [ ] Customer Choice
Type of change
- [x] New feature / enhancement
- [ ] Bug fix
- [ ] Documentation
- [ ] Maintenance
- [ ] Other (please specify):
📚 Documentation preview 📚: https://pymc-marketing--1377.org.readthedocs.build/en/1377/
Codecov Report
:x: Patch coverage is 42.85714% with 12 lines in your changes missing coverage. Please review.
:warning: Please upload report for BASE (main@492930a). Learn more about missing BASE report.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| pymc_marketing/mlflow.py | 42.85% | 12 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #1377 +/- ##
=======================================
Coverage ? 92.15%
=======================================
Files ? 64
Lines ? 7448
Branches ? 0
=======================================
Hits ? 6864
Misses ? 584
Partials ? 0
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
General question for @ColtAllen
Are you using the save load much? What do you do after loading?
General question for @ColtAllen
Are you using the save load much? What do you do after loading?
I did monthly model runs at my last company. With about 1.5 million customers the idata file was about 500MB, hence the need for https://github.com/pymc-labs/pymc-marketing/issues/1356. Before loading a model, metrics and number of new customers were checked first to see if retraining was needed. Otherwise, run & rewrite predictions.