BP神经网络结构确定、遗传算法优化和BP神经网络预测我要分享

BP neural network structure determination, genetic algorithm optimization and BP neural network pred

BP神经网络 遗传算法优化 BP神经网络预测 GA

关注次数: 376

下载次数: 1

文件大小: 53KB

代码分类: 智能算法

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:

该案例的功能是使用遗传算法优化BP神经网络,分为BP神经网络结构确定、遗传算法优化和BP神经网络预测三个部分。遗传算法优化使用遗传算法优化BP神经网络的权值和阈值,种群中的每个个体都包含了一个网络所有权值和阈值,种群中的每个个体都包含了一个网络所有权值和阈值,个体通过适应度函数计算个体适应度值,遗传算法通过选择,交叉和变异操作找到最优适应度值对应个体。


English Description:

The function of this case is to use genetic algorithm to optimize BP neural network, which is divided into three parts: structure determination of BP neural network, optimization of genetic algorithm and prediction of BP neural network. Genetic algorithm optimization uses genetic algorithm to optimize the weights and thresholds of BP neural network. Each individual in the population contains a network ownership value and threshold value, and each individual in the population contains a network ownership value and threshold value. The individual calculates the individual fitness value through the fitness function, and the genetic algorithm finds the optimal fitness value through selection, crossover and mutation operations Corresponding individuals.


代码预览

BP_Ga

BP_Ga\Code.m

BP_Ga\Cross.m

BP_Ga\Decode.m

BP_Ga\Genetic.m

BP_Ga\Mutation.m

BP_Ga\PSO.m

BP_Ga\Select.m

BP_Ga\data.m

BP_Ga\data.mat

BP_Ga\fun.m

BP_Ga\test.m