《人工智能与数据挖掘教学课件》l.ppt
《《人工智能与数据挖掘教学课件》l.ppt》由会员分享,可在线阅读,更多相关《《人工智能与数据挖掘教学课件》l.ppt(30页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、2023/2/122023/2/12AI&DMAI&DM1 1Chapter 8Neural NetworksPart III:Advance Data Mining Techniques2023/2/122023/2/12AI&DMAI&DM2 21.What&Why ANN(8.1 Feed forward Neural Network)2.How ANN works-working principle(8.2.1 Supervised Learning)3.Most popular ANN-Backpropagation Network(8.5.1 The Backpropagation
2、 Algorithm:An example)Content2023/2/122023/2/12AI&DMAI&DM3 31.What&Why ANN:Artificial Neural Networks(ANN)ANN is an information processing technology that emulates a biological neural network.Neuron(Neuron(神经元神经元)vs Node(Transformation)vs Node(Transformation)Dendrite(Dendrite(树突树突)vs Input)vs Input
3、Axon(Axon(轴突轴突)vs Output)vs Output Synapse(Synapse(神经键神经键)vs Weight)vs WeightStarts in 1970s,become very popular in 1990s,because of the advancement of computer technology.2023/2/122023/2/12AI&DMAI&DM4 42023/2/122023/2/12AI&DMAI&DM5 52023/2/122023/2/12AI&DMAI&DM6 6What is ANN:Basics Types of ANNType
4、s of ANN Network structure,e.g.Figure 17.9&17.10(Turban,2000,version 5,Network structure,e.g.Figure 17.9&17.10(Turban,2000,version 5,p663)p663)Number of hidden layersNumber of hidden layers Number of hidden nodesNumber of hidden nodes Feed forward and feed backward(time dependent problems)Feed forwa
5、rd and feed backward(time dependent problems)Links between nodes(exist or absent of links)Links between nodes(exist or absent of links)The ultimate objectives of training:obtain a set of weights that makes all the The ultimate objectives of training:obtain a set of weights that makes all the instanc
6、es in the training data predicted as correctly as possible.instances in the training data predicted as correctly as possible.Back-propagation is one type of ANN which can be used for classification Back-propagation is one type of ANN which can be used for classification and estimationand estimation
7、multi-layer:Input layer,Hidden layer(s),Output layermulti-layer:Input layer,Hidden layer(s),Output layer Fully connected Fully connected Feed forwardFeed forward Error back-propagationError back-propagation2023/2/122023/2/12AI&DMAI&DM7 71.What&Why ANN(8.1 Feed forward Neural Network)2.How ANN works-
8、working principle(8.2.1 Supervised Learning)3.Most popular ANN-Backpropagation Network(8.5.1 The Backpropagation Algorithm:An example)Content2023/2/122023/2/12AI&DMAI&DM8 82.How ANN:working principle(I)Step 1Step 1:Collect data:Collect dataStep 2Step 2:Separate data into training and test:Separate d
9、ata into training and test sets for network training and validation sets for network training and validation respectivelyrespectivelyStep 3Step 3:Select network structure,learning:Select network structure,learning algorithm,and parametersalgorithm,and parameters Set the Set the initial weightsinitia
10、l weights either by rules or randomly either by rules or randomly Rate of learningRate of learning(pace to adjust weights)(pace to adjust weights)Select learning algorithm(Select learning algorithm(More than a hundred More than a hundred learning algorithms available for various situations and learn
11、ing algorithms available for various situations and configurations)configurations)2023/2/122023/2/12AI&DMAI&DM9 92.ANN working principle(II)Step 4Step 4:Train the network:Train the network Compute outputsCompute outputs Compare outputs with desired targets.The difference Compare outputs with desired
12、 targets.The difference between the outputs and the desired targets is called deltabetween the outputs and the desired targets is called delta Adjust the weights and repeat the process to minimize the Adjust the weights and repeat the process to minimize the delta.delta.The objective of training is
13、to The objective of training is to MinimizeMinimize the Delta(Error).the Delta(Error).The final result of training is a set of weights.The final result of training is a set of weights.Step 5Step 5:Test the network:Test the network Use test set:comparing test results to historical results,to Use test
14、 set:comparing test results to historical results,to find out the accuracy of the networkfind out the accuracy of the network Step 6Step 6:Deploy developed network application if the:Deploy developed network application if the test accuracy is acceptabletest accuracy is acceptable2023/2/122023/2/12A
15、I&DMAI&DM10102.ANN working principle(III):ExampleExample 1:OR operation(see table below)Two input elements,X1 and X2InputsCaseX1X2Desired Results1 0002011(positive)3101(positive)4111(positive)2023/2/122023/2/12AI&DMAI&DM11112.ANN working principle(IV):Example Network structure:one layer(see next pag
16、e)Network structure:one layer(see next page)Learning algorithmLearning algorithm Weighted sum-summation function:Weighted sum-summation function:Y1=Y1=XiWiXiWi Transformation(transfer)function:Y1 less than threshold,Y=0;Transformation(transfer)function:Y1 less than threshold,Y=0;otherwise Y=1otherwi
17、se Y=1 Delta=Z-YDelta=Z-Y Wi(final)=Wi(initial)+Alpha*Delta*XiWi(final)=Wi(initial)+Alpha*Delta*Xi Initial Parameters:Initial Parameters:Rate of learning:alpha=0.2Rate of learning:alpha=0.2Threshold=0.5;Threshold=0.5;Initial weight:0.1,0.3Initial weight:0.1,0.3 Notes:Notes:Weights are initially rand
18、om Weights are initially random The value of The value of learning rate-learning rate-alpha,is set low first.alpha,is set low first.2023/2/122023/2/12AI&DMAI&DM1212Processing Informationin an Artificial Neuronx x1 1w w1j1jx x2 2Y Yj jw w2j2jNeuron jNeuron j w wij ij x xi iWeightsWeightsOutputOutputI
19、nputsInputsSummationsSummationsTransfer functionTransfer function2023/2/122023/2/12AI&DMAI&DM13131.What&Why ANN(8.1 Feed forward Neural Network)2.How ANN works-working principle(8.2.1 Supervised Learning)3.Most popular ANN-Backpropagation Network(8.5.1 The Backpropagation Algorithm:An example)Conten
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 人工智能与数据挖掘教学课件 人工智能 数据 挖掘 教学 课件
限制150内