prediction using genetic algorithm
Show older comments
I have a dataset having 5 input and 1 output. I want to develop a model using genetic algorithm for the available data set. So, that this model can be used for prediction. Please guide me through this
Answers (2)
Kshitij Chhabra
on 11 Aug 2021
1 vote
Alan Weiss
on 11 Aug 2021
0 votes
Perhaps you are looking at fitting a parameterized model to data using the genetic algorithm. You can follow the Nonlinear Data-Fitting example, using ga instead of fminunc as the minimizer. But you would almost certainly be better off using lsqcurvefit or lsqnonlin for this type of fitting.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!