How to apply an algorithm into neural network?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
Is there any way to apply an algorithm (say ant colony) into neural network for training and simulating future data?
Thanks
댓글 수: 1
Greg Heath
2012년 11월 14일
Yes. Have you searched the net, Newsgroup and Answers with the obvious searchwords?
답변 (1개)
Yarpiz / Mostapha Heris
2015년 9월 13일
Training of a neural network is a real-valued optimization problem, and can not be solved with standard ant algorithms (such as Ant System and Ant Colony Optimization), and you need to use the Ant Colony Optimization for Continuous Domains (ACOR).
Ant implementation of ACOR is available to download in the following link:
To train an artificial neural network using a metaheuristic (like ACOR), you need to define an objective function, which gets the decision variables (parameters of the networks), sets the parameters in the structure of the networks equal to these values, evaluate the network for the train set of data, and finally calculate an index of performance (e.g. RMS of error), and return this value. This is used as objective function for the optimization function and can be used with any intelligent optimization algorithm.
A similar work, is performed for training of an ANFIS (Adaptive Neuro-Fuzzy Inference System) structure, using PSO and GA, and the related source code is available to download, in the following link:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Traveling Salesman (TSP)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!