How to apply an algorithm into neural network?

조회 수: 3 (최근 30일)
Ken Kueh
Ken Kueh 2012년 11월 14일
답변: Yarpiz / Mostapha Heris 2015년 9월 13일
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
Greg Heath 2012년 11월 14일
Yes. Have you searched the net, Newsgroup and Answers with the obvious searchwords?

댓글을 달려면 로그인하십시오.

답변 (1개)

Yarpiz / Mostapha Heris
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:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by