-
Notifications
You must be signed in to change notification settings - Fork 364
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 Allocator issue #349
Comments
Hi @prashanthin thanks for reporting this. This is def a bug we have in this late version. Can you please check this comment and try this out? There are several users that have reported this and we are working on a solution in a separate branch before we merge to master. Please, let me know if this particular issue has been fixed for you on the "allocation_range" branch. Thanks! |
Hi Bernardo, Thanks for the reply. I tried running code updating Robyn running below - remotes::install_github('facebookexperimental/Robyn/R@allocation_range') But Still I am getting same error. when I ran the case example already installed with Robyn its showing the changed values - But for my case its showing same. Neither optimised and intial budget allocation changing, also opimised response is higher for all the channels. Also I have one question when I compared 2 graphs - why for me total spend increases is 50% while in case example its zero? Can you guide me what can I do next. Thanks. |
Hey @prashanthin it seems you're not loading the updated "allocation_range" branch version. I know this because we changed some of the formattings on those plots. Please, try again by updating the Robyn version as you did, resetting your R session, and retrying. Let me know |
Hey Bernardo, Thanks for the reply. I have used the updated Robyn package ( from allocation branch ) as you said, but it has many problems/bugs. Some of which are mentioned below -
problem - but when I ran the robyn_allocator with max_historical_response - I am getting below data in my file - Its clear that historical spend are not aligned to channels , as figures are mismatched, Can you please fix/provide solution to this issue ?
Problem - I am getting negative spend increase and hence optimum budget allocation is not changing - bugs - 1) why my expspend unit total is coming as 71428, instead of spending 500000 as total spend for all channels. Below is the budget allocation graph for exp spend as 500000 Can you please help me in resolving these issues? Prashant |
Would you be able to share with me your dataset and script so it can help me debug easier these bugs you mention? Thanks a lot for taking the time to double-check this branch's changes. Please add #349 in the email so I know you are referring to this issue. |
Ok. Received. I'll start by sharing some observations @prashanthin
That said, I share the results I was able to replicate.
Please, update with the most recent version of "allocation_range" and re-run everything to check out the fix. Also, please let us know if it makes sense so we can merge with "main" branch and deploy this to other users as well. Thanks! |
Just an opinion and a question, if the total spend increases and the spend share is the same, isn't it natural for the total response to increase? |
Hey @HasanShaukat - in most cases yes, unless the response curve were horizontal. do you mind elaborating on where this may be impacting this issue? |
I believe the origin of this issue was that the percentages of budget allocated are the same for initial and optimal, and that we're seeing higher budget for the optimal setting. But the text above the graph says that the budget volume set is 50% higher, and I believe that should account for a higher volume in response. |
Feel free to re-open if the error or issue persists @HasanShaukat @prashanthin |
Project Robyn
Hi team, I am doing a case study using Robyn package.
Describe issue
Facing issue in Budget allocator allocation - both initial and optimized budget allocation are same.
and also why my optimised response is greater than initial response? Am i missing anything while allocating budget of 1000000
Provide dummy data & model configuration
code -
AllocatorCollect <- robyn_allocator(
InputCollect = InputCollect
, OutputCollect = OutputCollect
, select_model = select_model
, scenario = "max_response_expected_spend"
, channel_constr_low = c(0.7, 0.7, 0.7,0.7)
, channel_constr_up = c(1.5, 1.5, 1.5, 1.5)
, expected_spend = 1000000 # Total spend to be simulated
, expected_spend_days = 7 # Duration of expected_spend in days
)
Allocated values -
Model ID: 4_39_5
Total Spend Increase: 6400% (440K)
Total Response Increase (Optimized): 60.9%
Allocation Summary:
DISPLAY_ad_spend:
Spend Share: Initial (avg) = 4.29% -> Optimized = 4.29%
Mean Response (per time unit): 52,112 -> Optimized = 75,148
Response: 9.436K -> Optimized = 14.15K (Delta = 50%)
PAIDSEARCH_ad_spend:
Spend Share: Initial (avg) = 62.8% -> Optimized = 62.8%
Mean Response (per time unit): 348,889 -> Optimized = 434,106
Response: 138K -> Optimized = 207K (Delta = 50%)
PAIDSOCIAL_ad_spend:
Spend Share: Initial (avg) = 17.9% -> Optimized = 17.9%
Mean Response (per time unit): 5,930 -> Optimized = 18,568
Response: 39.28K -> Optimized = 58.92K (Delta = 50%)
PARTNERSHIPMARKETING_ad_spend:
Spend Share: Initial (avg) = 15% -> Optimized = 15%
Mean Response (per time unit): 272,771 -> Optimized = 565,608
Response: 33.02K -> Optimized = 49.52K (Delta = 50%)
Environment & Robyn version
R version (R latest version)
Also Latest Robyn version
Thanks in advance.
The text was updated successfully, but these errors were encountered: