Question

In: Computer Science

A perceptron with a unipolar step function has two inputs with weights w1= 0.5 and w2=...

A perceptron with a unipolar step function has two inputs with weights w1= 0.5 and w2= -0.2, and a threshold theta=0.3 (theta can therefore be considered as a weight for an extra input which is always set to -1). The perceptron is trained using the learning rule ∆w = η (d − y) x, where x is the input vector, η is the learning rate, w is the weight vector, d is the desired output, and y is the actual output.What are the new values of the weights and threshold after one step of training with the input vector x = [0, 1]^T and desired output 1, using a learning rate η = 0.5?

Solutions

Expert Solution


Related Solutions

QUESTION3 Marks Consider two assets having equal weights in the portfolio (W1 = 0.50; W2 =...
QUESTION3 Marks Consider two assets having equal weights in the portfolio (W1 = 0.50; W2 = 0.50) and each asset has a standard deviation of 0.10. Using the above information, calculate: (a) the covariance of the portfolio for each of the five cases below. (b) the standard deviation of the portfolio for each of the five cases below. (c) Which of these cases guarantees an investor a complete risk-free portfolio? a. r1,2 = 1.00 b. r1,2 = 0.50 c. r1,2...
2) Consider the cost function: C(w1,w2,q)=min{w1,w2}q Derive the production function and the conditional demand functions of...
2) Consider the cost function: C(w1,w2,q)=min{w1,w2}q Derive the production function and the conditional demand functions of the factors of production. 3) A monopolist firm operates in a market where the inverse demand function is given by P (Q) = 24-2Q. The average unit cost of production of the firm is 2. Calculate The price-quantity pair which maximizes the profit of the monopolist and calculate the elasticity of the demand, the profit of the firm and the dry loss of well-being....
A firm’s production function be given by y = x1 + x2 with w1 and w2...
A firm’s production function be given by y = x1 + x2 with w1 and w2 being the price of inputs 1 and 2 respectively. (a) Derive the conditional factor demands. (b) Suppose w1 = 2 and w2 = 1. Find the long-run cost function for this firm. Derive and graph the firm’s long-run supply curve. (c) Suppose the price of x2, w2, increases to $2 per unit. What is the long-run cost curve? Derive and graph the new supply...
Derive the optimal portfolio weights, {w1,w2, w3} for 3-asset case.Hint: Solve the following constraint...
Derive the optimal portfolio weights, {w1, w2, w3} for 3-asset case.Hint: Solve the following constraint optimization problem:        min σ2p = [w21σ21 + w22σ22 + w23σ23] + 2w1w2σ12 + 2w1w3σ13 + 2w2w3σ23      w1,w2,w3                                                       (l) w1E(r˜1) + w2E(r˜2) + w3E(r˜3) = E(r˜p)                        s.t           (g) w1 + w2 + w3=1Derive the optimal portfolio variance, σ*p2
Suppose there are two inputs in the production function, labor and capital, and these two inputs...
Suppose there are two inputs in the production function, labor and capital, and these two inputs are perfect substitutes. The existing technology permits 5 machines to do the work of 2 workers. So the production function is f(E, K) = 2K + 5E. The firm wants to produce q units of output, where q > 0 is some number. Suppose the price of capital is $10 per machine per hour. What combination of inputs will the firm use if the...
Suppose there are two inputs in the production function, labor and capital, and these two inputs...
Suppose there are two inputs in the production function, labor and capital, and these two inputs are perfect substitutes. The existing technology permits 3 machines to do the work of 2 worker. So F(E,K)=2K+3E. The firm wants to produce 60 units of output. Suppose the price of capital is $10 per machine per hour. What combination of inputs will the firm use if the wage rate is $10 or $15 or $20 per hour? What if the firm wants to...
.Suppose that an individual has the following utility function: ?(?, ?) = ? 0.5? 0.5 in...
.Suppose that an individual has the following utility function: ?(?, ?) = ? 0.5? 0.5 in which L is leisure time in hours per day and C is the time for a one-way commuting to work in hours per day. It is also known that leisure time for this individual has opportunity cost of $5 per hour while commuting costs $4 per hour. If you assume that this individual is a rational person who spends 7 hours for sleep and...
java script Define a function named height which has two inputs. This first input is the...
java script Define a function named height which has two inputs. This first input is the number of feet. The second input is the number of inches. Both inputs will be Number values. Your function must calculate and return a Number. he returned value represents number of meters equal to the input. Your function should start by multiplying the first parameter by 0.3048 (1 foot is 0.3048 meters). Then multiply the second input by 0.0254 (1 inch is 0.0254 meters)....
Write a MATLAB function named myaccel that accepts three inputs and has a single output. Inputs:...
Write a MATLAB function named myaccel that accepts three inputs and has a single output. Inputs: a list of time values a list of position values a single time value. Output: a single number which is obtained by numerically differentiating position with respect to time twice (forward difference method) and then interpolating the results based on the third input. Example: time=0:10; position=time.^3; myaccel(time,position,2.8) % should return 22.8
Write a function in Python that adds two Binary Trees together. The inputs of your function...
Write a function in Python that adds two Binary Trees together. The inputs of your function should be two binary trees (or their roots, depending on how you plan on coding this), and the output will be one Binary Tree that is the sum of the two inputted. To add Binary Trees together: Add the values of nodes with the same position in both trees together, this will be the value assigned to the node of the same position in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT