当前位置: 代码网 > it编程>软件设计>交互 > 机器学习——神经网络简单了解

机器学习——神经网络简单了解

2024年08月04日 交互 我要评论
神经网络可以分为生物神经网络和人工神经网络(1)生物神经网络,指的是生物脑内的神经元、突触等构成的神经网络,可以使生物体产生意识,并协助生物体思考、行动和管理各机体活动。(2)人工神经网络,是目前热门的深度学习的研究基础。目前对人工神经网络的定义多种多样,本书采用TKohonen1988年在NeuralNetworks 创刊号上给出的定义,即:“人工神经网络是由具有适应性的简单单元组成的广泛并行互连的网络,它能够模拟生物神经系统对真实世界物体所做出的交互反应”(Kohonen,1988)

一、神经网络基本概念

二、最初的神经网络模型——m-p模型 

 三、感知机模型

 四、bp神经网络

 

 

% solve an input-output fitting problem with a neural network
% script generated by neural fitting app
% created 23-mar-2024 10:31:29
%
% this script assumes these variables are defined:
%
%   iris_1 - input data.
%   iris_2 - target data.

x = iris_1';
t = iris_2';

% choose a training function
% for a list of all training functions type: help nntrain
% 'trainlm' is usually fastest.
% 'trainbr' takes longer but may be better for challenging problems.
% 'trainscg' uses less memory. suitable in low memory situations.
trainfcn = 'trainlm';  % levenberg-marquardt backpropagation.

% create a fitting network
hiddenlayersize = 10;
net = fitnet(hiddenlayersize,trainfcn);

% setup division of data for training, validation, testing
net.divideparam.trainratio = 60/100;
net.divideparam.valratio = 20/100;
net.divideparam.testratio = 20/100;

% train the network
[net,tr] = train(net,x,t);

% test the network
y = net(x);
e = gsubtract(t,y);
performance = perform(net,t,y)

% view the network
view(net)

% plots
% uncomment these lines to enable various plots.
%figure, plotperform(tr)
%figure, plottrainstate(tr)
%figure, ploterrhist(e)
%figure, plotregression(t,y)
%figure, plotfit(net,x,t)

五、卷积神经网络

 

 

 

 

 六、循环神经网络

 

 

 

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com