added trainer for poisson parameters