Genetic Algorithm New population creation
조회 수: 1 (최근 30일)
이전 댓글 표시
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)
댓글 수: 0
답변 (1개)
Yuvaraj Venkataswamy
2018년 5월 3일
Try this.
if true
% Data1 = load('Data2.mat','traindata');
end
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!