{"id":16391078,"url":"https://github.com/edwinnglabs/karpiu","last_synced_at":"2025-07-25T17:06:17.896Z","repository":{"id":60961181,"uuid":"502746966","full_name":"edwinnglabs/karpiu","owner":"edwinnglabs","description":"Karpiu is a package designed for marketing mix modeling by calling Orbit from the backend. Karpiu is still in its beta version. Please use it at your own risk.","archived":false,"fork":false,"pushed_at":"2024-05-23T05:33:19.000Z","size":27653,"stargazers_count":17,"open_issues_count":21,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-12T04:45:01.701Z","etag":null,"topics":["bayesian","budget-optimization","marketing-analytics","marketing-mix-modeling","python","time-series"],"latest_commit_sha":null,"homepage":"https://edwinng.com/karpiu/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edwinnglabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-06-12T23:02:08.000Z","updated_at":"2024-09-06T06:21:37.000Z","dependencies_parsed_at":"2023-12-18T07:29:37.132Z","dependency_job_id":"66d9b5c9-ad46-46ab-b421-bb69bb3443a0","html_url":"https://github.com/edwinnglabs/karpiu","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinnglabs%2Fkarpiu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinnglabs%2Fkarpiu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinnglabs%2Fkarpiu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinnglabs%2Fkarpiu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edwinnglabs","download_url":"https://codeload.github.com/edwinnglabs/karpiu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221665868,"owners_count":16860324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayesian","budget-optimization","marketing-analytics","marketing-mix-modeling","python","time-series"],"created_at":"2024-10-11T04:44:58.913Z","updated_at":"2024-10-27T10:55:08.710Z","avatar_url":"https://github.com/edwinnglabs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build](https://github.com/edwinnglabs/karpiu/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/edwinnglabs/karpiu/actions/workflows/build.yaml)\n[![pages](https://github.com/edwinnglabs/karpiu/actions/workflows/pages.yaml/badge.svg?branch=main)](https://github.com/edwinnglabs/karpiu/actions/workflows/pages.yaml)\n# Karpiu\n\n**Karpiu** is a package designed for Marketing Mix Modeling (MMM) by calling [Orbit](https://github.com/uber/orbit) from the backend. Karpiu is still in beta, please use it at your own risk.\n\n# Tutorials \u0026 Documentation\n\nFor usage, please refer to this [documentation](https://edwinng.com/karpiu/).\n\n# Installation\n\nTo access the development version, please follow the instructions below or use `make install-dev` \nafter cloning the repository. This package only supports `orbit\u003e=1.1.4` which requires `cmdstanpy`. \n\n```bash\n$ git clone https://github.com/edwinnglabs/karpiu.git\n$ cd karpiu\n$ pip install cmdstanpy\n$ pip install -r requirements.txt\n# required by mkdocs\n$ pip install poetry\n$ pip install -r requirements-test.txt\n$ pip install -r requirements-docs.txt\n$ pip install -e .\n```\n\n# Related Work\n\n## Codebase\n\n1. [Robyn](https://github.com/facebookexperimental/Robyn) - Robyn is an automated Marketing Mix Modeling (MMM) package. It aims to reduce human bias by means of ridge regression and evolutionary algorithms. It enables actionable decision making, provides a budget allocator, diminishing returns curves and allows ground-truth calibration to account for causation.\n\n2. [Lightweight (Bayesian) Marketing Mix Modeling](https://github.com/google/lightweight_mmm) - LMMM is a python library that helps organisations understand and optimise marketing spend across media channels.\n\n3. [Orbit](https://github.com/uber/orbit) - A Python package for Bayesian forecasting with an object-oriented design and probabilistic models under the hood.\n\n## Research\n- [Ng, E., Wang, Z. \u0026 Dai, A. (2021). Bayesian Time Varying Coefficient Model with Applications to\nMarketing Mix Modeling](http://papers.adkdd.org/2021/papers/adkdd21-ng-bayesian.pdf)\n- [Jin, Y., Wang, Y., Sun, Y., Chan, D., \u0026 Koehler, J. (2017). Bayesian Methods for Media Mix Modeling with Carryover and Shape Effects. Google Inc.](https://research.google/pubs/pub46001/)\n- [Chan, D., \u0026 Perry, M. (2017). Challenges and Opportunities in Media Mix Modeling.](https://research.google/pubs/pub45998/)\n- [Sun, Y., Wang, Y., Jin, Y., Chan, D., \u0026 Koehler, J. (2017). Geo-level Bayesian Hierarchical Media Mix Modeling.](https://research.google/pubs/pub46000/)\n\n## Community Articles\n\n- [Are Marketing Mix Models Useful? I Spent My Own Money To Find Out](https://forecastegy.com/posts/marketing-mix-models/) by Mario Filho.\n- [How Google LightweightMMM Works](https://getrecast.com/google-lightweightmmm/) by Mike Taylor.\n- [\nBayesian Media Mix Modeling for Marketing Optimization](https://www.pymc-labs.io/blog-posts/bayesian-media-mix-modeling-for-marketing-optimization/)\nby Benjamin Vincent.\n\n# Fun Fact\n\n**Karpiu** is a term invented by the author's daugther when she had just reached her terrible two's. In the early development of this project, \"Karpiu\" became the dominating term in the author's home office. The author later dedicated this term to the package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwinnglabs%2Fkarpiu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedwinnglabs%2Fkarpiu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwinnglabs%2Fkarpiu/lists"}