How to solve problem with particle swarm optimization?

6 visualizzazioni (ultimi 30 giorni)
Ammy
Ammy il 7 Giu 2018
Commentato: Ammy il 7 Giu 2018
I want to define an objective function (any function e.g. ax+b) in addition to error function (e.g. mean square error) with particle swarm optimization? I want to minimize the objective function ad want to find the least erroe

Risposte (1)

Alan Weiss
Alan Weiss il 7 Giu 2018
I am not sure that I understand you. Do you have Global Optimization Toolbox with the particleswarm solver? If so, then what do you need?
Perhaps you are looking for instructions on how to perform a least-squares curve fit using a general optimizer. There are several examples in the documentation:
If I misunderstand what you are seeking, please elaborate on your question.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 Commento
Ammy
Ammy il 7 Giu 2018
I want to do artificial neural network with particle swarm optimization,

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by