facebookexperimental / facebookexperimental/Robyn

Plotting the response curves of the Robyn Allocator Output

Open
#1,136 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.5k
Forks
433
PR merge metrics
No merged PRs in 30d

Description

Hello Team,

I am tying to plot the response curves for the allocation period and using the piece of code below. I am assuming this will be for the entire duration of the allocation period and not just per week as shown in the image below. What is the best way to capture the initial and bounded values shown on the plot? Also, is there a way I can extract these values separately to plot two different graphs?

```
scurve <- list()
scurve[["data"]] <- AllocatorCollect$plots$p3$data
plot_data <- scurve[["data"]][, c("channel", "spend", "total_response")]
```

![3_531_2_reallocated_best_roas (5)](https://github.com/user-attachments/assets/958f3c0e-8f11-4713-b240-4c9261458f99)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.