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

Can we optimize budget allocation based on KPIs (Key Performance Indicators)? Additionally, I'd like to understand how the mean value is calculated in the budget allocator code. #975

Closed
amanrai2508 opened this issue May 13, 2024 · 3 comments

Comments

@amanrai2508
Copy link

amanrai2508 commented May 13, 2024

Project Robyn

Describe issue

Hi @ALL
I wanted to know :

  1. Can we optimize budget allocation based on KPIs (Key Performance Indicators)?
  2. Additionally, I'd like to understand how the mean value is calculated in the budget allocator code. (Can someone refer me to the code ?)
@gufengzhou
Copy link
Contributor

  1. The allocator needs a metric to optimise towards. So yes, it always miximises the dependent variable, whatever you're modeling. Not sure if this is what you're asking.
  2. Do you mean "mean spend"? then Here, it's the mean spend of a period you set as date_range. Mean response is the response of mean spend on a given saturation curve, see here.

@amanrai2508
Copy link
Author

amanrai2508 commented May 15, 2024

Thanks for the reply @gufengzhou .
For the 1st question : So currently we are sending total_budget (max response) scenario and we are getting the optimized revenue against that.
I am asking is there a way that we can pass target KPI (Use Case : Let's say we are targeting for 2 million usd of revenue for the next quarter) and for that we want the amount of spend (optimized) that will help us to get that revenue.

@gufengzhou
Copy link
Contributor

At the moment, you can just adapt the total_budget and try out what spend brings you closer to your target revenue. We're not offering the mentioned capability yet, because it's a different optimisation objective --> it'd be minimising the spend given a target, instead of maximising the target, given a spend. It's not super trivial to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants