Starting ANN training.