Question

In: Physics

Suppose we have a prediction problem in marine shipping where the target ?corresponds to an angle...

Suppose we have a prediction problem in marine shipping where the target ?corresponds to an angle measured in radians. A reasonable loss function in this case could be ?(?,?)∶=1−cos(?−?)

a.)Suppose the true angle is 3?/4. For which predicted values is the loss maximum and for which is it minimum? (Give also the corresponding loss.) Suppose we make predictions with a linear model ?=???+?

b.)Derive gradients of the loss with respect to both ?and ?.

c.)Describe a gradient descent algorithm to train the model on a data set (?(?),?(?)), ?=1, 2, ..., N

Solutions

Expert Solution


Related Solutions

1. Suppose we have two sets of prediction for the inflation rate for next year: one...
1. Suppose we have two sets of prediction for the inflation rate for next year: one from a random sample of Fortune 500 firms and another from a random sample of university economists. At 0.05 level can it be claimed that on the average university educators are predicting a higher inflation rate for next year than the major private businesses? Fortune 500 Firms 4.3% 3.8% 6.0% 4.4% 5.1% 5.6% 4.2% 6.1% 4.5% 4.0% University Economists 4.4% 5.9% 7.0% 5.1% 5.9%...
Suppose you were presented with the following prediction regression equation: Y= 30,000 + 2,000 (X) where...
Suppose you were presented with the following prediction regression equation: Y= 30,000 + 2,000 (X) where the dependent variable is annual salary and the independent variable is years on the job. Interpret the value of the y-intercept (i.e., constant) and the value of the slope. Suppose you were presented with the following prediction regression equation: Yhat = 30,000 + 2,000 (X) where the dependent variable is annual salary and the independent variable is years on the job. If an individual...
Suppose we have an economy where the population is the same every period, Nt = N...
Suppose we have an economy where the population is the same every period, Nt = N and the money supply is increasing by z each period, i.e., Mt = zMt−1. The government uses the money it creates each period to finance a lump-sum subsidy of a ∗ goods to each old person. (a) (10 points) Find the equation for the budget set of an individual in the monetary equilibrium. Graph it. Show an arbitrary indifference curve tangent to the set...
We have been given the history of shipping costs below. You have been asked to calculate...
We have been given the history of shipping costs below. You have been asked to calculate a linear trend line for this data. What is the intermediate solution for the value of b? (Your answer should be an integer) Week Costs 1 466965 2 433500 3 548436 4 557338
Suppose we have a perfectly competitive market where at the equilibrium price the total market demand...
Suppose we have a perfectly competitive market where at the equilibrium price the total market demand is 300 units. Each individual firm in the market has a cost function C(Q) = 50 -2Q + 0.4Q^2. The number of firms this market can support in the long run is _____?
Suppose we have the following vectorial equation c = na x b where n is a...
Suppose we have the following vectorial equation c = na x b where n is a constant, and c, a, b are vectors Givens n = -1 a = 2i – j a) Determine the direction and size of the vector c if b = 2i b) Determine the direction and size of the vector c if b = 2k c) Determine the direction and size of the vector c if b = 2i – k I really need the...
We have an illness, where 2% of the polulation is infected, and we have a test...
We have an illness, where 2% of the polulation is infected, and we have a test with sensitivity 94% and specificity 98%. A="infected" and B="tests positive" Question: 20 people gets tested, and all tests negative. What is the probability that atleast one of these 20 really are infected?
Suppose you have three polarizing filters, with the second at an angle of 41° to the...
Suppose you have three polarizing filters, with the second at an angle of 41° to the first and the third at an angle of 90° to the first. θ1 = 41° By what percent will the original intensity of unpolarized light be reduced to after passing through all three filters?
Suppose we live in a monocentric city where streetcars have replaced horse carts. However, the streetcars...
Suppose we live in a monocentric city where streetcars have replaced horse carts. However, the streetcars have begun to break down and slowed in their reliability and speed. Compared to fully functioning streetcars, we expect that Select one: a. residents will outbid agricultural users further from the city center b. residential areas will grow c. city wages will increase d. land rent at the city center will increase
Suppose we have a sequential ordered file of 200,000 records, where each record is 200 bytes....
Suppose we have a sequential ordered file of 200,000 records, where each record is 200 bytes. Assume blocksize = 2048 bytes (10 records per block), average seek time = 10 ms, average rotational delay = 8.3 ms, and block transfer time = 0.8 ms. Suppose we want to make X independent random record reads from the file. This could be done in two different approaches. read the entire file once and look for the X records of interest use a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT