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

Error in signif(nevergrad_hp_val[[co]][index], 6) when running robyn_run() #653

Closed merlin95555 closed 1 year ago

merlin95555 commented 1 year ago

Input data has 208 weeks in total: 2015-11-23 to 2019-11-11 Initial model is built on rolling window of 163 week: 2015-11-23 to 2018-12-31 Fitting time series with all available data... Using geometric adstocking with 17 hyperparameters (16 to iterate + 1 fixed) on 1 core (Windows fallback)

Starting 5 trials with 2000 iterations each using TwoPointsDE nevergrad algorithm... Running trial 1 of 5 | | 0%Cronometro fermo a: 0 0 0 Error in signif(nevergrad_hp_val[[co]][index], 6) : non-numeric argument to mathematical function In addition: Warning message: In hyper_collector(InputCollect, hyper_in = InputCollect$hyperparameters, : Provided train_size but ts_validation = FALSE. Time series validation inactive.

laresbernardo commented 1 year ago

Please share a reproducible example. It seems it didn't even start running the iterations and for some reason crashed because the values provided by optimizer$ask() are not valid. Please, do try refreshing your R session from scratch. Also, share what version of nevergrad you've installed in your virtual environment.

laresbernardo commented 1 year ago

Closing this task now. Feel free to reach back anytime.