facebookexperimental / Robyn

Robyn is an experimental, AI/ML-powered and open sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. Our mission is to democratise modeling knowledge, inspire the industry through innovation, reduce human bias in the modeling process & build a strong open source marketing science community.
https://facebookexperimental.github.io/Robyn/
MIT License
1.16k stars 344 forks source link

Robyn one pager: Response curve plot implementation #1123

Closed sumalreddy17 closed 2 weeks ago

sumalreddy17 commented 2 weeks ago

Add response curves visualization

Implement response curves showing spend vs response relationship Add carryover effect shading for each channel Display mean spend points with formatted labels Support both standalone and subplot integration Use abbreviated axis labels for large numbers Add legend with channel colors Include proper grid and axis styling

Testing:

Screenshot 2024-11-07 at 5 32 23 PM

Graph plotted by R code

Screenshot 2024-11-06 at 2 54 02 PM
sumane81 commented 2 weeks ago

Although we have plan to address accuracy later, testing plot and plot from R differs a lot. Is because data is different?

sumalreddy17 commented 2 weeks ago

Yes i believe the data used is different. Only way to verify is to use same data for both python and R code and plot graphs which is part of sanity check plan.

dhavalpatel624624 commented 2 weeks ago

If the testing is done on different dataset then this looks good to me. Approved.