【源码】蜜蜂CNN进化算法

在这里插入图片描述

Bees CNN Algorithm (A Fuzzy Evolutionary Deep Leaning) - Created in 20 Jan 2022 by Seyed Muhammad Hossein Mousavi

% It is possible to fit deep learning weights and bias using evolutionary % algorithm, right after training stage. Here, CNN is used to classify 8 % face classes. After CNN train, initial fuzzy model is created to aid the % learning process. Finally, CNN network weights (from Fully Connected Layer) % trains using Bees algorithm % to be fitted in a nature inspired manner (here behavior of Bees). You can % used your data with any number of samples and classes. Remember, code’s % parameters are adjusted for this data and if you want to replace your % data you may have to change the parameters. Image data is in 64*64 size and % in 2 dimensions and stored in ‘CNNDat’ folder. So, important parameters % are as below: % 1. % ‘numTrainFiles’ = you have to change this based on number of your samples % in each class. for example if each class has 120 sample, 90 is good % enough as 90 samples considered for train and others for test. % 2. % ‘imageInputLayer’ = it is size of your image data like [64 64 1] % 3. % ‘fullyConnectedLayer’ = it is number of your classes like (8) % 4. % ‘MaxEpochs’ = the more the better and more computation run time like 40 % 5. % ‘ClusNum’ = Fuzzy C Means (FCM) Cluster Number like 3 or 4 is nice % 6. % These two are from “BEEFCN.m” function : % ‘Params.MaxIt’ = it is iteration number in Bees algorithm. 20 is good % ‘Params.nScoutBee’ = it is population number in Bees algorithm. Like 10. % ------------------------------------------------ % Feel free to contact me if you find any problem using the code:

% Author: SeyedMuhammadHosseinMousavi

% My Email: mosavi.a.i.buali@gmail.com

下载地址:

https://url92.ctfile.com/f/1850492-538768642-abc4ea

(访问密码:3660)

在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值