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 322 forks source link

Error in robyn_recreate() with a model pre-trained #920

Open caarolinagil opened 4 months ago

caarolinagil commented 4 months ago

Describe issue

Error in robyn_recreate() when a variable has size 0 in hyperparameters. Analyzing Analyzing the json_file of my model, I see that in ExportedModel > hyper_values > users_mail_scales: 0.

But I don't understand the error since, when defining the hyperparameters for Weibull PDF, in scales it is allowed to put a range (0, 0.1).

"Error in { : task 1 failed - "Can't recycle 'channel_1' (size 266) to match 'channel_2' (size 0)."

Environment & Robyn version

Make sure you're using the latest Robyn version before you post an issue.

gufengzhou commented 4 months ago

sorry for the late reply. does the problem still persists? It's due to diff vector lengths, see this. You provided the same dataset for recreate?

caarolinagil commented 4 months ago

Yes, I'm providing the same dataset for the model I'm trying to recreate.

It is due to diff vector lengths but it comes directly from the json so I don't know how to solve it.