Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Suppose we develop a linear stock model of the ABC toy company to predict tomorr

ID: 3153135 • Letter: S

Question

Suppose we develop a linear stock model of the ABC toy company to predict tomorrow’s future price of a stock: wT x = 30 + 2x1 3x2.

a. If the current price of the stock is $60, specify a perceptron model which returns a 1 when the stock is predicted to go up or remain unchanged and returns a 0 when the stock is predicted to go down.

b. What value will the perceptron model predict when x1 = 20, x2 = 2? When x1 = 15, x2 = 3?

c. With the perceptron model, update the weights when we have the training observation: y = 1, x1 = 20, x2 = 2 with = 0.1 and the perceptron learning rule: wj := wj + wj wj = (y(i) yˆ(i))x(i).

d. Repeat part c with the training observation: y = 1, x1 = 15, x2 = 3. (5 points)

Explanation / Answer

a)

x = 30 + 2*1 - 3 *0 = 32

b)

wT = 30 + 2*20 - 3*2 = 64

wT = 30 + 15*2 - 2*2 = 56

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote