1. Perceptrons. (7 points) In class, we showed how to learn the OR function using the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Perceptrons. (7 points) In class, we showed how to learn the "OR" function using the perceptron learning rule. Now we want to learn the "NAND" function using four patterns, as shown in Table 1. Input Output 00 1 01 1 10 1 11 0 Table 1: The "NAND" function (a) (1 pt) Write down the perceptron learning rule as an update equation. (b) (4 pts) Draw the rest of this table, as we did in class, as the network learns NAND. Initialize wo, w, and w2 to be 0 and fix the learning rate to 1. Add one row for each randomly selected pattern (training example) for the perceptron to learn. Stop when the learning converges. Make sure you show the final learned weights and bias. You may pick a "random" order to make the learning converge faster, if you can (you may not need all of these rows). x1 22 Output Teacher Wo W1 W2 1 1 1 0 0 0 0 0 0 0 1 -1 -1 -1 0 1 0 1 0 -1 -1 (c) (2 pts) Is the solution unique? Why or why not? Justify your answer. 1. Perceptrons. (7 points) In class, we showed how to learn the "OR" function using the perceptron learning rule. Now we want to learn the "NAND" function using four patterns, as shown in Table 1. Input Output 00 1 01 1 10 1 11 0 Table 1: The "NAND" function (a) (1 pt) Write down the perceptron learning rule as an update equation. (b) (4 pts) Draw the rest of this table, as we did in class, as the network learns NAND. Initialize wo, w, and w2 to be 0 and fix the learning rate to 1. Add one row for each randomly selected pattern (training example) for the perceptron to learn. Stop when the learning converges. Make sure you show the final learned weights and bias. You may pick a "random" order to make the learning converge faster, if you can (you may not need all of these rows). x1 22 Output Teacher Wo W1 W2 1 1 1 0 0 0 0 0 0 0 1 -1 -1 -1 0 1 0 1 0 -1 -1 (c) (2 pts) Is the solution unique? Why or why not? Justify your answer.
Expert Answer:
Related Book For
Probability And Statistics
ISBN: 9780321500465
4th Edition
Authors: Morris H. DeGroot, Mark J. Schervish
Posted Date:
Students also viewed these algorithms questions
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
U Ltd has three subsidiaries (one of which is dormant) and has the following results for the year to 31 December 2020: Compute the corporation tax liability for the year and state the date (or dates)...
-
A fifteen-year-old minor was employed by Midway Toyota, Inc. On August 18, 2012, the minor, while engaged in lifting heavy objects, injured his lower back. In October 2012 he underwent surgery to...
-
Middleton Corporation just became a public corporation when shares of its stock were sold to the public three months ago. A new board of directors has been appointed to govern the corporation. Assume...
-
What control objective is served by management's establishing policies for selecting and approving investment transactions? a. Sources of capital funds should be authorized in accordance with...
-
Ramirez Company has the following data for the weekly payroll ending January 31. Employees are paid 1 times the regular hourly rate for all hours worked in excess of 40 hours per week. FICA taxes are...
-
Alumimnum foil dimensions Length (cm) 14.83 cm Width (cm) 11.58 cm Mass of aluminum foil (g)9.805 g (2pts) Volume of aluminum foil (cm) (2pts) Thickness of aluminum foil (cm) 0.0211
-
The irreversible, first-order reaction of gaseous A B occurs in spherical catalyst pellets with a radius of 2 mm. For this problem, the molecular diffusivity of A is 1.2 X 10 1 cm 2 /s and the...
-
Calculate the cost of food sales under a perpetual inventory system for the month ended March 31 given the following information: Inventory on March 31 was $2,900 Storeroom purchases for the month...
-
Think about the various flavors of chocolate blocks: dark, mint, ginger, and chili. Suppose the price of all mint chocolate blocks increases. Would this affect the sales of that type of chocolate?...
-
Assumptions are (a) implementation constraints on the design of the use case (b) conditions that must test true before executing the use case but are outside the responsibility of the use case to...
-
________ implement an objects behavior. (a) Methods (b) Messages (c) Procedures (d) Attributes
-
Pre-conditions are (a) implementation constraints on the design of the use case (b) conditions that must test true before executing the use case but are outside the responsibility of the use case to...
-
Briefly explain the impact of diminishing returns on a marginal revenue product curve.
-
Spectra Electronics manufactures five different models of telecommunications interface cards for desktop and laptop PCs. As summarized in Table 1, each of these devices requires differing amounts of...
-
The figure shows six containers, each of which is filled from the top. Assume that water is poured into the containers at a constant rate and each container is filled in 10 seconds. Assume also that...
-
Suppose that U and V are independent random variables, and that each has the standard normal distribution. Show that U/V, U/|V |, and |U|/V each has the t distribution with one degree of freedom.
-
Suppose that three boys A, B, and C are throwing a ball from one to another. Whenever A has the ball, he throws it to B with a probability of 0.2 and to C with a probability of 0.8. Whenever B has...
-
Consider the normal distribution with unknown mean and unknown variance 2, and suppose that it is desired to test the following hypotheses: H0: 0, H1: >0. Suppose that it is possible to observe...
-
The following information has been extracted from the financial statements and the notes of Champigon Ltd. Required (a) Calculate the following for 2023 to one decimal place: i. current ratio ii....
-
Comparative figures from the statement of financial position for Warder Ltd are shown below. Required (a) Prepare common size statements for the company for both years, and comment on what this...
-
The following information has been extracted from the financial statements and notes thereto of Bass and Dide Ltd, consultants. Required (a) Calculate the following ratios for 2025: i. return on...
Study smarter with the SolutionInn App