Genetic Algorithm New population creation

2 visualizaciones (últimos 30 días)
MatlabUserN
MatlabUserN el 3 de Mayo de 2018
Editada: MatlabUserN el 13 de Feb. de 2019
I am working with genetic algorithm toolbox. I don't to how to use it to produce new features to reduce classification loss. My fitness function is classification loss. I am getting this error
Error using classreg.learning.FullClassificationRegressionModel.prepareDataCR (line 201) X and Y do not have the same number of observations.
Error in classreg.learning.classif.FullClassificationModel.prepareData (line 487) classreg.learning.FullClassificationRegressionModel.prepareDataCR(...
Error in ClassificationKNN.prepareData (line 875)

Respuestas (1)

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy el 3 de Mayo de 2018
Try this.
if true
% Data1 = load('Data2.mat','traindata');
end

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by