prediction using genetic algorithm

11 visualizzazioni (ultimi 30 giorni)
Ashwini Tiwari
Ashwini Tiwari il 3 Ago 2021
Risposto: Alan Weiss il 11 Ago 2021
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

Risposte (2)

Kshitij Chhabra
Kshitij Chhabra il 11 Ago 2021
MATLAB supports the use of Genetic Algorithm as a part of it's Global Optimization Toolbox.
You can check documentation and it will help you get started.

Alan Weiss
Alan Weiss il 11 Ago 2021
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

Community Treasure Hunt

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

Start Hunting!

Translated by