Home › Claude › aifoundations › linear_regression_and_supervised_learning › Logistic regression uses which hypothesis functi…
Logistic regression uses which hypothesis function?
Ah_θ(x) = θᵀx
Bh_θ(x) = 1 / (1 + exp(−θᵀx)) (the sigmoid)
Ch_θ(x) = max(0, θᵀx)
Dh_θ(x) = sign(θᵀx)
Answer & Solution
Correct answer: B. h_θ(x) = 1 / (1 + exp(−θᵀx)) (the sigmoid)
Logistic regression uses the sigmoid σ(z) = 1/(1+e^(-z)) to map θᵀx into (0,1), interpretable as P(y=1 | x). ReLU and sign are not used for binary logistic 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 beThe 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 isThe LMS (Widrow–Hoff) update rule on a single training example is