[SOLVED] CMPUT466- Assignment 5

20.90 $

Category:

Description

Rate this product

Problem 1.

Consider the training objectiveHow would the hypothesis class capacity, overfitting/underfittting, and bias/variance vary𝐽 = ||𝑋𝑀 βˆ’ 𝑑||2 subject to ||𝑀||2 ≀ 𝐢 for some constant 𝐢.

according to 𝐢?

  Larger Smaller
Model capacity (large/small?) _____ 𝐢 _____   𝐢
Overfitting/Underfitting? __fitting __fitting
Bias variance (how/low?) __ bias / __ variance __ bias / __ variance

Note: No proof is needed Problem 2.

𝑑(π‘š) ∼ 𝑁(𝑀π‘₯(π‘š), Οƒ

𝑀Consider a one-dimensional linear regression model∼ 𝑁(0, Οƒ 2). Show that the posterior of 𝑀 is also a Gaussian distribution, i.e.,Ο΅2) with a Gaussian prior

𝑀|π‘₯(1), 𝑑(1), 𝑀 Β·Β·Β·, π‘₯(𝑀), 𝑑(𝑀) ∼ 𝑁(Β΅π‘π‘œπ‘ π‘‘, Οƒπ‘π‘œπ‘ π‘‘2). Give the formulas for Β΅π‘π‘œπ‘ π‘‘, Οƒπ‘π‘œπ‘ π‘‘2.

Note: If a prior has the same formula (but typically with different parameters) as the posterior, itHint: Work with 𝑃(𝑀|𝐷) ∝ 𝑃(𝑀)𝑃(𝐷|𝑀). Do not handle the normalizing term.

is known as a conjugate prior. The above conjugacy also applies to multi-dimensional Gaussian, but the formulas for the mean vector and the covariance matrix will be more complicated.

Problem 3.

equivalent toGive the prior distribution of𝑙1-penalized mean square loss.𝑀 for linear regression, such that the max a posteriori estimation is