add neural network trainer