Finding a fitness function for genetic algorithm

I have a problem with genetic algorithm GUI toolbox.
Now my problem is how I want to create the fitness function? Are there any tutorials regarding this problem?

1 commentaire

yildirimmustafa
yildirimmustafa le 26 Oct 2016
Modifié(e) : Image Analyst le 27 Oct 2016

Multi-objective Optimization with Genetic Algorithm - A MATLAB Tutorial for Beginners : https://www.youtube.com/watch?v=IV5Pr2E2cK4&spfreload=1#t=41.178291

Connectez-vous pour commenter.

Réponses (3)

Jan
Jan le 3 Mar 2011
Modifié(e) : John Kelly le 26 Fév 2015

1 vote

Computing Objective Functions explains how to write this file:
BTW: You could ask Google for "Matlab generic fitness function" also.
Normazlina
Normazlina le 10 Oct 2016

0 votes

HI,
I have a problem in writing the fitness function. Please help.
renu gowtham
renu gowtham le 4 Jan 2017

0 votes

i need matlab code of genetic algorithm for roi extraction...

3 commentaires

It is not possible to write code for that purpose. I like to give the example of the cosmic microwave background radiation, which was thought to be pure noise to always be gotten rid of, but then someone realized it held some important information and now the exact same images where the microwave signal was eliminated as "background" leaving everything else as foreground, had to be reexamined blocking out the previous foreground and looking at what was considered background before.
Since the same data might be either foreground or background depending on what you are studying, it is not possible to write an automated routine to extract ROI because such a routine cannot know what the user's intention is.
Therefore the best you can do is write code to extract ROI for some particular purpose. And since we do not know your purpose or the properties of the images you are examining we cannot provide the code.
Jan
Jan le 4 Jan 2017
@renu gowtham: Please do not attach a new question in the sections for answers. Open a new thread instead and provide any details. It is simply impossible to post a matching code for such a general statement as yours.
k tanq u

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by