Comments (5)
No, kpi_without_optim
should behave similarly between geo and national cases.
Some of the inputs provided would had to be different at some point for those two to provide such different outputs.
from lightweight_mmm.
no I tried complete data with extra features and just last 52 weeks and extra features. You can see from below that all other variables are same
Run optimization with the parameters of choice.
solution, kpi_without_optim, previous_budget_allocation = optimize_media.find_optimal_budgets(
n_time_periods=n_time_periods,
media_mix_model=mmm,
extra_features=extra_features,
budget=budget,
prices=prices,
bounds_lower_pct=0.3,
bounds_upper_pct=jnp.array([1,0.3580]),
media_scaler=media_scaler,
target_scaler=target_scaler,
seed=SEED)
from lightweight_mmm.
I would need a reproducible example (can be a colab with mock data) in order to investigate further, its too broad many things play in on this one.
from lightweight_mmm.
please give me an email id so that I can share my colab notebook
from lightweight_mmm.
Im sorry but that is not something we can do. If the error is reproducible, feel free to provide any mock data and code to reproduce and we can look into it.
from lightweight_mmm.
Related Issues (20)
- What is the best way to contribute to this library?
- INVALID_ARGUMENT: Python buffer protocol is only defined for CPU buffers. HOT 1
- In trying to plot the the response curves I get an error
- NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "histogram" failed type inference due to: non-precise type pyobject During: typing of argument at /usr/local/lib/python3.10/dist-packages/arviz/stats/density_utils.py (979)
- Potential Improvments on Price and Extrafeature
- ValueError: Einstein sum subscript 'c' does not contain the correct number of indices for operand 1. HOT 1
- Priors of tested media channels HOT 3
- All predictions start with an offset HOT 1
- Kpi is smaller than spend on response curve
- GPU Performance Issues HOT 1
- Adstock Normalization
- What is budget in media optimization
- previous_extra_features data in predict function
- Not able to install the packages
- What are media_mix_model.trace["media_transformed"], media_mix_model.trace["coef_media"] ? Media Contribution Calculation Understanding HOT 6
- Model prediction decomposition HOT 2
- JAX GPU with Apple M2
- Response Curve : Adstock and Carryover models HOT 14
- Feature Names HOT 2
- RuntimeError (This version of jaxlib was built using AVX instructions) on importing `optimize_media` from `lightweight_mmm` in a conda environment on M1 mac.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightweight_mmm.