In this problem, you will use the Perceptron training rule to learn a separating line for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In this problem, you will use the Perceptron training rule to learn a separating line for the following six data points: I1 1 اند ** 3 -3 3 ده ام OLA 0 X2 ا انت ان ان ان 6 3 2 -5 -2 5 class -1 -1 +1 -1 +1 +1 Assume that we have two features 21 and 22 and we initialize the weights to w₁w₂ = 0. Let f(x) be given by the following function f(x) = sgn(w₁1+ w2r2 + woro) where to is the bias term. (a) [5 points] Assume that the bias term (woro) is always equal to 0. Can a perceptron trained using perceptron training rule be able to perfectly classify this data? Yes or No? Explain your answer. (Hint: Plot the points) (b) 5 points] Consider adding a new data point: = (0.5, 0). Assume that the Perceptron algorithm will not be given the class label of a until it has started training. Can a percep- tron trained using perceptron training rule be able to perfectly classify this data (assuming that the bias term to=0)? Yes or No? Explain your answer. (Hint: Plot the points) XI X2 (c) Here is a simple 2-layer neural network with 2 hidden units and a single output unit. Consider the linear activation function y = C-E, wir, where C is a constant multiplied by a which is the weighted sum of its inputs. Also, consider the non-linear logistic activation function y = o(a) where, o(a): = will w10 w12 W22 NI VI w20 N2 V2 WO W2 N3 1 1+e-a Y i. [2 points] Can this 2-layer network represent decision boundaries that a standard linear model cannot? (Assume all units use the linear activation function.) Explain your answer. ii. [2 points] Now, assume the hidden units use the logistic activation function and the output unit still uses a linear activation function. Now, can this neural network repre- sent non-linear decision boundaries? Explain your answer. In this problem, you will use the Perceptron training rule to learn a separating line for the following six data points: I1 1 اند ** 3 -3 3 ده ام OLA 0 X2 ا انت ان ان ان 6 3 2 -5 -2 5 class -1 -1 +1 -1 +1 +1 Assume that we have two features 21 and 22 and we initialize the weights to w₁w₂ = 0. Let f(x) be given by the following function f(x) = sgn(w₁1+ w2r2 + woro) where to is the bias term. (a) [5 points] Assume that the bias term (woro) is always equal to 0. Can a perceptron trained using perceptron training rule be able to perfectly classify this data? Yes or No? Explain your answer. (Hint: Plot the points) (b) 5 points] Consider adding a new data point: = (0.5, 0). Assume that the Perceptron algorithm will not be given the class label of a until it has started training. Can a percep- tron trained using perceptron training rule be able to perfectly classify this data (assuming that the bias term to=0)? Yes or No? Explain your answer. (Hint: Plot the points) XI X2 (c) Here is a simple 2-layer neural network with 2 hidden units and a single output unit. Consider the linear activation function y = C-E, wir, where C is a constant multiplied by a which is the weighted sum of its inputs. Also, consider the non-linear logistic activation function y = o(a) where, o(a): = will w10 w12 W22 NI VI w20 N2 V2 WO W2 N3 1 1+e-a Y i. [2 points] Can this 2-layer network represent decision boundaries that a standard linear model cannot? (Assume all units use the linear activation function.) Explain your answer. ii. [2 points] Now, assume the hidden units use the logistic activation function and the output unit still uses a linear activation function. Now, can this neural network repre- sent non-linear decision boundaries? Explain your answer.
Expert Answer:
Answer rating: 100% (QA)
a In order to determine if a perceptron trained using the perceptron training rule can perfectly classify the given data points with a bias term w000 ... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
1. Consider the matrix 219 -1 C Co 128 4 0 5 87 Answer the following questions: (a) What is the dimension of the matrix (in form of mxn)? (b) What is A2,3 and A3,2? (c) What is AT? (d) If XA = [1 -1...
-
In the following exercises, you will use the data in the TAL Distributors database shown in Figure 2-1 in Chapter 2. (If you use a computer to complete these exercises, use a copy of the original TAL...
-
How Queuing Theory differs in philosophy with respect to Game Theory? Explain.
-
The condensed financial statements of Soule SpA for the years 2016 and 2017 are presented as follows. SOULE SpA Statements of Financial Position December 31 SOULE SpA Income Statements For the Years...
-
The following income statement applies to Kawai Company for the current year: Income Statement Sales revenue (200 units $60).................................................$12,000 Variable cost...
-
9. Barry Minkow founded ZZZZ Best, a publicly traded carpet cleaning company. The company had a $5 million line of credit from Prudential Bache. Sheri Elowsky
-
Link Engineering Consultants is a firm of professional civil engineers. It mostly has surveying jobs for the heavy-construction industry throughout Western Canada. The firm obtains its jobs by giving...
-
The financial statements at the end of Miramar, Inc.'s first month of operation are shown below. By analyzing the interrelationships among the financial statements, fill in the proper amounts for (a)...
-
Question 3 (5 marks) Vivian West commenced a dental practice on 1 January 2022. During the first month of operations the following transactions occurred: Performed services for patients and, at 31...
-
The controller at Wesson Companys manufacturing plant has provided you with the following information for the first quarters operations: Required Determine each of the following unit costs: a....
-
A 3 , 6 0 0 revolutions per minute, 1 0 0 horsepower has full load speed of 3 , 5 5 0 revolutions per min. Under load its speed is measured to be 3 , 5 7 0 revolutions per minute. What is the actual...
-
Soundbar Enterprises is a manufacturer of soundbars. The firm has two production departments: Speakers and Assembly. The Speaker department can sell speakers to external customers for $80 per unit....
-
7. Method Name: dayActivity Parameters: one parameter, day Return value: none Purpose: This function accepts one parameter named day. It will use a switch statement to test if the day is one of...
-
Equipment acquired on January 6 at a cost of $358,800, has an estimated useful life of 10 years and an estimated residual value of $46,800. a. What was the annual amount of depreciation for the Years...
-
How can the principles of process technology be effectively applied in a management context to optimize productivity and efficiency in a manufacturing plant?
-
On May 31, the following data were accumulated to assist the accountant in preparing the adjusting entries for Oceanside Realty: Fees accrued but unbilled at May 31 are $14,460. The supplies account...
-
You have just been hired by FAB Corporation, the manufacturer of a revolutionary new garage door opening device. The president has asked that you review the company's costing system and "do what you...
-
On August 31, 2012, the balances of the accounts appearing in the ledger of Wood Interiors Company, a furniture wholesaler, are as follows:Prepare the August 31, 2012, closing entries for Wood...
-
Larry Gaines, age 42, sells his personal residence on November 12, 2012, for $144,000. He lived in the house for 7 years. The expenses of the sale are $10,500, and he has made capital improvements of...
-
Clarita is a single taxpayer with two dependent children, ages 10 and 12. Clarita pays $3,000 in qualified child care expenses during the year. If her adjusted gross income (all from wages) for the...
-
Yolanda earns $112,000 in 2012. Calculate the FICA tax that must be paid by: Yolanda:.....................Soc.Sec..................$__________...
-
Griffin Metals Co. has provided the following data: The selling price is expected to be \($300\) per tonne for the first six months and \($310\) per tonne thereafter. Variable costs per tonne are...
-
Highjinks Corporation's sales department has estimated revenue of 250,000 for your division. 60% of this will be achieved in the first half-year and 40% in the remaining half-year. Variable operating...
-
The total cost of goods sold for June is a. $103,500 b. $128,800 c. 57,500 d. $232,300
Study smarter with the SolutionInn App