dissertation 2020 University of Edinburgh thesis: Comparison and implementation different learning algorithms for neural networks