Find the best hypothesis that a p proximates f

Assignment Help Electrical Engineering
Reference no: EM131293388

Consider the learning problem in Example, where the input space is X = [-1, +1], the target function is f(x) = sin(πx) , and the input probability distribution is uniform on X. Assume that the training set V has only two data points (picked independently), and that the learning algorithm picks the hypothesis that minimizes the in sample mean squared error. In this problem, we will dig deeper into this case.

For each of the following learning models, find (analytically or numerically)

(i) the best hypothesis that a p proximates f in the mean squared error sense (assume that f is known for this part),

(ii) the expected value (with respect to D) of the hypothesis that the learning algorithm produces, and

(iii) the expected out of sample error and its bias and var com ponents.

(a) The learning model consists of all hypotheses of the form h(x) = ax + b (if you need to deal with the infinitesimal probability case of two identical data points, choose the hypothesis tangential to f).

(b) The learning model consists of all hypotheses of the form h(x) = ax. This case was not covered in Example.

(c) The learning model consists of all hypotheses of the form h(x) = b.

Example
Consider a target function f(x) = sin(nx) and a data set of size N = 2. We sample x uniformly in [-1, 1) to generate a data set (x1, Y1), (x2, Y2); and fit the data using one of two models:

H0: Set of all lines of the form h(x) = b;
H1: Set of all lines of the form h(x) = ax + b.

736_Figure 1.jpg

Reference no: EM131293388

Questions Cloud

What sample size do you need : For an H with dvc = 10, what sample size do you need (as prescri bed by the general ization bound) to have a 95% confidence that your generalization error i s a t most 0.05?
Charging the optimal price for the product : Suppose a firm has a constant marginal cost of $12. The current price is $25 and at that price it is estimated that the price elasticity of demand is -4.0. a. Is the firm charging the optimal price for the product? Why?
Is there a moral problem presented in the scenario : Is there a moral problem presented in the scenario? If so, what is it?Does policy or law dictate an appropriate response, or does it require that professional discretion be applied?What criteria (considerations), principles, and consequences should g..
Evaluate influence that corporate social responsibility has : Identify the potential ethical implications associated with this decision. Discuss the application of critical thinking to corporate social responsibility. Evaluate the influence that corporate social responsibility has on the organization.
Find the best hypothesis that a p proximates f : For each of the following learning models, find the best hypothesis that a p proximates f in the mean squared error sense.
Write a paper about world meteorological organization : Write a paper about World Meteorological Organization and also Expalin in detail.
What do you believe is the single most influential force : What do you believe is the single most influential force in today's society that sets the tone for an individual's personal values and why? Does this force affect Christians positively or negatively?
Briefly explain the role of the pre-processor : Briefly explain the role of the pre-processor in the compilation of a program - What does the -D in the following command do and why would we want to use it? g++ -D DEBUG sourceFile.cpp
Board of governors of the federal reserve website : Visit the Board of Governors of the Federal Reserve website and read the latest Federal Open Market Committee (FOMC) statement which discusses the current type of monetary policy which the Federal Reserve is implementing:

Reviews

Write a Review

Electrical Engineering Questions & Answers

  The macro-environment facing companies today

What are the most important forces in the macro-environment facing companies today?

  Generate an m-pam gray coding using matlab

Generate an M-PAM gray coding using MATLAB: M=2^m, where m=log2(M) and m=number of bits/number of symbols

  Illustrates the gaussian probability density

Give me the graphs that illustrates the Gaussian probability density and the corresponding cumulative probability function.

  How to design a proportional control law

where V is given in meters per second, U is in degrees, and W is the percent grade of the road. Design a proportional control law U = -kp V that will maintain a velocity error of less than 1 m/sec in the presence of a constant 2% grade.

  Determine the transition point of the driver transistor

Consider the NMOS inverter with saturated load in given Figure (a). - Determine the transition point of the driver transistor.

  Design an 8 bit twos complement generator

Design an 8 bit twos complement generator

  Determine what is the order of the system

Compute y(nT) iteratively for n=0, 1, 2, when, y(-T)=2, and x(nT) = u(n) Hint: the initial conditions are given for negative n. Shift the equation to the right to express x() and y() to eliminate all advances and end up with x(n), y(n)

  Find the speed of the block after it has slid 190 m

The magnitude of the acceleration of the block is 1.93 m/s^2 (a) Find the coefficient of kinetic friction between block and plane? I got 0.393 but it is wrong. (b) Find the speed of the block after it has slid 1.90 m

  What is the allowable signal swing at the collector

Using a 3-V power supply, design a version of the circuit of fig 6.62 from the book. to provide a dc emitter current of 0.5 mA and to allow a +-1-V signal swing at the collector. The BJT has a nominal B=100. Use standard 5 % resistor values

  Determine the current i2 using branch current analysis

For the networks of given figure, determine the current I2 using branch-current analysis, and then find the voltage Vab.

  Convert the twos compliment numbers to decimal

Convert the following Two's Compliment numbers to decimal: 1) 0101 1110 10112C 2) 1001 1111 10002C 3) 1111 1111 11112C 4) -1001 0110 10012C  5) 1010 1010 10102C 6) 1000 0000 00002C

  What is the thevenin impedance seen by 600ohm load resistor

An AC circuit design for balancing a load in AC circuits. The only power supply availablehas an internal resistance of 75Ω. The load has a resistanceof 600Ω. You want to deliver the maximum power possible tothe load by properly selecting X1 and X2..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd