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 we have two sets of prediction for the inflation rate for next year: one from...
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% 7.2%...
(a) Suppose that Marks Man is shooting at a target, where the center of the target...
(a) Suppose that Marks Man is shooting at a target, where the center of the target is at (0, 0) in the plane. Let fX,Y (x, y) be the joint PDF of his shot. Assume that X and Y are independent random variables, each distributed as N (0, 1). What is P(X ≥ 0, Y ≥ 0)? (Write your answer as a decimal). (b) Now suppose Joe Schmo is shooting at the same target, and let fX,Y (x, y) be...
Consider the “index calculation” problem we have studied in the class (see lecture note), where we...
Consider the “index calculation” problem we have studied in the class (see lecture note), where we have a relation of 8,000,000 tuples. Again, make the following assumptions: the size of disk block (also called disk page): it is usually 4K or 8K bytes, to make our calculation easier, we will use 4000 bytes as a block size the size of the search key value: say we index the relation by using an attribute that is part of the primary key,...
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 string like jason-458164888 how do we check if the numbers are vaild where...
suppose we have string like jason-458164888 how do we check if the numbers are vaild where the first number should be 4 and length of 9. use simple program.
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
In regard to society, where we have come from and where we are going? If any...
In regard to society, where we have come from and where we are going? If any person claims to be a member or participant of a society, that person must also observe and analyze what he or she is a part of, and hopefully aim to improve it. Please define (explain in detail) the qualities and characteristics needed for a successful society. Society is both a concept and a living, breathing, changing entity. Explain your subjective view of what makes...
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 _____?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT