How to apply an algorithm into neural network?

3 visualizzazioni (ultimi 30 giorni)
Ken Kueh
Ken Kueh il 14 Nov 2012
Hi,
Is there any way to apply an algorithm (say ant colony) into neural network for training and simulating future data?
Thanks
  1 Commento
Greg Heath
Greg Heath il 14 Nov 2012
Yes. Have you searched the net, Newsgroup and Answers with the obvious searchwords?

Accedi per commentare.

Risposte (1)

Yarpiz / Mostapha Heris
Yarpiz / Mostapha Heris il 13 Set 2015
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