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.08k stars 322 forks source link

Error in nevergrad_hp[[co]] <- optimizer$ask() : attempt to select less than one element in integerOneIndex #888

Closed roylist closed 6 months ago

roylist commented 6 months ago

Project Robyn

Describe issue

I am tring to train the model, run the code OutputModels <- robyn_run( InputCollect = InputCollect, # feed in all model specification cores = -1, # NULL defaults to (max available - 1) iterations = 2000, # 2000 recommended for the dummy dataset with no calibration trials = 5, # 5 recommended for the dummy dataset ts_validation = TRUE, # 3-way-split time series for NRMSE validation. add_penalty_factor = FALSE # Experimental feature. Use with caution. )

the error come out:

Starting 5 trials with 2000 iterations each using TwoPointsDE nevergrad algorithm... Running trial 1 of 5 | | 0%Timing stopped at: 0 0 0 Error in nevergrad_hp[[co]] <- optimizer$ask() : attempt to select less than one element in integerOneIndex

How to solve the problem?