Clear Filters
Clear Filters

Genetic Algorithm matlab code

1 view (last 30 days)
Maximus Su
Maximus Su on 20 Mar 2022
Answered: Zuber Khan on 23 Feb 2024
Hi readers,
I read this article at here about genetic algorithm. It helps to find the max point of a given function. May I ask if it is possible to modify the code that the author has written to train the data at (hi.csv excel file attached below) which has 2 inputs & 1 output to predict the output of a result using regression given a 2 random inputs ? You can try to ammend the files that I have prepared below to test your solutions :)
Thank you and have a nice day.

Answers (1)

Zuber Khan
Zuber Khan on 23 Feb 2024
Hi,
I understand that you want to use genetic algorithm for regression.
I would suggest you to refer to the following MATLAB Answer:
I hope this will help you to resolve your query.
Regards,
Zuber

Community Treasure Hunt

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

Start Hunting!