Open mikexl opened 4 years ago
pso::psoptim(rep(NA, n.parm), function(w) { p = tanh(x %*% w ) mean((y - p)^2) })