sentence1: the neural network was trained using the adam back-propagation algorithm to minimize a categorical cross-entropy loss function for 100 epochs .
sentence2: the network was trained using the adam optimization algorithm as it is computationally efficient and exhibits faster convergence than standard stochastic gradient descent methods .