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 No a perceptron trained using the perceptron training rule will not be able to perfectly classify ... 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...
-
What is the logistics strategy of firms such as Amazon, Target, or Best Buy?
-
Briefly describe the three bases for measuring current value.
-
To test the null hypothesis that the difference between two population proportions equals some constant \(\delta_{0}\), not necessarily 0 , we can use the statistic which, for large samples, is a...
-
Momence Associates is evaluating the performance of three divisions: Maple, Oaks, and Juniper. Using the following data, compute the return on investment and residual income for each division,...
-
Read the following article, A Day in the Life of a PreK Teacher . Share your thoughts about how this way of life each day will suit you well in your strengths as a teacher and where you anticipate...
-
The A-36 steel wires AB and AD each have a diameter of 2 mm and the unloaded lengths of each wire are LAC = 1.60 m and LAB = LAD = 2.00 m. Determine the required diameter of wire AC so that each wire...
-
A diprotic acid, H2A, has acid dissociation constants of Ka1-3.13x10^-4 and Ka2-5.64x10^-11. Calculate the pH and molar concentrations of H2A, HA-, and A2- at equilibrium for each of the solutions....
-
Several car mechanics at Firestone had their tools stolen by vandals overnight. The mechanics sued Firestone for a breach of their Bailment agreement. Firestone claims there was never a Bailment...
-
Case study John and Laura had purchased their first home for $600,000. They approached the bank for a mortgage they required a down payment. Two friends Larry and Kerry came forward and offered to...
-
The Mad Beach Pub is a small casual restaurant located in YOUR STATE.The business is privately owned and currently has 4 full time employees and 15 part time employees. Mandie, a 46 year old...
-
Watch the following two video clips, after work in groups to answer the following questions. 1.Apply social identity theory and self-concept to explain Mitch's perception of himself as a doctor....
-
A religious accommodation claim is different from a disparate treatment claim. An individual alleging denial of religious accommodation is seeking an adjustment of a neutral work rule that infringes...
-
Question 1 (1 point) Find the following article: Zhang, Roberts, & Teoh (2018). Children's recall and source monitoring of a repeated event using a timeline as an interview aid. Applied Cognitive...
-
The cash records of Holly Company show the following four situations. 1. The June 30 bank reconciliation indicated that deposits in transit total $720. During July, the general ledger account Cash...
-
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..................$__________...
-
If a random variable has a normal distribution, what are the probabilities that it will take on a value within (a) 1 standard deviation of the mean; (b) 2 standard deviations of the mean; (c) 3...
-
Verify that (a) \(z_{0.005}=2.575\); (b) \(z_{0.025}=1.96\).
-
Given a random variable having the normal distribution with \(\mu=16.2\) and \(\sigma^{2}=1.5625\), find the probabilities that it will take on a value (a) greater than 16.8 ; (b) less than 14.9; (c)...
Study smarter with the SolutionInn App