2. Consider the neuron on the left with three inputs. The plot of the activation function...
Fantastic news! We've Found the answer you've been seeking!
Question:
![2. Consider the neuron on the left with three inputs. The plot of the activation function of the neuron is](https://dsd5zvtm8ll6.cloudfront.net/questions/2024/01/659bb1aaedfe7_1704792334292.jpg)
Transcribed Image Text:
2. Consider the neuron on the left with three inputs. The plot of the activation function of the neuron is given on the right. More precisely, -{₁+ f(v) = 0, v +0.5, 1, v < -0.5 -0.5 ≤ v ≤ 0.5 v> 0.5 (a) Suppose the error at the output is defined as E = (t-o)² where t is the target output. Derive the weight update equations for this neuron using the gradient descent method. (b) Write a program to train this neuron such that it evaluates the function (21 AND 22) OR 23. Note that in this problem you are not restricted to use the McCulloch-Pitts neuron. In fact, you will train the network to find the weights. In your program, you should i. initialize the weights randomly, ii. use the weight update equations you derived in part (a), iii. stop the iterations when the error drops below the "machine epsilon" (in MATLAB, it is denoted by the constant eps.). Report the resulting values of the weights. How does the learning rate affect the convergence? Try different values and discuss. (c) Since there are three inputs, they can be visualized in 3D space. Plot the input points and the discriminant corresponding to the weights you found in part (b), and explain how this problem can be interpreted as a linear discriminant problem separating two sets of points. 2. Consider the neuron on the left with three inputs. The plot of the activation function of the neuron is given on the right. More precisely, -{₁+ f(v) = 0, v +0.5, 1, v < -0.5 -0.5 ≤ v ≤ 0.5 v> 0.5 (a) Suppose the error at the output is defined as E = (t-o)² where t is the target output. Derive the weight update equations for this neuron using the gradient descent method. (b) Write a program to train this neuron such that it evaluates the function (21 AND 22) OR 23. Note that in this problem you are not restricted to use the McCulloch-Pitts neuron. In fact, you will train the network to find the weights. In your program, you should i. initialize the weights randomly, ii. use the weight update equations you derived in part (a), iii. stop the iterations when the error drops below the "machine epsilon" (in MATLAB, it is denoted by the constant eps.). Report the resulting values of the weights. How does the learning rate affect the convergence? Try different values and discuss. (c) Since there are three inputs, they can be visualized in 3D space. Plot the input points and the discriminant corresponding to the weights you found in part (b), and explain how this problem can be interpreted as a linear discriminant problem separating two sets of points.
Expert Answer:
Answer rating: 100% (QA)
a Weight update equations for the neuron using the gradient descent method The gradient of the error function with respect to the weights is given by ... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Following are simplified job cost sheets for three custom jobs at the end of June for Custom Patios. Job Number 102 Materials $ 34,000 Labor Overhead 13,000 4,030 Job Number 103 Materials Labor...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Use transaction analysis charts to analyze the following adjustments: a. Depreciation on equipment, $1,000. b. Rent expired, $600.
-
For the theory of constraints, which of the following determines the production rate of the plant? a. Local efficiency measures that encourage production of excess inventory just in case demand is...
-
a. Consider an audio conference call in Skype with N > 2 participants. Suppose each participant generates a constant stream of rate r bps. How many bits per second will the call initiator need to...
-
Suppose you have 12 construction workers and you wish to assign 3 to jobsite LO5 1, 4 to jobsite 2, and 5 to jobsite 3. In how many different ways can you make this assignment?
-
Refer to the information for Jasper Company above. Jasper Company provided the following information for last year: Sales in units ............... 300,000 Selling price ................ $9 Direct...
-
The periodic system yields a greater ending inventory than the perpetual system under the FIFO method. True or False?
-
Coca Cola (KO) price is $61/share. The company is expected to pay dividend of $1.7/share next year. (In reality, dividends are paid quarterly. In this question we will assume for simplicity that all...
-
portal - Search X Gateway (Student Portal) - East X 11.7: Graded Homework X egcc.instructure.com cour nments/978935 Sunday by 11.57pm omits COOL AvallaDic alter NOV ZI FOURTH 11.7: Graded Homework...
-
Give your overall opinion . What do you think about neuromarketing? Is it usefull or is it a waste of time? Some people think this practice is "Orwellian", do you agree? Can marketers manage the...
-
Question 1. Let z= f(x,y), x = g (s, t). and ' y = h (s, t). with f, g & h all differentiable. (a) Set up an appropriate tree diagram for the of chain rule as done in this module's Use video lessons:...
-
ow do synergistic dynamics emerge within high-performance teams, and what role do diverse skill sets, complementary roles, and shared goals play in fostering collaborative innovation and collective...
-
(14%) Problem 3: The circuit shown contains a voltage source with emf & = 5.99 V, a resistor with resistance R = 135 k2, and a capacitor with capacitance C = 507 nF. When switch S is set to position...
-
1. What functions do all managers perform regularly? How do these functions apply to the three levels of management found in most organizations? 2. Identify and distinguish between the different...
-
in the format of the lst picture(s) Problem 6-4A Gross profit comparisons and cost flow assumptions-perpetual LO2, 3 eXcel CHECK FIGURES: 1. Ending inventory: a. $9,600.00; b. $10,982.30 Gale Company...
-
Why do CPA firms sometimes use a combination of positive and negative confirmations on the same audit?
-
What if you consider an exothermic reaction in which internal diffusion limits the rate of reaction? Can you explain how the internal effectiveness factor could be greater than one, that is, > 1?...
-
Go to the LearnChemE screencasts link for Chapter 6 (http://www.learncheme.com/screencasts/kinetics-reactor-design). a. View one or more of the screencast 5- to 6-minute videos and write a two...
-
Consider an ideal PFR, CSTR, and LFR. a. Evaluate the first moment about the mean m1=0(t) E(t)dt for a PFR, a CSTR, and an LFR. b. Calculate the conversion in each of these ideal reactors for a...
-
Find an example of a company that took a big risk on an IT project and succeeded. In addition, find an example of a company that took a big risk and failed. Summarize each project and situation in a...
-
Create a risk register for the project, using Table 11-5 and the data after it as a guide. Identify six potential risks, including risks related to the problems described in the previous paragraph....
-
Open the template file called breakeven using Microsoft Excel. Examine the formulas in the file to understand the relationships between the variables (such as sales price per unit, manufacturing cost...
![Mobile App Logo](https://dsd5zvtm8ll6.cloudfront.net/includes/images/mobile/finalLogo.png)
Study smarter with the SolutionInn App