2.1 Minimizing a quadratic function and the curse of dimensionality Consider the simple quadratic function g(w)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2.1 Minimizing a quadratic function and the curse of dimensionality Consider the simple quadratic function g(w) = ww (2.33) whose minimum is always at the origin regardless of the input dimension N. (a) Create a range of these quadratics for input dimension N = 1 to N = 100, sample the input space of each P = 100 times uniformly on the hypercube [1,1]x[1,1]xx [-1, 1] (this hypercube has N sides), and plot the minimum value attained for each quadratic against the input dimension N. (b) Repeat part (a) using P = 100, P = 1000, and P = 10,000 samples, and plot all three curves in the same figure. What sort of trend can you see in this plot as N and P increase? (c) Repeat parts (a) and (b), this time replacing uniformly chosen samples with randomly selected ones. 2.1 Minimizing a quadratic function and the curse of dimensionality Consider the simple quadratic function g(w) = ww (2.33) whose minimum is always at the origin regardless of the input dimension N. (a) Create a range of these quadratics for input dimension N = 1 to N = 100, sample the input space of each P = 100 times uniformly on the hypercube [1,1]x[1,1]xx [-1, 1] (this hypercube has N sides), and plot the minimum value attained for each quadratic against the input dimension N. (b) Repeat part (a) using P = 100, P = 1000, and P = 10,000 samples, and plot all three curves in the same figure. What sort of trend can you see in this plot as N and P increase? (c) Repeat parts (a) and (b), this time replacing uniformly chosen samples with randomly selected ones.
Expert Answer:
Related Book For
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba
Posted Date:
Students also viewed these programming questions
-
Let f(x)= (1 - x if x 0 2x 1 if x < 0 - a) Find the following limits, if they exist. [6] i) lim f(x) x-0+ ii) lim f(x) x-0- b) Sketch the graph of f (x). Label properly. [4] Priva
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The Come-On-In company produces two types of entrance doors: Standard and Deluxe.The allocation base for indirect manufacturing costs has been direct labor hours.For 2016, the company completed the...
-
Locate the centroid of the solid dz = a (a-) 2a
-
Assume the following data for 136,000 units of a product that Water Source Company expects to produce and sell during the current year: Manufacturing costs: Direct materials $1,471,000 Direct labor...
-
Suppose there is a stock and a bond governed by the equations It is desired to construct a portfolio of these two securities that gives the maximum expected \(\log\) of return. However, although...
-
Adger Corporation is a service company that measures its output based on the number of customers served. The company provided the following fixed and variable cost estimates that it uses for...
-
A firm is considering purchasing a new seed-counting machine. The machine will cost $67,000 and will have a 2-year service life. The selling price of the machine at the end of 2 years is expected to...
-
Questions : How can you provide Acme with more space in their facility to accommodate growth in the short term? 2. From an operational aspect how can Acme overcome the issues of lost online sales to...
-
On January 1, 2012, Prim Valley Resorts acquired 70 percent interest in Silverstem Casinos for $592 million in cash and stock. $580 million $233 million $100 million Book Value of Silverstem Casinos...
-
At the end of 2015, Wasicsko Company has 180,000 of cumulative temporary differences that will result in reporting future taxable amounts as follows. Tax rates enacted as of the beginning of 2014...
-
On January 2, 2015, Adani Inc. sells goods (cost R\($6\),000) to Geo Company in exchange for a zero-interest-bearing note with face value of R\($11\),000, with payment due in 12 months. The fair...
-
Gingrich Importers provides the following pension plan information. Instructions (a) From the data above, compute the actual return on the plan assets for 2015. (b) Compute asset gain or loss, and...
-
At December 31, 2015, Redmond Company has outstanding three long-term debt issues. The first is a \($2\),000,000 note payable which matures June 30, 2018. The second is a \($6\),000,000 bond issue...
-
Assume the same information as in E19-14 for Callaway Corp. Instructions (a) Record income tax expense, deferred income taxes, and income taxes payable for 2015, assuming that it is probable that...
-
DESIGH A FLOWCHART IN FLOWGORITHM Speeding Violation Calculator. Design a program that calculates and displays the number of miles per hour over the speed limit that a speeding driver was doing. The...
-
A random sample of 10 houses heated with natural gas in a particular area, is selected, and the amount of gas (in therms) used during the month of January is determined for each house. The resulting...
-
In upcoming chapters, we will often assume that the average cost curve is U-shaped. A: Indicate for each statement below whether you believe that the description of the firms situation would lead to...
-
In this exercise we review some basics of attitudes toward risk when tastes are state-independent and, in part B, we also verify some of the numbers that appear in the graphs of part A of the chapter...
-
In Gamble 1 you have a 99% chance of winning a trip to Venice and a 1% chance of winning tickets to a movie about Venice; and in Gamble 2, you have a 99% of winning the same trip to Venice and a 1%...
-
Suppose a bond is taxable for both federal and state purposes. Let Rb = the BTROR on the bond, tfed = the federal tax rate, and tst = the state tax rate. Determine the ATROR (i.e., after federal and...
-
Under what conditions are the Exempt Model and Pension Model equivalent? Under what conditions would one model perform better than the other? How does the \($6,500\) limitation on deductible and Roth...
-
Harry wants to contribute either \($6,500\) (BT\($)\) to a traditional deductible IRA or \($6,500\) (AT\($)\) to a Roth IRA. His current tax rate is 30% for ordinary income and 15% for capital gains....
Study smarter with the SolutionInn App