2. In Figure 1 a neural network with three binary inputs (x1, x2, x3), one hidden...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. In Figure 1 a neural network with three binary inputs (x1, x2, x3), one hidden layer with two nodes and one output is given. All activation functions f(x) in the hidden units and the output unit are step functions defined as fn(2)= {1 1, if x 0 otherwise. The network should output the following: if exactly two inputs are active then the output should be 1 otherwise 0. (a) Find weights and biases solving this problem. (b) Produce the matrices W(2) and W (3) which carries all the weights for your answer in a). (6p) (c) Is this a linear problem in the sense that a classifier producing a linear decision boundary could solve the problem? Motivate your answer! Hint: one hidden unit should activate if all inputs are active, and one should activate if two or more are active. Input layer Bias x1 X2 23 Hidden layer Bias Output layer Figure 1: A neural network with one hidden layer consisting of two nodes. Y 2. In Figure 1 a neural network with three binary inputs (x1, x2, x3), one hidden layer with two nodes and one output is given. All activation functions f(x) in the hidden units and the output unit are step functions defined as fn(2)= {1 1, if x 0 otherwise. The network should output the following: if exactly two inputs are active then the output should be 1 otherwise 0. (a) Find weights and biases solving this problem. (b) Produce the matrices W(2) and W (3) which carries all the weights for your answer in a). (6p) (c) Is this a linear problem in the sense that a classifier producing a linear decision boundary could solve the problem? Motivate your answer! Hint: one hidden unit should activate if all inputs are active, and one should activate if two or more are active. Input layer Bias x1 X2 23 Hidden layer Bias Output layer Figure 1: A neural network with one hidden layer consisting of two nodes. Y
Expert Answer:
Related Book For
Artificial Intelligence A Modern Approach
ISBN: 978-0137903955
2nd Edition
Authors: Stuart J. Russell and Peter Norvig
Posted Date:
Students also viewed these programming questions
-
December 1: a new investor, made an investment in Byte by purchasing 2,600 shares of its common stock paying $67,600.00 in cash. The par value of the common stock was $17.00 per share. December 3:...
-
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...
-
The new line character is utilized solely as the last person in each message. On association with the server, a client can possibly (I) question the situation with a client by sending the client's...
-
pthyon Carleton student ID). Add a function named find_diff() to your program that takes a 2-D list of any size containing some positive integers. Your function must find the difference between the...
-
Draw a planar structure for each of the following compounds using dashed or solid wedges to show the stereochemistry of substituent groups (a) trans - 1,3 - dimethylcyclohexane (b) ( I S,2R)- I...
-
Hardin Company's manufacturing overhead account showed a P20,000 underapplied overhead balance on December 31. Other data as of December 31 appear below: Cost of Goods...
-
Match the concept listed in items 1 through 6 with the most appropriate description listed in items a through \(f\). Description Concept 1. Enterprise Resource Planning (ERP) a. system 2. Brands of...
-
The volume of a microbial culture is observed to increase according to the formula V (cm 3 ) = et where t is time is seconds. (a) Calculate the expression for V (in. 3 ) in terms of t(h). (b) Both...
-
(a) A small computer using paged memory has enough RAM to store four 1K pages. A process is using 6K of memory, and accesses the pages in the sequence: 1 23456 After this there are 10 more page...
-
Search for a current event in the Journal of Accountancy and find one that involves accounting misstatements or fraud related to a publicly traded company of your choice. Locate two or three...
-
Paychex Inc. ( PAYX ) recently paid a dividend of $ 0 . 8 0 . The dividend is expected to grow at a 1 4 percent rate. The current stock price is $ 5 9 . 3 1 . What is the return shareholders are...
-
If P(t)= (cost, sint) has coordinates (0.994,0.11), find the coordinates of a. P(t + ) X = b. P(-t) x = c. P(t - ) X = c. P(-t-T) x = y = y = y = y = III
-
Prince Albert Canning PLC had a net loss of 4 6 , 7 3 1 on sales of 1 9 9 , 2 5 2 . a . What was the company's profit margin? b . In dollars, sales were $ 3 1 6 , 4 8 3 . What was the net loss in...
-
The Trial balance figure for Wages is $ 4 , 5 0 0 . At the end of the accounting period the company owes $ 5 0 0 in Wages. What figures would appear in the final accounts?
-
Beginning direct-materials inventory $26,000 Beginning WIP inventory64,000 Beginning finished-goods inventory58,000 Direct materials purchased $148,000 Direct materials requisitioned82,000...
-
You have decided to purchase a new car. You plan to take out a loan to pay for the car. The loan amount is $18,900. You will pay an interest rate of 6.5% and plan to pay off the car in 48 months. You...
-
Comptech Ltd is a manufacturer of optical equipment. In September 2019, Ed Thompson the Chief Research Officer, attended a conference in Switzerland that focused on optical developments for the 21st...
-
Let \(\boldsymbol{X}:=\left[X_{1} \ldots, X_{n} ight]^{\top}\) and \(\boldsymbol{\mu}:=\left[\mu_{1}, \ldots \mu_{n} ight]^{\top}\). In the fundamental Theorem C.9, we use the fact that if \(X_{i}...
-
Prove that if we add an additional feature to the general linear model, then \(R^{2}\), the coefficient of determination, is necessarily non-decreasing in value and hence cannot be used to compare...
-
Carry out a logistic regression analysis on a (partial) wine data set classification problem. The data can be loaded using the following code. The model matrix has three features, including the...
Study smarter with the SolutionInn App