Genetic Algorithm for feature selection
显示 更早的评论
I am working on genetic algorithm for feature selection in Brain MRI Images. I have done the coding part but not getting the correct results. I have used 20 chromosomes of length 10 (features = 10), tournament selection for parent selection, then crossover and mutation to create a new generation.
This process is repeated 50 times. But the results are not correct. I am not getting what is the problem, whether the features I am taking are not correct or there is some mistake in my understanding of genetic algorithm.
https://drive.google.com/folderview?id=0Bys_Tre7ZR9ufmRSR0RjRjRrc0IyNF92Rm83dURleUpaeXhTLWs0R2cwVUk4clRfTjY4djQ&usp=sharing
This the link of my shared folder named project in which my whole code is there. The main code is named "newgenetic" and the rest are functions. Please help me...
6 个评论
purti choudhary
2015-3-28
Geoff Hayes
2015-3-29
purti - you can attach your code using the paperclip button. Make sure that you press the Attach File button once you have chosen the file. Also, please describe what you mean by the results are not correct. What does this mean to you?
purti choudhary
2015-3-30
purti choudhary
2015-3-30
Geoff Hayes
2015-3-31
Purti - what do the fitness values mean? From your code, it appears that you have coded up your own version of the Genetic Algorithm. Have you verified that your algorithm works for other problems?
purti choudhary
2015-3-31
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Biomedical Imaging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!