资源简介

采用最先进的殖民竞争算法Imperialist competition algorithm优化BP神经网络的初始权值、阈值,进行风电功率预测,带数据和实例,ica为主程序

资源截图

代码片段和文件信息

function TheEmpire = AssimilateColonies(TheEmpireAlgorithmParamsProblemParams)

% for i = 1:numel(Imperialists)
%     Imperialists{i}.Number_of_Colonies_matrix = [Imperialists{i}.Number_of_Colonies_matrix      Imperialists{i}.Number_of_Colonies];
%
%     Imperialists_cost_matrix (i) = Imperialists{i}.cost_just_by_itself;
%
%     Imperialists_position_matrix(i:) = Imperialists{i}.position;

NumOfColonies = size(TheEmpire.ColoniesPosition1);

Vector = repmat(TheEmpire.ImperialistPositionNumOfColonies1)-TheEmpire.ColoniesPosition;

TheEmpire.ColoniesPosition = TheEmpire.ColoniesPosition + 2 * AlgorithmParams.AssimilationCoefficient * rand(size(Vector)) .* Vector;

MinVarMatrix = repmat(ProblemParams.VarMinNumOfColonies1);%   (NumOfCountriesX1) 的列向量, 值均为ProblemParams.Var

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1522  2013-07-12 10:57  ICA wind prediction\AssimilateColonies.m

     文件       2291  2014-01-08 15:43  ICA wind prediction\bplater.m

     文件        203  2014-01-08 15:29  ICA wind prediction\Cost.mat

     文件       2279  2013-07-12 11:24  ICA wind prediction\CreateInitialEmpires.m

     文件       2410  2008-11-05 04:17  ICA wind prediction\DisplayEmpires.m

     文件       1967  2014-01-08 15:11  ICA wind prediction\fitcal.m

     文件        702  2013-07-12 14:31  ICA wind prediction\GenerateNewCountry.m

     文件        874  2013-10-12 14:59  ICA wind prediction\goontest.mat

     文件       8153  2014-01-08 15:21  ICA wind prediction\ica.m

     文件       2128  2013-07-12 14:11  ICA wind prediction\ImperialisticCompetition.m

     文件        450  2014-01-08 15:29  ICA wind prediction\pos.mat

     文件        710  2013-07-12 13:32  ICA wind prediction\PossesEmpire.m

     文件        546  2013-07-12 11:25  ICA wind prediction\RevolveColonies.m

     文件       6430  2013-10-11 21:12  ICA wind prediction\traindata1011.mat

     文件       1884  2008-11-05 03:27  ICA wind prediction\UniteSimilarEmpires.m

     目录          0  2014-01-14 22:10  ICA wind prediction

----------- ---------  ---------- -----  ----

                32549                    16


评论

共有 条评论