The authors provide a deep discussion for the potential application of machine learning methods in improving the optimization performance of the neural network algorithm, helping readers understand how to use machine learning methods to design improved versions of the algorithm. Users will find a wealth of source code that covers all applied algorithms. Code applications enhance readers' understanding of methods covered and facilitate readers' ability to apply the algorithms to their own research and development projects.