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.07k stars 323 forks source link

Suggestion: Cleaner RobynLog #968

Open AdQ-MiguelMolina opened 1 month ago

AdQ-MiguelMolina commented 1 month ago

Project Robyn

Describe issue

Hello, I don't know how this would be in R, but currently I am using Python on Jupyter Notebook and to do so I use the API command that is on the demo. This command needs a txt file to store the RobynLog as an argument.

The thing is that, when you run consecutive Robyn executions, the logs are added to the end of the file unless you restart the API. This itself is a bit uncomfortable since I need to manually get the port (or at least I don't know how to do it automatically).

For easier readability, could you, pleas, add some separator for each execution?

For example.


RobynLog


Something like this, so when we run multiples Robyn consecutively, we can read each one separately.

Thanks in advance.

gufengzhou commented 1 month ago

Thanks for reporting. @yu-ya-tanaka this should be a quick fix

ebyjose commented 1 month ago

Hi. Thanks for supporting Robyn. The Robyn log file was a solution built primarily for windows users as the logs wouldnt present themselves on the notebook within the OS. Thus by design it stores all runs as such before endpoint execution. And by design would be same as running the same in R console.