Home › Claude › aifoundations › linear_regression_and_supervised_learning › Linear regression assumes the hypothesis functio…
Linear regression assumes the hypothesis function h_θ(x) takes the form
Ah_θ(x) = θ⁰ · 2^x
Bh_θ(x) = θᵀx (with x₀ = 1 to absorb the intercept)
Ch_θ(x) = sin(θᵀx)
Dh_θ(x) = 1 / (1 + exp(−θᵀx))
Answer & Solution
Correct answer: B. h_θ(x) = θᵀx (with x₀ = 1 to absorb the intercept)
h(x) = θᵀx with x₀ = 1 convention. Option D is the LOGISTIC sigmoid (used for logistic regression), not linear regression.
Related questions
The resulting per-example log-likelihood is, up to constantsWhy is STOCHASTIC gradient descent often preferred over BATCH gradient descent on very larClosed-form normal equations require XᵀX to beLogistic regression uses which hypothesis function?The PROBABILISTIC justification for the least-squares cost assumes the noise ε⁽ⁱ⁾ in y⁽ⁱ⁾ Why is the least-squares optimisation for LINEAR regression guaranteed to converge to the The design matrix X for n training examples with d features (plus intercept) has shapeThe closed-form 'normal equations' solution for least-squares linear regression is