-
Notifications
You must be signed in to change notification settings - Fork 363
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
Budget Allocation: budget constraint not hold #344
Comments
@kyletgoldberg I've checked input of my model, and found nothing wrong there. paid_media_spends, paid_media_vars and hyperparamters assignment are in the same channel name order. In the allocator, there's no function to assign channel names externally, so I think it should be the problem of allocator code iteself. After examining the code in allocator, I found the media_vars and media_spends have been reordered in channel names, but the model coefficients seem to be ordered in another way here. I guess this inconsistency in the order caused the weird allocation result. (All coefficient for channels are positive in my model.) |
Hi @JiaMeihong I've been re-coding some important stuff in |
X-ref: Possibly connected with the same issue |
@laresbernardo
|
Hi @JiaMeihong
|
Hi @laresbernardo
|
Yes, I think sharing your data will def help me debug this; I'll do my best to understand what's happening there. Share the data file and script you are running so I can replicate it exactly, please. |
Feel free to re-open if the error or issue persists @JiaMeihong |
Project Robyn
As suggested by @kyletgoldberg, I create this issue below, which is likely to be caused by some bug of allocator.
Describe issue
I’ve tried both scenarios of history-based optimization and future optimization with given budget.
My constraint over channels is (0.8,1.5) for each channel.
I found
Provide dummy data & model configuration
I've check the model result, it has a R2 above 0.75, and no coefficients of our interest is zero.
So I've detected no abnormality in the model.
Environment & Robyn version
R version (R --version): 4.1.2
Robyn version: latest version
The text was updated successfully, but these errors were encountered: