record neural network training part 1