フィルターのクリア

Genetic Algorithm New population creation

1 回表示 (過去 30 日間)
MatlabUserN
MatlabUserN 2018 年 5 月 3 日
編集済み: MatlabUserN 2019 年 2 月 13 日
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)

回答 (1 件)

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy 2018 年 5 月 3 日
Try this.
if true
% Data1 = load('Data2.mat','traindata');
end

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by