⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 initnet.m

📁 nnToolKit 神经网络工具包是基于 MATLAB 神经网络工具箱自行开发的一组神经网络算法函数库
💻 M
字号:
% 根据指定的权值阈值,获得设置好的一个神经网络function [ net ] = initnet(W1, B1, W2, B2,paraments)epochs = 500;goal = 0.01 ;if(nargin > 4)    epochs = paraments(1) ;    goal   = paraments(2) ;endnet = newcf([0 255],[6 1],{'tansig' 'purelin'});net.trainParam.epochs = epochs;net.trainParam.goal = goal ;net.iw{1} = W1 ;net.iw{2} = W2 ;net.b{1}  = B1 ;net.b{2}  = B2 ;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -