model_output <- f.mmmRobyn(set_hyperBoundGlobal
,set_iter = set_iter
,set_cores = set_cores
,epochN = Inf # set to Inf to auto-optimise until no optimum found
,optim.sensitivity = 0 # must be from -1 to 1. Higher sensitivity means finding optimum easier
,temp.csv.path = getwd() # output optimisation result for each epoch. Use getwd() to find path
)
I'm recieving the following error with traceback. This error shows after the iteration process finishes.
Error in { : task 6 failed - "'from' must be a finite number"
7.
stop(simpleError(msg, call = expr))
6.
e$fun(obj, substitute(ex), parent.frame(), e$data)
5.
foreach(i = 1:iterRS, .export = c("f.adstockGeometric", "f.adstockWeibull",
"f.transformation", "f.rsq", "f.decomp", "f.calibrateLift",
"f.lambdaRidge", "f.refit"), .packages = c("glmnet", "stringr",
"data.table"), .options.snow = opts) %dopar% { ... at fb_nextgen_mmm_v20.0.func.R#755
4.
system.time({
doparCollect <- foreach(i = 1:iterRS, .export = c("f.adstockGeometric",
"f.adstockWeibull", "f.transformation", "f.rsq", "f.decomp",
"f.calibrateLift", "f.lambdaRidge", "f.refit"), .packages = c("glmnet", ... at fb_nextgen_mmm_v20.0.func.R#754
3.
f.mmm(hyper_bound_global, iterRS = set_iter, set_cores = set_cores,
out = out) at fb_nextgen_mmm_v20.0.func.R#1003
2.
system.time({
model_output <- f.mmm(hyper_bound_global, iterRS = set_iter,
set_cores = set_cores, out = out)
}) at fb_nextgen_mmm_v20.0.func.R#1002
1.
f.mmmRobyn(set_hyperBoundGlobal, set_iter = set_iter, set_cores = set_cores,
epochN = Inf, optim.sensitivity = 0, temp.csv.path = getwd())