Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

artifitial nueral netwrok problem The input vector to neural network will have shape p=shapetextureweight An orange is round, rough and less than one pound so

artifitial nueral netwrok problem
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
The input vector to neural network will have shape p=shapetextureweight An orange is round, rough and less than one pound so po =111 - An apple is round, smooth and less than one pound so pa=111 - The neural network should expect input po or pa as input Example Randomly initialize W and b - W=[0.510.5],b=0.5 - Calculate output for first input p1 - a= hardlim (Wp1+b)= hardiim [0.510.5]111+0.5=hardlim(0.5+1+0.5+0.5)=hardlim(2.5)=1 - Calculate error e=ta=01=1 - Update weights and bias -Wnew=Wold+epT=[0.510.5](1)[111]=[0.500.5]-bnew=bold+e=0.51=0.5 - This completes first iteration Calculate output for second input p2 - a= hardlim (Wp2+b)= - Calculate error e=ta=10=1 - Update weights and bias - Wnow=Wold+e=[0.500.5]+(1)[111]=[0.510.5] - bnew=boll+e=0.5+1=0.5 - This completes second iteration - Calculate output for first input p1 - a= hardilim(Wp1+b)= hardiim [0.510.5]111+0.5= hardlim (0.51+0.5+0.5)= hardlim (0.5)=1 - Calculate error e=ta=01m=1 - Update weights and bias - Wnew=Wila+ep1=[0.510.5](1)[111]=[0.5220.5] - bnew=boud+e=0.5+(1)=0.5 - Update weights and bias - Wnew=Wold+eg=[0.510.5](1)[111]=[0.520.5] - bnew=bold+e=0.5+(1)=0.5 - This completes third iteration - Calculate output for second input p2 - Calculate error e=ta=11=0 - Calculate output for first input p1 - a= hardlim (Wp1+b)= hardlim [0.520.5]1110.5= hardlim (0.520.50.5)= hardlim (3.5)=0 - Calculate error e=ta=00=0 - The algorithm has converged to a solution 9) Repeat the same calculation as in the example above by changing Randomly initialize W and b to W=[0.210.2],b=0.2 10) Repeat the same calculation as in the example above by changing Randomly initialize W and b to W=[0.810.8],b=0.8 11) What do you conclude

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2017 Skopje Macedonia September 18 22 2017 Proceedings Part 3 Lnai 10536

Authors: Yasemin Altun ,Kamalika Das ,Taneli Mielikainen ,Donato Malerba ,Jerzy Stefanowski ,Jesse Read ,Marinka Zitnik ,Michelangelo Ceci ,Saso Dzeroski

1st Edition

3319712721, 978-3319712727

More Books

Students also viewed these Databases questions

Question

Relational Contexts in Organizations

Answered: 1 week ago