simul: auto detect predict (if theta.json is an array)