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

Use EndBug/add-and-commit #3

Open
wants to merge 158 commits into
base: main
Choose a base branch
from
Open

Use EndBug/add-and-commit #3

wants to merge 158 commits into from

Commits on Apr 2, 2024

  1. MMM Lift test calibration (#590)

    * add scaling into lift test method
    
    * test scaling methods
    
    * test change of MMM likelihood
    
    * link up beta_channel parameters
    
    * change name to sigma
    
    * reorganize and edit
    
    * closes pymc-labs#406
    
    * address the feedback in docstrings
    
    * add more to docstring
    
    * format the docstring
    
    * be verbose for future devs
    
    * be explicit for the column max values
    
    * incorporate the feedback
    
    * hide cells and add to intro
    
    * add conclusion
    
    * switch to header 2
    
    * run notebook through
    
    * move the types together
    
    * separate model estimated from empirical
    
    * fix typos
    wd60622 authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    f055f98 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Drop python 3.9 support (pymc-labs#615)

    * drop python 3.9
    
    * try python 3.12
    
    * undo try python 3.12
    juanitorduz authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    8590b45 View commit details
    Browse the repository at this point in the history
  2. add lift tests check

    juanitorduz authored and twiecki committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    27a55d5 View commit details
    Browse the repository at this point in the history
  3. Add more content to the Gamma-Gamma Notebook (pymc-labs#573)

    * improve nb
    
    * rm warnings and add link to lifetimes quickstart
    
    * address comments
    
    * feedback part 3
    
    * remove warnings manually
    juanitorduz authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    f3ec2cf View commit details
    Browse the repository at this point in the history
  4. Add more content to the BG/NBD Notebook (pymc-labs#571)

    * add more info to the notebook
    
    * hide plots code
    
    * fix plot y labels
    
    * fix plot outputs and remove model build
    
    * improve final note probability plots
    
    * address comments
    
    * use quickstart dataset
    
    * feedback part 3
    
    * remowe warnings manually
    
    * feedback part 4
    juanitorduz authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    7b82cc3 View commit details
    Browse the repository at this point in the history
  5. Improve MMM Docs (pymc-labs#612)

    * improve mmm docs init
    
    * add more code examples to docstrings
    
    * minor improvemeents
    
    * typo
    
    * better phrasing
    
    * add thomas suggestion
    juanitorduz authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    da9f025 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Fix clv plotting bugs and edits to Quickstart (pymc-labs#601)

    * move fixtures to conftest
    
    * docstrings and moved set_model_fit to conftest
    
    * fixed pandas quickstart warnings
    
    * revert to MockModel and add ParetoNBD support
    
    * quickstart edit for issue 609
    
    * notebook edit
    ColtAllen authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    38b55a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ffef5a6 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Configuration menu
    Copy the full SHA
    a151330 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f33cef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c40c8b8 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Configuration menu
    Copy the full SHA
    ff937f4 View commit details
    Browse the repository at this point in the history
  2. Remove ruff E501 ignore (pymc-labs#619)

    remove ruff E501 ignore
    juanitorduz authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    e2dba27 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    b777eb5 View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] pre-commit autoupdate (pymc-labs#629)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7](astral-sh/ruff-pre-commit@v0.3.5...v0.3.7)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Juan Orduz <[email protected]>
    pre-commit-ci[bot] and juanitorduz authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    4a737cf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2be2f63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    582d2ed View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Add Flake8-BugBear and Bandit (Security!) (pymc-labs#637)

    * fix potential bugs
    
    * minor improvements
    
    * remove rule for nb
    
    * fix test
    
    * improve tests syntax
    
    * use stacklevel 2 for warnings
    
    * use stacklevel 1 for warnings as they are used in public methods
    
    * ignore B904
    
    * undo change
    
    * ricardos feedback
    
    * use fit_posterior
    
    * Update pymc_marketing/clv/models/gamma_gamma.py
    
    Co-authored-by: Ricardo Vieira <[email protected]>
    
    * last fix XD
    
    ---------
    
    Co-authored-by: Ricardo Vieira <[email protected]>
    juanitorduz and ricardoV94 authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    c02d349 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    78964f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    18d926c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce41f5f View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Add downloads stats to README

    juanitorduz authored and twiecki committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    818781a View commit details
    Browse the repository at this point in the history
  2. Pareto/NBD Example Notebook (pymc-labs#646)

    * notebook opening and imports
    
    * model definition markdown
    
    * Data Load Notebook section
    
    * WIP model fitting section
    
    * added notebook to docs directory
    
    * notebook edits and graph code
    
    * ppc section and nb cleanup
    
    * demz sampling and WIP plotting
    
    * WIP predictive plots
    
    * WIP heatmap plots
    
    * predictive plots
    
    * WIP covariates and nbqa-ruff edits
    
    * covariate section
    
    * plot additions
    
    * fig sizes
    
    * remove model file
    ColtAllen authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    91564cf View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. add spaces, increase indentation, and fix number order to Pareto note…

    …book (pymc-labs#651)
    
    * add spaces, increase indentation, and fix number order
    
    * explicit with 6
    wd60622 authored Apr 27, 2024
    Configuration menu
    Copy the full SHA
    7034e28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d531d0c View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. Plot Waterfall Components Decomposition (pymc-labs#631)

    * Creating plot waterfall
    
    Co-Authored-By: Carlos Trujillo <[email protected]>
    
    * requested changes
    
    * pre-commit
    
    ---------
    
    Co-authored-by: Carlos Trujillo <[email protected]>
    cetagostini-wise and cetagostini authored Apr 28, 2024
    Configuration menu
    Copy the full SHA
    1c186f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Update resources.md (pymc-labs#652)

    Databricks should have a lower-case b.
    coreyabs-db authored Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b36b0ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae6ae1d View commit details
    Browse the repository at this point in the history
  3. [pre-commit.ci] pre-commit autoupdate (pymc-labs#655)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](astral-sh/ruff-pre-commit@v0.4.1...v0.4.2)
    - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](pre-commit/mirrors-mypy@v1.9.0...v1.10.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Apr 29, 2024
    Configuration menu
    Copy the full SHA
    41dda4f View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Lift test fixes (#656)

    * support for negative values and dates (if used)
    
    * fix terrible spelling
    
    * test dates in coords
    
    * cover numpy objects
    
    * consolidate the tests
    wd60622 authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    a89bd93 View commit details
    Browse the repository at this point in the history
  2. add to docstrings tanh saturation (pymc-labs#657)

    Co-authored-by: Juan Orduz <[email protected]>
    wd60622 and juanitorduz authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    5a93ef2 View commit details
    Browse the repository at this point in the history
  3. Add quickstart to readme (pymc-labs#653)

    * add quickstartt to readme
    
    * add pymc labs logo
    
    * typos
    
    * add community links
    
    * fixes
    juanitorduz authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    b58f9b6 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Add contributors to README (pymc-labs#659)

    * Add contributors to README
    
    * small code style improvements
    juanitorduz authored May 1, 2024
    Configuration menu
    Copy the full SHA
    e63929a View commit details
    Browse the repository at this point in the history
  2. Time varying intercept (pymc-labs#628)

    * Add time-varying prior functionality to DelayedSaturatedMMM
    
    * resolve wd's comments
    
    * resolve failing pre-commits
    
    * add tvp_kwargs to model_config
    
    * fix typo
    
    * replace softplus
    
    * resolve minor review comments
    
    * Add option to supply `ax` to `plot_posterior_predictive`
    
    * bugfix: time_index was not set correctly for OOS
    
    If provided `X` to `_data_setter` was *not* the immediate sequence following the training set, the time_index would we wrong. With this fix, the `date["time_index"]` which gets set upon providing a new `X`, is inferred from the `self.date_column` column of provided `X` (by comparing it to same date column in the training data `self.X`).
    
    * Clean up example notebook
    
    * Make utility function `transform_1d_array`
    
    * 'tvp_kwargs' -> 'intercept_tvp_kwargs'
    
    * move `infer_time_index` into utils
    
    * add tests for new utils
    
    * small fixes (found in tests)
    
    * add tests to cover all added cases
    
    * fix ruff check
    
    * update typehints
    
    * resolve review comments
    
    * refactor model logic for tv intercept
    
    * address review comment for util test
    
    * .
    
    * fix documentation link
    
    * change variable name
    
    * fix hsgp_dims
    
    * update time_varying_prior to be centered on 1
    
    * review fixes
    
    * fix broken test
    
    * add final tests
    
    * fix coverage issues
    
    * Update tests/mmm/test_tvp.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Update pymc_marketing/mmm/tvp.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Update tests/mmm/test_tvp.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Update tests/mmm/test_tvp.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * significant improvements to notebook
    
    * fix heading
    
    * update notebook to make it EVEN better
    
    * update legend, add watermark
    
    * fix intro
    
    * fix broken test
    
    * copy sweep with grammarly
    
    ---------
    
    Co-authored-by: Will Dean <[email protected]>
    ulfaslak and wd60622 authored May 1, 2024
    Configuration menu
    Copy the full SHA
    f0097e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e67803 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Add tv intrecept to readme (pymc-labs#661)

    * add tv intrecept to readme
    
    * add to comparison table
    juanitorduz authored May 2, 2024
    Configuration menu
    Copy the full SHA
    fd6b331 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b27da9e View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary NonImplemented errors from abstract methods (pymc-…

    …labs#662)
    
    * ignore non-implemented
    
    * remove not implemented error from abstract classes
    
    * simplify docstrings
    juanitorduz authored May 2, 2024
    Configuration menu
    Copy the full SHA
    b785baa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    19bbf6d View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    fc37560 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Configuration menu
    Copy the full SHA
    5f54d8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e8ac45 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    48c88b2 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    2374a0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4dbf943 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61da9c0 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. [pre-commit.ci] pre-commit autoupdate (pymc-labs#683)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](astral-sh/ruff-pre-commit@v0.4.3...v0.4.4)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored May 13, 2024
    Configuration menu
    Copy the full SHA
    6e37d3b View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. v0 Streamlit MMM Explainer App (pymc-labs#614)

    * feat(streamlit_explainer): Pushing files for Streamlit explainer app, to illustrate saturation, adstock and prior concepts in an intuitive, visual way to stakeholders and new MMMers
    
    * chore(readme): Adding a readme for the app
    
    * fix(env): Updating dependencies to include those needed for the Streamlit app
    
    * Drop python 3.9 support (pymc-labs#615)
    
    * drop python 3.9
    
    * try python 3.12
    
    * undo try python 3.12
    
    * add lift tests check
    
    * Add more content to the Gamma-Gamma Notebook  (pymc-labs#573)
    
    * improve nb
    
    * rm warnings and add link to lifetimes quickstart
    
    * address comments
    
    * feedback part 3
    
    * remove warnings manually
    
    * Add more content to the BG/NBD Notebook (pymc-labs#571)
    
    * add more info to the notebook
    
    * hide plots code
    
    * fix plot y labels
    
    * fix plot outputs and remove model build
    
    * improve final note probability plots
    
    * address comments
    
    * use quickstart dataset
    
    * feedback part 3
    
    * remowe warnings manually
    
    * feedback part 4
    
    * Improve MMM Docs (pymc-labs#612)
    
    * improve mmm docs init
    
    * add more code examples to docstrings
    
    * minor improvemeents
    
    * typo
    
    * better phrasing
    
    * add thomas suggestion
    
    * Fix `clv` plotting bugs and edits to Quickstart (pymc-labs#601)
    
    * move fixtures to conftest
    
    * docstrings and moved set_model_fit to conftest
    
    * fixed pandas quickstart warnings
    
    * revert to MockModel and add ParetoNBD support
    
    * quickstart edit for issue 609
    
    * notebook edit
    
    * [pre-commit.ci] pre-commit autoupdate (pymc-labs#616)
    
    * improve coords matching (pymc-labs#623)
    
    * python 3.12 attempt (pymc-labs#618)
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * refactor(saturation): Using pymc-marketing saturation functions rather than coding my own: Removing tanh, logistic and michaelis menten
    
    * refactor(saturation): Remove Hill and Root saturations, as they aren't supported by pymc-marketing currently
    
    * refactor(geometric_adstock): Removing custom adstock and using pymc-marketing adstock function to demo decay. Also updating latex to align with pymc-marketing, where decay factor is represented by alpha rather than beta
    
    * refactor(delayed_adstock): Using pymc-marketing delayed geometric function rather than custom one
    
    * fix(requirements): Adding pymc-marketing to Streamlit requirements for deployment
    
    * Added Dev Container Folder
    
    * refactor(weibull_cdf): Using pymc-marketing function for Weibull CDF
    
    * fix(weibull_cdf): Fixing incorrect dataframe var name for CDF plotting df
    
    * refactor(weibull_pdf): Using pymc-marketing function for WeibullPDF
    
    * refactor(custom_functions): Removing adstock_saturation_functions.py file now that it is no longer required
    
    * chore: Removing devcontainer created by Streamlit
    
    * fix(requirements): Adding preliz to requirements
    
    * refactor(prior_viz): Reworking the prior visualisation to use Preliz instead of custom function, as well as remove the tab-design. Prior distributions can now be specified programmatically.
    
    * refactor(prior_functions.py): Deleting the draw_samples function and replacing it with a programmatic PreliZ function, such that the distribution object is returned when the user passes in the name of a distribution
    
    * fix(requirements): Delete obsolete pymc requirement, which should fix deployment dependency conflicts
    
    * chore(readme): Updating with guidelines on how to add additional distributions or transformation functions to the app
    
    * refactor(plot_config): Moving height and width specifications into constants at top of Adstock and Saturation files, so the plot sizes are set programmatically
    
    ---------
    
    Co-authored-by: Juan Orduz <[email protected]>
    Co-authored-by: Colt Allen <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Carlos Trujillo <[email protected]>
    5 people authored May 21, 2024
    Configuration menu
    Copy the full SHA
    ad2353a View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Correct BetaGeo docstring example (pymc-labs#693)

    * fix example in docstring
    
    * change docstring
    wd60622 authored May 22, 2024
    Configuration menu
    Copy the full SHA
    9aa8bc0 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Add BetaGeoBetaBinom Distribution Block (pymc-labs#431)

    * init commit
    
    * removed scan
    
    * Fix logp
    
    * Remove print statement
    
    * Add test for logp notimplemented errors
    
    * docstrings
    
    * dev notebook added
    
    * updated to vectorize_graph
    
    * import order
    
    * update oldest pymc_version
    
    * Update ci.yml pymc version
    
    * Update pyproject.toml pymc version
    
    * WIP sample prior testing
    
    * sample prior compared against lifetimes
    
    * increase rtol
    
    * remove commented code, add logp reference
    
    * fix latex docstring
    
    * notebook testing and misc edits
    
    * revert latex in docstring
    
    * add ruff ignore comment
    
    ---------
    
    Co-authored-by: Ricardo Vieira <[email protected]>
    ColtAllen and ricardoV94 authored May 27, 2024
    Configuration menu
    Copy the full SHA
    ae84163 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e6ce83 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    3feec18 View commit details
    Browse the repository at this point in the history
  2. RFM Segmentation (pymc-labs#680)

    * init rfm_segments func
    
    * TODOs
    
    * docstrings and for loop
    
    * docstrings and for loop
    
    * WIP dev notebook debugging
    
    * checkpoint commit for remote pull
    
    * code testing in dev notebook
    
    * unit tests added
    
    * dev notebook cleanup
    
    * clean up type hints
    
    * comments and code cleanup
    
    * docstrings
    
    * move formatting to rfm_summary and quickstart edits
    
    * fix rfm_train_test_split bug
    
    * added test for rfm_quartile_labels
    
    * added rfm score warning
    ColtAllen authored May 28, 2024
    Configuration menu
    Copy the full SHA
    b763c12 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

  1. Configuration menu
    Copy the full SHA
    7be19f6 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    b4d84cc View commit details
    Browse the repository at this point in the history
  2. use URL for README image (pymc-labs#715)

    * use URL for image
    
    * additional links that are relative
    
    * remove forward slashes in URL
    wd60622 authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    ba41aef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86805a4 View commit details
    Browse the repository at this point in the history
  4. [pre-commit.ci] pre-commit autoupdate (pymc-labs#719)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.5 → v0.4.7](astral-sh/ruff-pre-commit@v0.4.5...v0.4.7)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    6edc4ca View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. Update BetaGeoModel API (pymc-labs#709)

    * _extract_predictive_variables util
    
    * deprecation warnings
    
    * expected_purchases_new_customer
    
    * TestBetaGeoModel.setup_class
    
    * test cleanup and test_expected_purchases_new_customer
    
    * expected_probability_alive
    
    * expected_purchases
    
    * TODOs and docstrings
    
    * update runslow tests rtol for new test dataset
    
    * prob_alive_matrix plot fix and notebook testing
    
    * alive loop in bgnbd nb
    
    * quickstart nb fix
    
    * docstring and TODO revisions
    
    * docstring syntax
    
    * docstring edits
    
    * more docstring fixes
    
    * docstrings indent
    
    * docstring indent, clear codecov bug
    
    ---------
    
    Co-authored-by: Juan Orduz <[email protected]>
    ColtAllen and juanitorduz authored Jun 9, 2024
    Configuration menu
    Copy the full SHA
    f79b7b0 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. User-defined media transformations and custom ordering (pymc-labs#632)

    * Allowing Custom Saturation & Lagging functions
    
    Co-Authored-By: Carlos Trujillo <[email protected]>
    
    * Small adding
    
    Co-Authored-By: Carlos Trujillo <[email protected]>
    
    * test commit to carlos branch
    
    * hook up saturation class to lift method
    
    * pull out last saturation function into method
    
    * migrate the logic for tests
    
    * reduce what is needed for a new class
    
    * remove the noqa
    
    * model docstring for inheritance
    
    * rewrite of the components
    
    * rewrite of the components
    
    * change name to logistic
    
    * map names for model_config
    
    * switch out order
    
    * Changes
    
    * solving issues
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * solving errors
    
    * New class name
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update pymc_marketing/mmm/transformers.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * pre-commit change
    
    * Update pymc_marketing/mmm/models/components/base.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Update pymc_marketing/mmm/models/components/saturation.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Update pymc_marketing/mmm/models/components/lagging.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Requested changes
    
    * pre-commit changes
    
    * Requested changes
    
    * more changes
    
    * use reserved parameter name
    
    * Returning name and adding deprecation warning
    
    * Re-structuring the budget optimizer
    
    * Update pymc_marketing/mmm/components/adstock.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Will recommendations
    
    * Temporal comment
    
    * test more assumed behavior
    
    * more budget optimizer changes
    
    * docstrings for classes
    
    * small changes about l_max on adstock
    
    * small addition
    
    * Update pymc_marketing/mmm/delayed_saturated_mmm.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * temporal notebook copy
    
    * update
    
    * docstring
    
    * adding missing
    
    * Update pymc_marketing/mmm/components/adstock.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Update pymc_marketing/mmm/components/adstock.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Making mypy happy part 1
    
    * Small example
    
    * finally?
    
    * small change
    
    * docstrings
    
    * removing mokeytype
    
    * more docstrings
    
    * Update pymc_marketing/mmm/transformers.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * tests for out of box saturation and adstocks
    
    * test the passthrough
    
    * Update pymc_marketing/mmm/components/adstock.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Changes on hints
    
    * modifications
    
    Must be plt, ax
    
    * notebooks addition
    
    * Update notebook
    
    * Saving model
    
    * mock the fit and move tests around
    
    * fix get_distribution tests
    
    * Correct error
    
    * Deprecation warning and new MMM class
    
    Co-Authored-By: Will Dean <[email protected]>
    
    * Small changes
    
    * updates
    
    * add a lookup for model saving
    
    * fix tests based on recent changes
    
    * Deleting decimals
    
    * test suite
    
    * Update tests/mmm/test_budget_optimizer.py
    
    Juan's test suggestion
    
    * Update tests/mmm/test_budget_optimizer.py
    
    abs and not rel
    
    * running notebooks
    
    * adding hint
    
    * initial docstring check
    
    * update docstrings 1
    
    * Modifying notebook
    
    * use explicit adstock and saturation in MMM
    
    * remove reference to DelayedSaturatedMMM
    
    * request changes
    
    * missing total
    
    * modify docstring
    
    * modify eval
    
    * Small changes
    
    * change
    
    * changes
    
    * import saturation in docstring
    
    * pre-commit
    
    ---------
    
    Co-authored-by: Carlos Trujillo <[email protected]>
    Co-authored-by: Will Dean <[email protected]>
    Co-authored-by: Will Dean <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    5 people authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    f3be754 View commit details
    Browse the repository at this point in the history
  2. CLV Plotting API (pymc-labs#728)

    * plot_probability_alive_matrix
    
    * docstrings
    
    * plot_frequency_recency_matrix
    
    * delete dead code
    
    * docstring quick fix
    ColtAllen authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    dc117be View commit details
    Browse the repository at this point in the history
  3. [pre-commit.ci] pre-commit autoupdate (pymc-labs#730)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.4.8](astral-sh/ruff-pre-commit@v0.4.7...v0.4.8)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    c31bee4 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Fix some ParetoNBDModel docstring typos (pymc-labs#731)

    * Removed the comma after Schmittlein
    
    * Added missing reference
    
    * Removed extra colon
    Mews authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    46ba03f View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    b6a938f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5296f0f View commit details
    Browse the repository at this point in the history
  3. Set upper bound pymc 5.16 (pymc-labs#725)

    * changes init
    
    * try fix regex
    juanitorduz authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    271966b View commit details
    Browse the repository at this point in the history
  4. Media transformation sampling & plotting methods (pymc-labs#734)

    * add plotting methods
    
    * add tests for new methods
    
    * saturation support for additional variable dims
    
    * consolidate the logic of sampling
    
    * change warning
    
    * workflow from a fitted model
    
    * change order of tests
    
    * suggestion to use names
    
    * because of new data
    
    ---------
    
    Co-authored-by: Juan Orduz <[email protected]>
    wd60622 and juanitorduz authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    6fe03dc View commit details
    Browse the repository at this point in the history
  5. improve tests mmm utils (pymc-labs#738)

    * improve tests
    
    * empty commit
    
    * remove reduntant function
    juanitorduz authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    664b5ca View commit details
    Browse the repository at this point in the history
  6. model.fit doesn't remove prior samples (pymc-labs#741)

    * type hint only
    
    * more informative errors
    
    * check for attr
    
    * remove type ignore
    
    * check for attr
    
    * check for attr
    
    * reduce indentation
    
    * new error names
    wd60622 authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    a148e83 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Hierarchical Model Configuration (pymc-labs#743)

    * some base logic and tests
    
    * lookup function once
    
    * add error handling
    
    * implement for mmm and media transformations
    
    * add examples
    
    * add to documentation
    
    * add to docstring
    
    * tests for likelihood
    
    * use deepcopy since keys are added
    
    * set default dims and warn
    
    * fix output_var
    
    * migrate failing tests to model_config
    
    * remove the moved test
    
    * use deepcopy since keys are added
    
    * add to docstrings from feedback
    
    * fix handlers at initialize
    wd60622 authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    4b6607a View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. [pre-commit.ci] pre-commit autoupdate (pymc-labs#756)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.4.9](astral-sh/ruff-pre-commit@v0.4.8...v0.4.9)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    0144bd3 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. MMM Component Notebook (pymc-labs#748)

    * initial notebook
    
    * add to example
    
    * push up some feedback
    
    * change the number of channels
    
    * updates
    
    * final message
    
    * add more feedback
    
    * remove since wasnt working the way I wanted
    wd60622 authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    c994210 View commit details
    Browse the repository at this point in the history
  2. start addressing sphinx warnings and rendering issues (pymc-labs#750)

    * start addressing sphinx warnings and rendering issues
    
    * forgot formatting comment
    
    * Add numpydoc as dependency
    
    * fix dataset type
    
    ---------
    
    Co-authored-by: Juan Orduz <[email protected]>
    OriolAbril and juanitorduz authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    8596c8a View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Allowing Hierarchical Non Centered Parametrization (pymc-labs#747)

    * Allowing non center parametrization
    
    * update notebook
    
    * Adding example in docstring
    
    * change
    
    * Push code changes.
    
    * A painful and ugly change!
    
    The things one does for democracy!
    
    * Missing parts!
    
    * adding missing test 2D
    
    * Missing raise
    
    ---------
    
    Co-authored-by: Will Dean <[email protected]>
    cetagostini and wd60622 authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    5caa61a View commit details
    Browse the repository at this point in the history
  2. fix np typing (pymc-labs#763)

    * fix typing
    
    * empty
    
    * empty
    
    * empty
    
    * dummy
    
    * undo dummy
    
    * empty
    juanitorduz authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    5ff29b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    405a5cf View commit details
    Browse the repository at this point in the history
  4. remove noqa from plots (pymc-labs#761)

    * remove noqa
    
    * fix escape
    
    * empty
    
    * empty
    juanitorduz authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    9f84dc9 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. Configuration menu
    Copy the full SHA
    897cf3d View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. Configuration menu
    Copy the full SHA
    6a5934c View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. [pre-commit.ci] pre-commit autoupdate (pymc-labs#779)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.4.10](astral-sh/ruff-pre-commit@v0.4.9...v0.4.10)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jun 25, 2024
    Configuration menu
    Copy the full SHA
    0bfca1a View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. GammaGammaModel API Improvements (pymc-labs#758)

    * utils.customer_lifetime_value
    
    * expected_customer_lifetime_value
    
    * WIP clv.models.gamma_gamma.py
    
    * gamma_gamma API
    
    * fixed circular import
    
    * gamma_gamma tests
    
    * delete tests/datasets/test_summary.csv
    
    * clv test_utils.py
    
    * remove expected_purchases(future_t=0)
    
    * remove monetary_value arg
    
    * WIP docstrings
    
    * notebooks
    
    * docstrings
    
    * Revert "notebooks"
    
    This reverts commit a3154d9.
    
    * gamma-gamma notebook
    
    * docstrings
    ColtAllen authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    cec2cc2 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    f6a1a37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fafe354 View commit details
    Browse the repository at this point in the history
  3. CLV Modeling Domains and Docstrings (pymc-labs#785)

    * quickstart
    
    * pareto_nbd fit warning
    
    * pareto_nbd docstrings
    
    * clv.utils docstrings
    
    * gamma_gamma docstrings
    
    * beta_geo docstrings
    
    * CLV sections in README and index
    ColtAllen authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    d5c3d1e View commit details
    Browse the repository at this point in the history
  4. fix nb (pymc-labs#793)

    juanitorduz authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    a933b70 View commit details
    Browse the repository at this point in the history
  5. Run example notebooks CI (pymc-labs#791)

    * run notebooks init
    
    * change kernel name
    
    * change kernel name
    
    * change kernel name
    
    * rm docs
    
    * add nb
    
    * fix nb
    
    * fig dpi
    
    * update model object
    
    * no output
    
    * test mmm notebooks
    
    * fix path
    
    * graphviz
    
    * sudo
    
    * paralelize and Path
    
    * reqs
    
    * undo
    
    * comments
    
    * try budget allocation
    
    * add quickstart
    
    * ignore budget allocation
    
    * add make command
    
    * use make
    juanitorduz authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    576cf45 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Configuration menu
    Copy the full SHA
    9892311 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Time Varying Media Contribution Notebook (pymc-labs#778)

    * Time Varaying notebook
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * requested changes
    
    * quick change
    
    * Adding to index md
    
    * remove change mmm_budget_allocation_example.ipynb
    
    * quick correction
    
    * Small changes
    
    * Small title change
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Will Dean <[email protected]>
    3 people authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    93f5e77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24496a0 View commit details
    Browse the repository at this point in the history
  3. Prior class to represent distributions (pymc-labs#759)

    * reimplement hierarchical parameters with wrapper class
    
    * write tests for prior class
    
    * explicit with dependencies
    
    * missing test dependency
    
    * raise KeyError early and test dims
    
    * add prior module to docs
    
    * support for media transformations
    
    * add some documentation
    
    * migrate the delayed_saturated model to Prior class
    
    * migrate the delayed_saturated model to Prior class
    
    * add an example image
    
    * add the example image
    
    * push up some more documentation
    
    * support for student-t
    
    * add configuration notebook
    
    * catch all the errrors
    
    * add more to notebook
    
    * use a sigma which has transform
    
    * add parsing error catches
    
    * add watermark
    
    * test the parsing warnings and error handling
    
    * have a default to dict
    
    * default handles Prior class
    
    * passing plotting tests
    
    * support for lift tests
    
    * fix two failing tests
    
    * update notebook
    
    * change order of pre-commit back
    
    * migrate to Prior and parse_model_config
    
    * migrate the clv tests
    
    * test for warning
    
    * run pre-commit on all files
    
    * switch to Prior in components
    
    * test for the components
    
    * remove the previous dictionary function
    
    * migrate to Prior class in mmm
    
    * remove the unused key,value
    
    * migrate to Prior class in clv tests
    
    * back to dict for warning test
    
    * isort and work out example indentation
    
    * change the example name
    
    * use juans suggestions
    
    * change graph to to_graph
    
    * rerun the time varying media
    
    * rerun the clv notebooks I could get to work
    wd60622 authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    2388c01 View commit details
    Browse the repository at this point in the history
  4. [pre-commit.ci] pre-commit autoupdate (pymc-labs#801)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](astral-sh/ruff-pre-commit@v0.4.10...v0.5.0)
    - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](pre-commit/mirrors-mypy@v1.10.0...v1.10.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    5cda250 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    7179904 View commit details
    Browse the repository at this point in the history
  2. Separate Weibull adstock into CDF & PDF (pymc-labs#810)

    * separate out weibull
    
    * add to test suite
    wd60622 authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    496eb76 View commit details
    Browse the repository at this point in the history
  3. Add typing and package classifiers (pymc-labs#811)

    * add pytyped
    
    * add the py.typed file
    wd60622 authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9d4d04a View commit details
    Browse the repository at this point in the history
  4. add imports to mmm module (pymc-labs#812)

    Co-authored-by: Juan Orduz <[email protected]>
    wd60622 and juanitorduz authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9b691a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Save & load support for time varying parameters (pymc-labs#815)

    * add missing init for save and load
    
    * get rid of warnings from JSON parsing
    
    * new error message without line break
    wd60622 authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    03e9215 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    723887a View commit details
    Browse the repository at this point in the history
  3. [pre-commit.ci] pre-commit autoupdate (pymc-labs#817)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.1](astral-sh/ruff-pre-commit@v0.5.0...v0.5.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    a97e272 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. PoC: Use Pydantic as data validator (pymc-labs#809)

    * prior with pydantic
    
    * dependencies
    
    * validate adstock
    
    * make mypy happy
    
    * add validation sample curve
    
    * make the prior type tighter
    
    * add test type
    
    * add validation init mmm
    
    * mmm
    
    * start with Fourier
    
    * fix type
    
    * fix test and imprtove docstrings
    
    * docstrings
    
    * types
    
    * self type
    
    * init validator
    
    * types model builder
    
    * improve docstrings
    
    * more input validations mmm init
    
    * validation budget optimizer
    
    * fix dummy example types
    
    * hsgp kwargs class
    
    * add kwargs
    
    * undo type hint in dict
    
    * fix fourier names
    
    * better docs
    
    * fix tests
    
    * add type hint
    
    * undo
    
    * fix type error
    
    * feedback2
    
    * restrict signature
    
    * serialize fourier
    
    * docs and tests
    
    * fix docs
    
    * work on parsing
    
    * add hsgp to parsing config
    
    * add tests
    
    * uncomment
    
    * undo changes
    
    * undo model config parser
    
    * handle hsgp_kwargs
    
    * add hsgp flag
    
    * docs
    
    * undo type hint
    
    * improve hints
    
    * add more sections to docs
    
    * Update pymc_marketing/mmm/tvp.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * feedback 4
    
    * fix test
    
    ---------
    
    Co-authored-by: Will Dean <[email protected]>
    juanitorduz and wd60622 authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    d766722 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Date Validation and MMM Model Hamonization (Pydantic) (pymc-labs#824)

    * validate base mmm init class
    
    * validate dateformat
    
    * add comment about date
    
    * remove ()
    juanitorduz authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    05abba7 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Remove warnings during tests (pymc-labs#823)

    * address save and load tests
    
    * catch warning on load
    
    * remove warnings in budget optimizer
    
    * remove plotting warnings
    
    * remove validating warnings
    
    * consolidate the loading function
    
    * remove warnings in tests
    
    * incorporate the docstring feedback
    
    * only one deprecation warnings on DelayedSaturatedMMM
    
    * dont have deprecation on test
    wd60622 authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    d235ff4 View commit details
    Browse the repository at this point in the history
  2. Future-proof prior_linearized method call (pymc-labs#806)

    * modified: pymc_marketing/mmm/tvp.py
    
    * Update tvp.py
    
    Changed Xs to X in prior_linearized( as per the change in pymc)
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: sangeedutta <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Will Dean <[email protected]>
    4 people authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    717702a View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    6049ae8 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. fix (pymc-labs#842)

    juanitorduz authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    6619076 View commit details
    Browse the repository at this point in the history
  2. use labs theme as external (pymc-labs#830)

    * use labs theme as external
    
    * Update docs/source/index.md
    
    Co-authored-by: Thomas Wiecki <[email protected]>
    
    * install theme from pypi
    
    ---------
    
    Co-authored-by: Thomas Wiecki <[email protected]>
    Co-authored-by: Juan Orduz <[email protected]>
    3 people authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    4cc4ba5 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    7a8b627 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a98815f View commit details
    Browse the repository at this point in the history
  3. Various MMM small documentation fixes (pymc-labs#854)

    * make nb ruff astral-sh/ruff-vscode#546
    
    * fix docs
    
    * fix quickstart
    
    * add types
    juanitorduz authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    e6f844f View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Update UML diagrams (pymc-labs#856)

    * update uml diagrams
    
    * add uml command to Makefile
    drbenvincent authored Jul 23, 2024
    Configuration menu
    Copy the full SHA
    8234c4b View commit details
    Browse the repository at this point in the history
  2. Fixing ruff commands in Makefile pymc-labs#825 (pymc-labs#859)

    * updated the ruff lint command, added ruff code formating command in Makefile, updated contributing.md
    
    * fixing the issue with the new line at the end of makefile
    
    * updated the PHONY list in makefile
    
    ---------
    
    Co-authored-by: Murad Khalilov <[email protected]>
    MuradKhalil and Murad Khalilov authored Jul 23, 2024
    Configuration menu
    Copy the full SHA
    28ea158 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. [pre-commit.ci] pre-commit autoupdate (pymc-labs#855)

    updates:
    - [github.com/pre-commit/mirrors-mypy: v1.10.1 → v1.11.0](pre-commit/mirrors-mypy@v1.10.1...v1.11.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Juan Orduz <[email protected]>
    pre-commit-ci[bot] and juanitorduz authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    d759eb3 View commit details
    Browse the repository at this point in the history
  2. Fix model_builder docstrings (pymc-labs#861)

    * Fix model_builder docstrings
    
    * Fix whitespace error
    
    ---------
    
    Co-authored-by: Juan Orduz <[email protected]>
    GiannisApost and juanitorduz authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    b10f1f1 View commit details
    Browse the repository at this point in the history
  3. add GH discussions link to README (pymc-labs#866)

    * add GH discussions link to README
    
    * add link to MMM hub slack
    
    * Update README.md
    
    ---------
    
    Co-authored-by: Will Dean <[email protected]>
    cluhmann and wd60622 authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    b7b97e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    8ee9254 View commit details
    Browse the repository at this point in the history
  2. Fix Visual for hill_saturation function (Issue pymc-labs#851 ) (pymc…

    …-labs#857)
    
    * Fix plotting by evaluating tensors.
    
    * Add space after sphinx directive.
    
    * Remove indentation from blank line.
    
    * Add shared y axis for subplots.
    
    ---------
    
    Co-authored-by: Patrick Robotham <[email protected]>
    Co-authored-by: Will Dean <[email protected]>
    3 people authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    9129a9e View commit details
    Browse the repository at this point in the history
  3. Allow plot MMM components in the original scale (pymc-labs#870)

    * add original scale implementation
    
    * add plot nb
    
    * change location
    
    * undo
    
    * make mypy happy
    
    * test plot
    
    * add test
    
    * update plot readme
    
    * fix test
    
    * improve variable description
    juanitorduz authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    de5679f View commit details
    Browse the repository at this point in the history
  4. Inference changed to dataset (pymc-labs#873)

    * infernece changed to dataset
    
    * inference changed dataset for plot_allocated_contribution_by_channel
    
    ---------
    
    Co-authored-by: Will Dean <[email protected]>
    Ishaanjolly and wd60622 authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    19aea61 View commit details
    Browse the repository at this point in the history
  5. Add root saturation function (issue pymc-labs#702) (pymc-labs#858)

    * feat: adding root_saturation to transformers.py
    
    * feat: adding RootSaturation class to saturation.py
    
    * chore: adding missing RootSaturation to SATURATION_TRANSFORMATIONS
    
    * feat: adding root_saturation to transformers.py
    
    * feat: adding RootSaturation class to saturation.py
    
    * chore: adding missing RootSaturation to SATURATION_TRANSFORMATIONS
    
    * chore: linting edits
    
    * chore: adding coefficient to function
    
    * chore: linting corrections
    
    * chore: removed empty References section of docstring
    
    * chore: produce visual examples of root saturation
    
    * chore: adding root to test_saturation.py
    
    * chore: adding RootSaturation to init file
    
    ---------
    
    Co-authored-by: ruari.walker <[email protected]>
    Co-authored-by: Will Dean <[email protected]>
    3 people authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    9755d3b View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Check for missing attrs after sample_prior_predictive and fit (py…

    …mc-labs#867)
    
    * separate the attr creation from attachment and perform check
    
    * remove data for CLV
    
    * fix model_builder tests
    
    * fix clv tests
    
    * more specific model builder checks
    
    * rework with no args and kwargs
    
    * rework common load method
    
    * Update pymc_marketing/model_builder.py
    wd60622 authored Jul 28, 2024
    Configuration menu
    Copy the full SHA
    7090401 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. json.loads with python types bug (pymc-labs#881)

    * loads doesnt support boolean
    
    * defaults for the media transformation
    
    * test for the time_varyign
    wd60622 authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    43131db View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] pre-commit autoupdate (pymc-labs#883)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.5.4 → v0.5.5](astral-sh/ruff-pre-commit@v0.5.4...v0.5.5)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    24e9833 View commit details
    Browse the repository at this point in the history
  3. Fix default ConvMode in docstring (pymc-labs#864)

    * Update docs in transformers.py
    
    docs: Fix the docstring
    
    * Update docs in transformers.py
    
    docs: fix other docstrings
    
    * change the plot default
    
    ---------
    
    Co-authored-by: Will Dean <[email protected]>
    Co-authored-by: Will Dean <[email protected]>
    3 people authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    7a89f27 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Save off media transformations (pymc-labs#882)

    * to_dict via lookup_name
    
    * parse to and from dict for attrs
    
    * improve the codecov
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * change test with change in default behavior
    
    * increase the MMM model version
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    wd60622 and pre-commit-ci[bot] authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    ac645c9 View commit details
    Browse the repository at this point in the history
  2. Update deployment docs (pymc-labs#887)

    * update the notebook
    
    * update the runner
    
    * address feedback. add watermark
    wd60622 authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    37cf3c8 View commit details
    Browse the repository at this point in the history
  3. Automate UML creation (pymc-labs#886)

    * attempt to automate uml
    
    * install graphviz binaries
    
    * use sudo
    
    * Update UML Diagrams
    
    * remove the git configuration
    
    * use the identity of the previous commit
    
    * dont push with no change
    
    * same triggers as others
    
    * restrict to running with repo_changes
    
    ---------
    
    Co-authored-by: GitHub Actions <[email protected]>
    Co-authored-by: Juan Orduz <[email protected]>
    3 people authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    15396cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c72fb8a View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    4abac88 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Add url health job from streamlit app (pymc-labs#902)

    * add url health job
    
    * lint
    juanitorduz authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    00d4e20 View commit details
    Browse the repository at this point in the history
  2. small improvements model config nb (pymc-labs#906)

    * small improvements
    
    * trim
    juanitorduz authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3eb5407 View commit details
    Browse the repository at this point in the history
  3. Add link model deployment to example notebook (pymc-labs#904)

    * add link model deployment
    
    * add pymc-marketing to watermark
    juanitorduz authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    dffae87 View commit details
    Browse the repository at this point in the history
  4. Add pymc-marketing version to some MMM notebooks (pymc-labs#907)

    * nb part 1
    
    * add mmm example nb
    
    * rm example nb
    juanitorduz authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    41dd8a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Move adstock and saturation method imports to mmm.__all__ (pymc-labs#908

    )
    
    * Resolves pymc-labs#892: Move adstock and saturation method imports to mmm.__all__
    
    * fix: patch uml GHA
    
    * Update .github/workflows/uml.yml
    
    * Update .github/workflows/uml.yml
    
    * Add permissions: write-all to .github/workflows/uml.yml
    
    ---------
    
    Co-authored-by: Will Dean <[email protected]>
    PabloRoque and wd60622 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    39f2336 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff4eef1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e3c79aa View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. [pre-commit.ci] pre-commit autoupdate (pymc-labs#914)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.5.5 → v0.5.6](astral-sh/ruff-pre-commit@v0.5.5...v0.5.6)
    - [github.com/pre-commit/mirrors-mypy: v1.11.0 → v1.11.1](pre-commit/mirrors-mypy@v1.11.0...v1.11.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Will Dean <[email protected]>
    pre-commit-ci[bot] and wd60622 authored Aug 6, 2024
    Configuration menu
    Copy the full SHA
    6779fd1 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    789aa0d View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Configuration menu
    Copy the full SHA
    b070375 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    285f704 View commit details
    Browse the repository at this point in the history
  2. Add MMM ROAS Priors Case Study (pymc-labs#916)

    * model and data init
    
    * make it work
    
    * add intro
    
    * add nb to index and references
    
    * first complete iteration
    
    * improve formatting
    
    * split paragraph
    
    * pyprojroot
    
    * typos
    
    * add conclusion section
    
    * improve intro
    
    * typos and feedback
    juanitorduz authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    bfeb756 View commit details
    Browse the repository at this point in the history
  3. typo (pymc-labs#923)

    juanitorduz authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    1f89294 View commit details
    Browse the repository at this point in the history
  4. [pre-commit.ci] pre-commit autoupdate (pymc-labs#926)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.5.7](astral-sh/ruff-pre-commit@v0.5.6...v0.5.7)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    1c8fefa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    49ac689 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    93fc9d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1b5933 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    35c8850 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Solving optimizer issues & typos (pymc-labs#933)

    * Correcting typo num_days by horizon
    
    * Correcting typo num_days by horizon and scaler
    
    * Running notebooks
    
    * Update UML Diagrams
    
    * Rename horizon by periods
    
    * Adding test requested to check budget outputs
    
    * Running notebooks
    
    * Update UML Diagrams
    
    * Small notebook missing change.
    
    * Correction in tests
    
    * Change on name
    
    * running notebook modifying function
    
    * Update UML Diagrams
    cetagostini authored Aug 17, 2024
    Configuration menu
    Copy the full SHA
    809a079 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Log number of posterior & tuning samples (pymc-labs#943)

    * helper command to view the artifacts from test
    
    * pass tune from kwargs
    
    * test for support of all samplers
    
    * add mlflow as a mock import
    
    * actual import as autolog is missing from docs
    wd60622 authored Aug 18, 2024
    Configuration menu
    Copy the full SHA
    8d116b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. point to GH discussions (pymc-labs#944)

    Co-authored-by: Juan Orduz <[email protected]>
    cluhmann and juanitorduz authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    5bbce01 View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] pre-commit autoupdate (pymc-labs#946)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](astral-sh/ruff-pre-commit@v0.5.7...v0.6.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    3126ae0 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Fallback to defaults in adstock|saturation_from_dict (pymc-labs#955)

    * Default saturation_from_dict to default_priors
    
    * Default to AdstockTransformation.default priors in adstock_from_dict
    PabloRoque authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    f6c6825 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39d38b7 View commit details
    Browse the repository at this point in the history
  3. deprecate WeibullAdstock in favor of WeibullCDFAdstock and WeibullPDF…

    …Adstock (pymc-labs#957)
    
    * deprecate in favor of WeibullCDFAdstock and WeibullPDFAdstock
    
    * Update UML Diagrams
    
    * Update UML Diagrams
    wd60622 authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    255eac1 View commit details
    Browse the repository at this point in the history
  4. Raise informative error when including target in X (pymc-labs#962)

    * add error when target is in X_df
    
    * add test
    
    * rename test
    
    * format
    cluhmann authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    943a2c4 View commit details
    Browse the repository at this point in the history
  5. Ensure fit reproducibility (pymc-labs#963)

    * use get instead of assign to default to sampler_config if exists
    
    * default to what is given
    
    * write tests based on the issue
    
    * have defaults while not overriding
    wd60622 authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    1536dad View commit details
    Browse the repository at this point in the history
  6. Enforce check_parameters for alpha in geometric_adstock (pymc-l…

    …abs#960)
    
    * Enforce check_parameters in geometric_adstock
    
    * Remove check_parameters on l_max. Revert to original test
    
    * Add test_geometric_adstock_bad_alpha
    
    * use ge, le instead of gt,lt
    
    * Update tests/mmm/test_transformers.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * Simplify test parameters
    
    * Update tests/mmm/test_transformers.py
    
    Co-authored-by: Will Dean <[email protected]>
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: Will Dean <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    b478d9d View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Use EndBug/add-and-commit

    PabloRoque committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    ffeb550 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1771a3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d291d4 View commit details
    Browse the repository at this point in the history